jfbu
683e64e8a3
Fix #8838 by forcing horizontal mode before inserting the penalty
2021-02-12 17:37:00 +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
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
3b451bbcde
Merge pull request #8835 from tk0miya/refactor_linkcheck7
...
refactor: linkcheck: Separate thread manager feature from builder class
2021-02-12 23:32:30 +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
Takeshi KOMIYA
f0eb2cca87
Merge pull request #8869 from tk0miya/8860_recipe_tutorial
...
Fix #8860 : doc: recipe directive crashes with AttributeError
2021-02-12 22:33:27 +09:00
Takeshi KOMIYA
d5de7bf3cf
Fix #8860 : doc: Usage of recipe directive is wrong
2021-02-12 20:51:53 +09:00
Takeshi KOMIYA
30bc4d450a
Update CHANGES for PR #8868
2021-02-11 22:28:38 +09:00
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
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
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
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
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
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
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
Takeshi KOMIYA
4cbb2925fd
Fix #8837 : doc: Remove version info from html_title
2021-02-07 21:24:15 +09:00