Commit Graph

5161 Commits

Author SHA1 Message Date
Takeshi KOMIYA
255b4aee05 Fix #8933: viewcode: Failed to create back-links on parallel build
On parallel build mode, viewcode losts the back-links information on
gathering results from each process.  As a result, some back-links are
missing in the generated viewcode pages.

This fixes the merging back-links process for parallel builds.
2021-02-26 02:02:09 +09:00
Takeshi KOMIYA
6d91db3b9e Merge pull request #8927 from tk0miya/8924_TypeVar_bound
Close #8924: autodoc: Support `bound` argument for TypeVar
2021-02-26 02:00:40 +09:00
Takeshi KOMIYA
4f072ee5c2 Fix #8917: autodoc: Raises a warning if function has wrong __globals__ value
`sphinx.util.inspect:signature()` crashes with AttributeError when
subject has wrong `__globals__` value.  This ignores the error on
building.
2021-02-26 01:59:24 +09:00
Takeshi KOMIYA
4392557943 Merge pull request #8920 from tk0miya/8915_i18n_for_sphinx_rtd_theme
Fix #8915: html theme: The translation of sphinx_rtd_theme does not work
2021-02-26 01:57:40 +09:00
jfbu
c9a1a9bb4f Gather LaTeX items in CHANGES for 4.0.0 2021-02-24 19:01:34 +01:00
jfbu
40b145c7dc Update CHANGES 2021-02-24 18:52:04 +01:00
Jakob Lykke Andersen
17337a3257 C, properly error on keywords as function parameters 2021-02-24 15:59:54 +01:00
Takeshi KOMIYA
a39cf57717 Close #8924: autodoc: Support bound argument for TypeVar 2021-02-24 22:51:06 +09:00
Takeshi KOMIYA
ad3edd924c Fix #8915: html theme: The translation of sphinx_rtd_theme does not work
Since sphinx_rtd_theme-0.5.0, it supports translations.  But Sphinx core
disallows to enable it because theming framework gives special treatment
for the theme for a long time.

This goes to load it via setuptools at first to enable the translations.

Note: The special treatment for sphinx_rtd_theme (< 0.2.5) is not
removed yet.  But it will be removed in the future release.
2021-02-23 21:14:43 +09:00
Jakob Lykke Andersen
95a872e745 C++, cpp_index_common_prefix remove longest
Fixes sphinx-doc/sphinx#8911
2021-02-19 14:24:33 +01:00
jfbu
ddef4950ee LaTeX: let bookmarks use high default depth
Add bookmarksdepth key to latex_elements['sphinxsetup']
2021-02-18 13:11:28 +01:00
Takeshi KOMIYA
f9ca909ea0 Merge branch '3.x' 2021-02-17 00:16:32 +09:00
Takeshi KOMIYA
97de316a02 Bump version 2021-02-16 23:36:48 +09:00
Takeshi KOMIYA
baed519b90 Bump to 3.5.1 final 2021-02-16 23:35:32 +09:00
Takeshi KOMIYA
e2bef2d1d2 Merge pull request #8896 from tk0miya/8883_AttributeError_assigning_annotations
Fix #8883: autodoc: AttributeError on assigning __annotations__
2021-02-16 20:38:12 +09:00
Takeshi KOMIYA
82501a6f6f Fix #8885: html: AttributeError for CSS/JS files on html_context
Since 3.5.0, priority has been added to control CSS/JS files.  But it's
not working if projects installs custom CSS/JS files via `html_context`
instead of `html_css_files` and `html_js_files`.  This avoids the crash
to keep it "not broken".
2021-02-16 01:55:08 +09:00
Takeshi KOMIYA
b29ee3ded0 Fix #8883: autodoc: AttributeError on assigning __annotations__ 2021-02-16 01:35:29 +09:00
Takeshi KOMIYA
633c5ad9c6 Update CHANGES for PR #8888 2021-02-15 23:22:49 +09:00
Takeshi KOMIYA
f993f76998 Update CHANGES for PR #8886 2021-02-15 22:58:17 +09:00
Takeshi KOMIYA
dd16dd3a4f Merge branch '3.x' 2021-02-14 17:02:52 +09:00
Takeshi KOMIYA
c60cc0c178 Bump version 2021-02-14 17:01:23 +09:00
Takeshi KOMIYA
32dad69a4f Bump to 3.5.0 final 2021-02-14 16:48:00 +09:00
Takeshi KOMIYA
299fb6aba4 Merge branch '3.x' 2021-02-14 15:54:55 +09:00
Takeshi KOMIYA
ae16211823 Update CHANGES for PR #8867 2021-02-14 15:54:29 +09:00
jfbu
473718c4d4 LaTeX, better workaround for a Pygments <= 2.7.4 line spacing issue
Closes: #8874

Relates #4249
2021-02-13 09:50:21 +01:00
jfbu
62401ef1ec Merge branch '3.x' 2021-02-12 21:27:17 +01:00
Jakob Lykke Andersen
a7fcc15683 C++, add noroot option to alias directive 2021-02-12 17:25:12 +01:00
Jakob Lykke Andersen
06a956200b C, add noroot option to alias directive 2021-02-12 17:25:12 +01:00
Jakob Lykke Andersen
d0a4d0147e C++, add recursiveness to alias
Fixes sphinx-doc/sphinx#8213 in the most basic way.
2021-02-12 17:25:12 +01:00
Jakob Lykke Andersen
de1cd95a75 C, fixes for alias directive 2021-02-12 17:25:12 +01:00
Takeshi KOMIYA
def6f13d8d Merge branch '3.x' 2021-02-13 01:01:30 +09:00
Takeshi KOMIYA
13d475aa73 Merge pull request #8866 from tk0miya/8865_IndexInSectionTitleTransform
LaTeX: Restructure the index nodes inside title nodes only on LaTeX builds
2021-02-13 00:46:52 +09:00
Takeshi KOMIYA
5c223d20d6 refactor: linkcheck: Separate thread manager feature from builder class
To reduce the complexity of the linkcheck builder, this separates
the thread manager feature from the builder class as
HyperlinkAvailabilityChecker.
2021-02-12 23:19:01 +09:00
Takeshi KOMIYA
30bc4d450a Update CHANGES for PR #8868 2021-02-11 22:28:38 +09:00
Takeshi KOMIYA
9411051131 LaTeX: Restructure the index nodes inside title nodes only on LaTeX builds
refs: #8865
2021-02-11 00:36:08 +09:00
Takeshi KOMIYA
674831cf10 Update CHANGES for PR #8865 2021-02-11 00:33:25 +09:00
jfbu
b9c53c8ca6 Merge branch '3.x' into merge_3.x_into_master
Resolved Conflicts:
	sphinx/texinputs/sphinx.sty

Some hunks needed to go to sphinx/texinputs/sphinxlatexliterals.py,
others already belonged to split files.
2021-02-09 19:03:38 +01:00
jfbu
0c89c85a39 Merge branch '3.x' into latex_hyperlinked_caption_footnotes_on_3.x 2021-02-09 16:39:55 +01:00
Jean-François B
1c08467040 Merge pull request #8851 from jfbu/latex_enhance_docs_about_index
LaTeX: improve docs of 'printindex' and 'makeindex'
2021-02-09 16:16:26 +01:00
Jean-François B
86ea2a93e0 Merge pull request #8854 from jfbu/latex_longstringsincodeblocks
LaTeX: optionally apply a second forceful wrapping of long code lines
2021-02-09 16:14:48 +01:00
jfbu
035d13fd24 Update CHANGES and docs relative to new verbatimforcewraps 2021-02-09 15:47:15 +01:00
Takeshi KOMIYA
208f549b8a Merge branch '3.x' 2021-02-09 22:43:14 +09:00
Takeshi KOMIYA
71df21dd4f Update CHANGES for PR #8853 2021-02-09 22:19:05 +09:00
jfbu
702545da1c LaTeX: optionally apply a second forceful wrapping of long code lines
Closes #8849
2021-02-08 23:13:46 +01:00
jfbu
a984f5f7cc LaTeX: improve docs of 'printindex' and 'makeindex'
Closes #8055
2021-02-08 14:59:20 +01:00
Takeshi KOMIYA
84458da828 Merge branch '3.x' 2021-02-07 17:01:09 +09:00
Takeshi KOMIYA
899ccfd40e refactor: linkcheck: Deprecate attributes of linkcheck builders
Move anchors_ignore, auth and to_ignore to
HyperlinkAvailabilityCheckWorker and become deprecated.
2021-02-07 02:39:35 +09:00
jfbu
9c823478e0 Update CHANGES 2021-02-05 20:39:32 +01:00
jfbu
eb91fd292f Update CHANGES 2021-02-05 16:49:41 +01:00
jfbu
87fa272763 Merge branch '3.x' into merge_3.x_into_master
Resolved Conflicts:
	sphinx/texinputs/sphinxpackagefootnote.sty
2021-02-04 16:31:45 +01:00