Commit Graph

17069 Commits

Author SHA1 Message Date
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
Takeshi KOMIYA
faa71ee26d Merge branch '3.x' 2021-02-17 22:21:07 +09:00
Takeshi KOMIYA
f8878bb0b6
Merge pull request #8900 from tk0miya/8881_build_pdf
doc: Build PDF document on readthedocs
2021-02-17 22:18:20 +09:00
Takeshi KOMIYA
5dd4314374 doc: Build PDF document on readthedocs 2021-02-17 00:32:47 +09:00
Takeshi KOMIYA
bbdbbf3d37
Merge pull request #8899 from mcmtroffaes/patch-2
fix potential getitem error in resolve_anyref
2021-02-17 00:18:27 +09: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
66539af2f4
Merge pull request #8893 from tk0miya/8885_AttributeError_html_context
Fix #8885: html: AttributeError for CSS/JS files on html_context
2021-02-16 20:37:01 +09:00
Matthias C. M. Troffaes
57ae92ce78
fix potential getitem error in resolve_anyref 2021-02-16 09:24:10 +00: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
8205283823 refactor: html: Fix typo 2021-02-16 01:30:45 +09:00
Takeshi KOMIYA
633c5ad9c6 Update CHANGES for PR #8888 2021-02-15 23:22:49 +09:00
Takeshi KOMIYA
89a1175a6c
Merge pull request #8892 from tk0miya/8888
Sometimes _viewcode_modules can be False; don't crash when it is
2021-02-15 23:21:14 +09:00
Takeshi KOMIYA
ba0fa064f9 Merge branch '3.5.x' into 8888 2021-02-15 23:11:28 +09:00
Takeshi KOMIYA
f993f76998 Update CHANGES for PR #8886 2021-02-15 22:58:17 +09:00
Takeshi KOMIYA
c25eff471f
Merge pull request #8890 from tk0miya/8886
Fix #8884: Include sphinx/search/minified-js in the tarball
2021-02-15 22:56:36 +09:00
Takeshi KOMIYA
84f5991e86 Merge branch '3.5.x' into 8886 2021-02-15 22:42:52 +09:00
Takeshi KOMIYA
e5bc028e4f
Merge pull request #8887 from jfbu/adapt_tests_to_pygments_2.8
Adapt our tests to Pygments 2.8.0
2021-02-15 22:41:30 +09:00
Dustin Spicuzza
5fe6a62aaa Sometimes _viewcode_modules can be False; don't crash when it is
- Fixes #8880
2021-02-15 00:16:58 -05:00
jfbu
19ea727f1b Adapt our tests to Pygments 2.8.0 2021-02-14 21:17:17 +01:00
Dmitry Shachnev
8aaea906a1 Fix #8884: Include sphinx/search/minified-js in the tarball 2021-02-14 20:41:19 +03: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
Takeshi KOMIYA
52b5509bb2
Merge pull request #8867 from mitya57/update-stemmer-js
Update JavaScript stemmer code to the latest version of Snowball (v2.1.0)
2021-02-14 15:50:54 +09:00
jfbu
62401ef1ec Merge branch '3.x' 2021-02-12 21:27:17 +01:00
Jean-François B
a1489099ec
Merge pull request #8877 from jfbu/latex_better_fix_8838
Fix #8838 by forcing horizontal mode before inserting the penalty
2021-02-12 21:26:26 +01:00
Dmitry Shachnev
bb819731e4 language_data.js_t: Move endif to the right place 2021-02-12 20:28:56 +03:00
Dmitry Shachnev
34553dc8dd Embed stemmer code into language_data.js by reading it from minified-js files 2021-02-12 20:28:56 +03:00
Dmitry Shachnev
5abbb40333 Remove old minified versions of JS code, embedded in Python files 2021-02-12 20:28:56 +03:00
Dmitry Shachnev
4ad6dd7b77 Add minified versions of libstemmer JS files
Generated from non-minified versions using uglifyjs (installed via npm),
with -m option to enable mangling.
2021-02-12 20:28:56 +03:00
Dmitry Shachnev
d9bf73dedc Update non-minified-js to the latest version from snowball v2.1.0
Generated using 'make dist_libstemmer_js' in a git checkout of
https://github.com/snowballstem/snowball.
2021-02-12 20:28:56 +03:00
Jakob Lykke Andersen
be6391fa0d
Merge pull request #8876 from jakobandersen/c_cpp_alias
C and C++, alias fixes and improvements
2021-02-12 17:46:44 +01:00
jfbu
683e64e8a3 Fix #8838 by forcing horizontal mode before inserting the penalty 2021-02-12 17:37:00 +01:00
Jakob Lykke Andersen
e46779ef15 mypy fixes 2021-02-12 17:34:35 +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
61af7f48ad
Merge pull request #8873 from tk0miya/8860_bad_example
Fix #8860: doc: Usage of recipe directive is wrong
2021-02-13 01:04:27 +09:00
Takeshi KOMIYA
def6f13d8d Merge branch '3.x' 2021-02-13 01:01:30 +09:00
Takeshi KOMIYA
73b2f94f48
Merge pull request #8839 from tk0miya/refactor_linkcheck9
refactor: linkcheck: Remove next_check from Hyperlink object
2021-02-13 00:58:32 +09:00
Takeshi KOMIYA
ee760f668b
Merge pull request #8858 from tk0miya/refactor_latex_writer
Refactor latex writer
2021-02-13 00:48:43 +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
725f74f5eb refactor: linkcheck: Remove next_check from Hyperlink object
To separate hyperlink itself and checking (intermediate) state, this
removes `next_check` attribute from Hyperlink object and add a new
named-tuple `CheckRequest`.  It was rejected idea on implementing
rate-limiting first (see #8467).  But it's better way to separate
large builder module into small components and make whole of linkcheck
builder simple.

After this change, `Hyperlink` object represents a hyperlink on the
document.  It has a URI and location info (docname and lineno).
2021-02-13 00:44:02 +09:00