Takeshi KOMIYA
14ff1bcf72
Bump version
2021-03-20 23:07:26 +09:00
Takeshi KOMIYA
1aca32cfd1
Bump to 3.5.3 final
2021-03-20 23:03:15 +09:00
Takeshi KOMIYA
a19250b46e
Fix #8959 : using UNIX path separator confuses Sphinx on Windows
...
The first element of env.relfn2path() should be a POSIX path, not a OS
dependent path.
2021-03-20 01:32:47 +09:00
Takeshi KOMIYA
4f8cb861e3
Bump version
2021-03-06 21:03:43 +09:00
Takeshi KOMIYA
a969e90f28
Bump to 3.5.2 final
2021-03-06 20:59:53 +09:00
Takeshi KOMIYA
3cd103095f
Merge branch '3.5.x' into 8943_update_translations
2021-03-06 17:48:11 +09:00
Takeshi KOMIYA
866e244770
Merge branch '3.5.x' into 8936_custom_latex_builder
2021-03-06 17:31:06 +09:00
Takeshi KOMIYA
f75e86d53a
Fix #8936 : LaTeX: A custom LaTeX builder fails with unknown node error
...
At present, post transform components for LaTeX builder does not work
for the custom LaTeX builder that inherits the original LaTeX builder.
This allows them working with the custom LaTeX builders.
2021-03-05 00:36:38 +09:00
Takeshi KOMIYA
ec6ab7243d
Fix #8952 : Exceptions raised in a Directive cause parallel builds to hang
...
Do shutdown explicitly when failure on the subprocess.
2021-03-04 23:29:52 +09:00
Takeshi KOMIYA
bae8fb6909
i18n: Fix wrong substitution message catalog for el and hr (refs: #8943 )
2021-03-04 22:11:28 +09:00
Ask Hjorth Larsen
001c6f8a1c
update .mo file as well
2021-03-01 18:38:06 +01:00
Ask Hjorth Larsen
8144c52228
Spanish translation: fix bad substitution templates
2021-03-01 17:57:52 +01: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
8205283823
refactor: html: Fix typo
2021-02-16 01:30:45 +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
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
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
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
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
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
Takeshi KOMIYA
7252abab1c
refactor: linkcheck: Refine the constructor of Checker and CheckWorker
...
Make the constructors of Checker and CheckWorker classes less-coupled
with linkcheck builder.
2021-02-12 23:20:07 +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
Emilio Cobos Álvarez
b6aaf07df1
searchtools: Don't use slideDown to show search results.
...
Fixes a performance issue with massive lists like #8562 .
jQuery.slideDown is pretty bad perf-wise since it thrashes layout
multiple times.
The 5ms animation is unnoticeable (it last less than an animation
frame!) and just burns CPU cycles unnecessarily in all browsers.
On Firefox this is specially bad because it hits a performance cliff
with list items / CSS counters
(https://bugzilla.mozilla.org/show_bug.cgi?id=1683910#c26 for all the
gory details) where it causes tons of counter recalc.
An alternative fix for the Firefox cliff would be to set overflow:
hidden on the list item, but I think removing the animation is probably
more sensible, given that as I said it's just burning CPU.
Fixes #8562
2021-02-10 20:28:06 +01:00
Takeshi KOMIYA
7337317d7a
refactor: LaTeX: replace \n\n by a constant BLANKLINE
2021-02-11 01:55:27 +09:00
Takeshi KOMIYA
8b98c5c088
refactor: LaTeX: replace \n by a constant CR
2021-02-11 01:55:27 +09:00
Takeshi KOMIYA
f11592eb32
Merge pull request #8861 from tk0miya/refactor_latex_writer3
...
refactor: LaTeX: Assign node_ids to footnotemark and footnotetext
2021-02-11 00:41:11 +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
52e90483fc
Merge pull request #8865 from brechtm/pr/fix_transforms
...
[bugfix] SubstitutionDefinitionsRemove: only run for LaTeX builder
2021-02-11 00:30:54 +09:00
Brecht Machiels
ebc3c68b78
SubstitutionDefinitionsRemove: only run for LaTeX builder
2021-02-10 12:04:50 +01:00
jfbu
e4ba80f92d
Minor style issue in texinputs/sphinx.sty
2021-02-09 19:34:09 +01:00
jfbu
52fc9bdd86
s/node.attributes/node/ at one other location
2021-02-09 17:51:55 +01:00
Takeshi KOMIYA
124edda281
refactor: LaTeX: Assign node_ids to footnotemark and footnotetext
...
On converting footnote nodes for the LaTeX writer, node_ids for footnote
nodes are almost cleared. This copies the original node_id to the
footnotemark node (as refid) and footnotetext node (as node_id). It's
useful to improve footnote features.
2021-02-10 01:42:20 +09:00