Takeshi KOMIYA
320421be67
Merge pull request #4810 from tk0miya/define_priority_for_transforms
...
Proposal: Define priority for transforms
2018-04-21 11:29:48 +09:00
Takeshi KOMIYA
6b14cd3bd6
Change priority of versioning doctrees
2018-04-21 11:28:23 +09:00
Takeshi KOMIYA
225588469a
Merge pull request #4842 from tk0miya/4828_partial_numfig_format
...
Fix #4828 : Allow to override numfig_format partially
2018-04-21 11:25:18 +09:00
Takeshi KOMIYA
fdb96bb948
doc: Update about sphinx.ext.imgconverter
2018-04-21 11:21:27 +09:00
Takeshi KOMIYA
ea7d30a190
doc: Add ImageConverter to utils
2018-04-21 11:21:27 +09:00
Takeshi KOMIYA
5a63c2970f
doc: Add a note for dotfiles on html_static_path (refs: #4859 )
2018-04-21 11:02:46 +09:00
Michael Goerz
b689fb1c12
Wrap graphviz diagrams in <div class="graphviz">
...
The graphviz extension is modified to wrap the `<img>` and `<object>`
tags it creates for diagrams in the png and svg formats in an additional
`<div class="graphviz">...</div>` tag. This allows to apply additional
CSS styling to the the diagrams that cannot be applied to `<img>` and
`<object>` directly. Most notably,
div.graphviz {
overflow: auto;
}
would be a useful style that the standard themes might consider.
In any case, it would allow users to add custom CSS code to their
project that gets around the problems with inheritance-diagrams
discussed in https://github.com/sphinx-doc/sphinx/issues/4865
The tests for the `grahviz` and `inheritance_diagram` have been modified
to test for the presence of the additional `<div>` tag.
Closes #4865
2018-04-20 12:43:12 -04:00
Dennis Wegner
b650ba2401
Fixed the German HTML search again, this time from the 1.7 branch
2018-04-20 17:51:19 +02:00
Takeshi KOMIYA
9829d9d771
Merge pull request #4862 from jdufresne/pypi
...
Update all pypi.python.org URLs to pypi.org
2018-04-21 00:19:03 +09:00
Takeshi KOMIYA
ec47b66887
Merge pull request #4849 from tk0miya/fix_toctree
...
Fix toctree directive tries to glob for URL having query_string
2018-04-21 00:15:04 +09:00
Takeshi KOMIYA
86df550c66
Fix short underline
2018-04-20 23:16:41 +09:00
Takeshi KOMIYA
9e930262ab
Merge pull request #4854 from tk0miya/4771_argparse_problem
...
Update CHANGES for #4771
2018-04-20 23:08:51 +09:00
Takeshi KOMIYA
abf8999ce7
Deprecate footnotes helpers
2018-04-20 22:14:49 +09:00
Takeshi KOMIYA
6977270b66
Fix #4850 : latex: footnote inside footnote was not rendered
2018-04-20 21:39:42 +09:00
Takeshi KOMIYA
89d68d9ac3
refactor: Add LaTeXFootnoteTransform to restructure footnotes for LaTeX
2018-04-20 21:22:19 +09:00
Takeshi KOMIYA
ff0f008574
Add docname attribute to every footnote and footnote_reference nodes
2018-04-20 21:22:16 +09:00
Takeshi KOMIYA
1c65ff762e
Apply ShowUrlsTransform at LaTeXBuilder
2018-04-20 21:22:14 +09:00
Takeshi KOMIYA
a062142701
refactor: ShowUrlsTransform
2018-04-20 21:22:11 +09:00
Michael Tesch
e368ac21ef
proposed enhancement #4830
2018-04-20 13:13:00 +02:00
Jon Dufresne
365c93f227
Update all pypi.python.org URLs to pypi.org
...
For details on the new PyPI, see the blog post:
https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
2018-04-18 19:51:48 -07:00
Takeshi KOMIYA
96c5605374
Merge branch '1.7'
2018-04-18 11:35:10 +09:00
Takeshi KOMIYA
ef10ca11fc
Fix toctree directive tries to glob for URL having query_string
2018-04-16 16:01:59 +09:00
Takeshi KOMIYA
c24216b48d
Update CHANGES for #4771
2018-04-16 01:50:05 +09:00
Takeshi KOMIYA
538c061e7c
Change priority of doctree-read event
2018-04-16 00:16:18 +09:00
Takeshi KOMIYA
32fe3a05e8
Refactor toctree directive
2018-04-15 13:38:58 +09:00
Takeshi KOMIYA
9826d49cbd
Add testcase for toctree directive
2018-04-15 13:38:58 +09:00
Takeshi KOMIYA
adf5e9fda6
Update CHANGES for PR #4838
2018-04-15 13:37:57 +09:00
Takeshi KOMIYA
4a3b4a90da
Merge pull request #4838 from bmwiedemann/hhp
...
Sort .hhp file list
2018-04-15 13:36:38 +09:00
Takeshi KOMIYA
b5ddc8c697
Merge pull request #4841 from gussiecarther/doc_rst_prolog_and_rst_epilog
...
Fix #4420 : Docs conflict on use of rst_prolog and rst_epilog
2018-04-15 13:34:48 +09:00
Takeshi KOMIYA
ccb694882c
Merge pull request #4843 from tk0miya/4803_optimize_latex_show_urls
...
4803 optimize latex show urls
2018-04-15 13:23:18 +09:00
Takeshi KOMIYA
bab5e3a826
Merge branch '1.7' into 4803_optimize_latex_show_urls
2018-04-15 13:01:43 +09:00
Takeshi KOMIYA
d6ffdde45e
Merge pull request #4844 from tk0miya/4767_broken_mathjax_by_highlighting
...
Fix #4767 : html: search highlighting breaks mathjax equations
2018-04-15 13:00:45 +09:00
Bernhard M. Wiedemann
36038f8196
Sort .hhp file list
...
Without this change, the pgadmin3 openSUSE package differed for every build
(happens in a disposable VM) because pgadmin3.hhp contained entries
in indeterministic filesystem readdir order.
See https://reproducible-builds.org/ for why this matters.
2018-04-14 21:27:04 +02:00
jfbu
aa21d78e42
Fix again #4837 , using better equivalent to deprecated \sf
2018-04-14 19:48:24 +02:00
Takeshi KOMIYA
d8d1c7ac63
Remove unused visitor methods
2018-04-15 02:35:26 +09:00
Takeshi KOMIYA
af58d7faed
Remove substitution_definition nodes from doctree on reading phase (refs: #4827 )
2018-04-15 02:35:26 +09:00
Takeshi KOMIYA
5e4da90ffa
Change priority of sphinx-domains
2018-04-15 02:34:26 +09:00
Takeshi KOMIYA
765aec565d
Change priority of SphinxSmartQuotes
2018-04-15 02:17:36 +09:00
jfbu
453d6a0b67
Fix #4837 : (latex with class memoir) Font command \sf is not supported
2018-04-14 18:56:57 +02:00
Takeshi KOMIYA
b35198d847
Deprecate highlightlang directive
...
highlightlang directive is not documented, and marked as old in v0.2.
2018-04-15 00:33:02 +09:00
Takeshi KOMIYA
b1a0e8062f
Fix #4767 : html: search highlighting breaks mathjax equations
2018-04-15 00:30:53 +09:00
Takeshi KOMIYA
5a887b1075
Fix #4828 : Allow to override numfig_format partially
2018-04-15 00:23:53 +09:00
Takeshi KOMIYA
19585962a2
Update CHANGES for PR #4834
2018-04-14 21:16:07 +09:00
Takeshi KOMIYA
c0c9a41400
Merge pull request #4834 from lamby/895553-sphinx-please-make-the-set-object-description-reproducible
...
Ensure set object descriptions are reproducible.
2018-04-14 21:15:19 +09:00
Takeshi KOMIYA
36a8781688
Fix #4803 : latex: too slow in proportion to number of auto numbered footnotes
2018-04-14 20:46:01 +09:00
Takeshi KOMIYA
185987a517
Move ShowUrlsTransform to sphinx.builders.latex.transforms
2018-04-14 20:13:16 +09:00
Chris Lamb
0ffc27b7fa
Ensure the set object description is reproducible.
...
Whilst working on the Reproducible Builds effort [0], we noticed
that sphinx could generate output that is not reproducible.
In particular, the rendering of `set` objects in default arguments
and elsewhere is currently non-determinstic. For example:
class A_Class(object):
a_set = {'a', 'b', 'c'}
Might be rendered as any of:
{'a', 'b', 'c'}
{'a', 'c', 'b'}
{'b', 'a', 'c'}
{'b', 'c', 'a'}
{'c', 'a', 'b'}
{'c', 'b', 'a'}
Patch attached that sorts the contents of sets whilst rendering.
This is parallel to the `dict` key sorting.
This was originally filed in Debian as #895553 [1].
[0] https://reproducible-builds.org/
[1] https://bugs.debian.org/895553
Signed-off-by: Chris Lamb <lamby@debian.org>
2018-04-14 10:30:54 +01:00
Takeshi KOMIYA
0104cba2b8
Convert sphinx.builders.latex to package from module
2018-04-14 18:22:31 +09:00
Chris Lamb
3231676936
Call object_description recursively for dict keys and values.
2018-04-14 10:00:50 +01:00
Gussie Carther
390ea6d35a
Fix #4420 : Docs conflict on use of rst_prolog and rst_epilog
2018-04-14 17:51:06 +09:00