Takeshi KOMIYA
fbe5f43ccd
Merge pull request #8868 from emilio/long-result-list-fix
...
searchtools: Don't use slideDown to show search results.
2021-02-11 22:25:37 +09:00
Takeshi KOMIYA
f17ab57b64
Fix #8860 : doc: recipe directive crashes with AttributeError
...
The pre check in the `ReceipeDirective.add_target_and_index() was wrong.
It checkes non-existing option "noindex", but it should check "contains"
option instead.
2021-02-11 22:13:07 +09:00
jfbu
8b786382e4
Update latex comment
2021-02-10 23:09:44 +01: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
674831cf10
Update CHANGES for PR #8865
2021-02-11 00:33:25 +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
Takeshi KOMIYA
efe4133d36
Merge pull request #8863 from jfbu/merge_3.x_into_master
...
Merge 3.x into master
2021-02-10 22:57:40 +09:00
Brecht Machiels
ebc3c68b78
SubstitutionDefinitionsRemove: only run for LaTeX builder
2021-02-10 12:04:50 +01:00
jfbu
df6a8bc1ef
Merge branch '3.x' into merge_3.x_into_master
2021-02-09 19:36:21 +01:00
jfbu
e4ba80f92d
Minor style issue in texinputs/sphinx.sty
2021-02-09 19:34:09 +01: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
Jean-François B
15209223ac
Merge pull request #8862 from jfbu/latex_docs_minor_refactoring
...
Minor refactoring in doc/latex.rst
2021-02-09 18:42:09 +01:00
jfbu
87d0b15eab
Also indent warning to not interrupt description list
2021-02-09 18:29:56 +01:00
jfbu
a310c4c5b6
Indent note directive inside list item
2021-02-09 18:25:37 +01:00
jfbu
32d8b4e445
Minor refactoring in doc/latex.rst
2021-02-09 18:11:24 +01:00
jfbu
52fc9bdd86
s/node.attributes/node/ at one other location
2021-02-09 17:51:55 +01:00
Jean-François B
a164d4c12c
Merge pull request #8832 from jfbu/latex_hyperlinked_caption_footnotes_on_3.x
...
Latex hyperlinked caption footnotes on 3.x
2021-02-09 17:45:41 +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
Jean-François B
e759bd14c8
Update sphinx/writers/latex.py
...
Co-authored-by: Takeshi KOMIYA <i.tkomiya@gmail.com>
2021-02-09 16:45:49 +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
Takeshi KOMIYA
66aa22f1ea
Merge pull request #8842 from tk0miya/refactor_type_annotations
...
Refactor type annotations
2021-02-10 00:13:29 +09:00
jfbu
aaac721104
Typo
2021-02-09 16:04:01 +01:00
jfbu
035d13fd24
Update CHANGES and docs relative to new verbatimforcewraps
2021-02-09 15:47:15 +01:00
Takeshi KOMIYA
d25c3ad241
Update type annotations
2021-02-09 22:49:01 +09:00
Takeshi KOMIYA
208f549b8a
Merge branch '3.x'
2021-02-09 22:43:14 +09:00
Takeshi KOMIYA
5935a4b152
Merge pull request #8843 from tk0miya/8837_sphinx_html_title
...
Fix #8837 : doc: Remove version info from html_title
2021-02-09 22:42:57 +09:00
Takeshi KOMIYA
138b0dbe8b
Merge pull request #8836 from tk0miya/refactor_latex_writer2
...
refactor: LaTeX: separate self.body.append() call to single line output
2021-02-09 22:26:07 +09:00
Takeshi KOMIYA
1f1cd49f47
Merge pull request #8850 from DelazJ/patch-1
...
Make code block types more visible in documentation
2021-02-09 22:25:02 +09:00
Takeshi KOMIYA
71df21dd4f
Update CHANGES for PR #8853
2021-02-09 22:19:05 +09:00
Takeshi KOMIYA
3207da1fa8
Merge pull request #8853 from jpmckinney/markdown-locale-heading-3.x
...
i18n: Locale transform: Change heading syntax to work for both RST and Markdown
2021-02-09 22:15:51 +09:00
jfbu
7175d11f05
Add forgotten minwidth computation
2021-02-09 13:16:12 +01:00
jfbu
eee17ff61a
Fix forgotten link to Pygments home site, mmmmpf
2021-02-09 12:33:16 +01:00
jfbu
abddafa98a
Fix inexistent directive "notice", it is "note"...
2021-02-09 12:28:03 +01:00
jfbu
c6a8fb1625
Add verbatimmaxoverfull and verbatimmaxunderfull
2021-02-09 12:18:31 +01:00
jfbu
dffb819ec4
Support Unicode input when forcefully wrapping code lines
...
This needs special coding only for pdflatex, Unicode TeX engines already
handle Unicode characters as one token.
The utf8x LaTeX input encoding is not supported, only utf8.
2021-02-09 11:24:24 +01:00
jfbu
0076ad3fd3
Indicated force wrapping code lines is fragile with Unicode input
2021-02-09 00:01:39 +01:00
jfbu
702545da1c
LaTeX: optionally apply a second forceful wrapping of long code lines
...
Closes #8849
2021-02-08 23:13:46 +01:00
James McKinney
4917dd5f84
i18n: Locale transform: Change heading syntax to work for both RST and Markdown
2021-02-08 13:47:41 -05:00
jfbu
a984f5f7cc
LaTeX: improve docs of 'printindex' and 'makeindex'
...
Closes #8055
2021-02-08 14:59:20 +01:00
Harrissou Sant-anna
08c2c23bb4
Make code block types more visible
2021-02-08 13:03:16 +01:00
Takeshi KOMIYA
4cbb2925fd
Fix #8837 : doc: Remove version info from html_title
2021-02-07 21:24:15 +09:00
Takeshi KOMIYA
84458da828
Merge branch '3.x'
2021-02-07 17:01:09 +09:00
jfbu
4a239bb886
Extra references to explicitly numbered footnote get page indication
...
To achieve this the simplest was to use also the \label/\ref mechanism
as for footnotes typeset using footnotetext. Removing the hack into
footnotehyper internal macro, we use an enriched scope, which will
enable references with same number to each generate correct links.
2021-02-06 22:00:47 +01:00
Takeshi KOMIYA
d0785e549d
Merge pull request #8834 from tk0miya/refactor_linkcheck6
...
refactor: linkcheck: Deprecate attributes of linkcheck builders
2021-02-07 02:53:24 +09:00