Takeshi KOMIYA
9a7bbb0947
Add image file for testcase of #2395
2016-04-13 21:30:45 +09:00
Takeshi KOMIYA
5b80365409
Merge pull request #2415 from jfbu/jumptorightplace-onstable
...
Fix #2405 and #2414 related to PDF hyperlinks to numbered code listings
2016-04-11 10:53:34 +09:00
jfbu
673222f20a
Added Tests for latex(pdf) links to captioned or named literal blocks
...
As conf.py has now numfig = True, needed to modify accordingly test for
links in html output.
This topic branch fixes #2405 , #2414 , and also makes for latex(pdf)
functional hyperlinks to named references, but only for literal blocks
(code-block or literalinclude).
modified: tests/roots/test-directive-code/caption.rst
modified: tests/roots/test-directive-code/conf.py
new file: tests/roots/test-directive-code/namedblocks.rst
modified: tests/test_directive_code.py
2016-04-10 20:45:59 +02:00
Takeshi KOMIYA
9df7783ba2
Fix #2395 : Sphinx crashs if unicode character in image filename
2016-04-10 20:25:25 +09:00
Takeshi KOMIYA
606daeda18
Fix the confval type checker emits warnings if unicode is given to confvals which expects string value
2016-02-23 11:14:58 +09:00
Takeshi KOMIYA
0636d54f6f
`sphinx.ext.graphviz` supports graph substituions by locale
2016-02-22 21:32:06 +09:00
Takeshi KOMIYA
3f0843bca0
Add figure_language_filename to customize filename pattern for figure substitutions
2016-02-22 21:32:05 +09:00
Takeshi KOMIYA
1f5aa28db0
Fix #1921 : Support figure substitutions by locale
2016-02-22 21:32:05 +09:00
Takeshi KOMIYA
46138ca605
Select an image by similarity if multiple images are globbed by `.. image:: filename.*`
...
Until this point, it is used the last image returned from glob.glob().
The order of glob.glob() is determined by filesystem.
After this, Sphinx uses filename similarity to determine the image.
2016-02-22 17:06:35 +09:00
Takeshi KOMIYA
7a4f914f91
Fix #1286 , #2099 : Add `sphinx.ext.autosectionlabel` extension to allow reference sections using its title
2016-02-14 16:30:57 +09:00
Takeshi KOMIYA
492980c23e
Add testcase for PR #2311
2016-02-14 15:06:28 +09:00
Takeshi KOMIYA
2ec60d5919
Fix #1858 : Support numbering custom nodes
2016-02-14 14:49:34 +09:00
Takeshi KOMIYA
a391b1a1db
Add Sphinx.add_enumerable_node() to add enumerable nodes for numfig feature
2016-02-14 14:49:34 +09:00
shimizukawa
980653f277
Merge with stable
...
Conflicts:
sphinx/environment.py
sphinx/ext/autodoc.py
sphinx/writers/latex.py
2016-02-09 23:19:49 +09:00
Takeshi KOMIYA
9ba7cc815c
Fix #2292 : Some footnotes disappear from LaTeX output
2016-02-08 11:24:07 +09:00
Takeshi KOMIYA
9b958b6dcc
Fix #2291 : pdflatex "Counter too large" error from footnotes inside tables of contents
2016-02-07 20:04:28 +09:00
Takeshi KOMIYA
ccd945bf0a
Merge pull request #2254 from xuhdev/math-align
...
Use "align" environment to wrap math equations instead of "gather"
2016-02-01 00:49:17 +09:00
Jakob Lykke Andersen
5c363a683e
Fix :cpp:any: fix_paren with explicit title.
2016-01-28 13:19:23 +09:00
Takeshi KOMIYA
dd08a3ac29
Add testcase for image globbing
2016-01-27 01:27:05 +09:00
Takeshi KOMIYA
ae478f678e
Fix #2022 : html_extra_path also copies dotfiles and refers exclude_patterns
2016-01-24 19:17:50 +09:00
shimizukawa
b1a23817fc
Merge with 'stable'
2016-01-24 13:47:51 +09:00
Hong Xu
76e29ca5b3
Use "align" environment to wrap math equations instead of "gather"
...
Using align brings the benefit when multiple math equations are in one
math directive, alignment is provided. We also use "aligned" to wrap the
equations since in this way all the equations will be given only one
label/tag, while previously only the first equation is labeled.
2016-01-20 23:25:58 -08:00
shimizukawa
0f2e62db24
Fix #2253 : `:pyobject: option of literalinclude` directive can't detect indented body block when the block starts with blank or comment lines.
2016-01-20 22:50:59 +09:00
Hong Xu
a75bf5af3c
Refactor the tests of math extensions.
2016-01-18 23:47:01 -08:00
Takeshi KOMIYA
4c4450d958
Fix #656 : Add `graphviz_dot option to graphviz directives to switch the dot` command
2016-01-18 23:56:05 +09:00
Takeshi KOMIYA
92e4b0cac6
Merge branch 'stable'
2016-01-18 18:46:30 +09:00
Takeshi KOMIYA
34cbf3bad7
Fix #2247 : #2205 breaks make html for definition list with classifiers that contains regular-expression like string
2016-01-18 11:31:48 +09:00
Takeshi KOMIYA
f44fd9f994
Fix broken test by 14f58e6619
2016-01-17 19:38:05 +09:00
Takeshi KOMIYA
14f58e6619
`sphinx.ext.graphviz`: show graph image in inline by default
...
To support subsutituion syntax, make graphviz node inline (ref: #1149 ).
Now graphviz directive behaves like ``image`` directive when no captions.
If specified, it generates ``figure`` node and ``caption`` node like
``figure`` directive.
2016-01-17 19:23:55 +09:00
Takeshi KOMIYA
738bb589d9
Merge pull request #2209 from tk0miya/2162_add_source_parser_API
...
Fix #2162 : Add Sphinx.add_source_parser() to add source_suffix and source_parsers from extension
2016-01-17 19:07:18 +09:00
Takeshi KOMIYA
350d8aade0
Fix broken LaTeX code is generated if unknown language is given
2016-01-16 23:59:13 +09:00
Takeshi KOMIYA
e4b9eb51f6
Merge branch 'stable'
2016-01-11 00:27:26 +09:00
shimizukawa
e5860fd75c
Merge with '87998df9cbef2380345d436121e6bca43345d2bd' on stable
...
Conflicts:
tests/test_build_latex.py
2016-01-10 10:21:27 +09:00
shimizukawa
e85ea7ed83
Fix #2062 : Escape characters in doctests are treated incorrectly with Python 2
...
In my current environment with Win10+Py2.7.10, SpoofOut result string doesn't necessary to decode. This commit might cause regression in older python versions....
2016-01-09 17:22:30 +09:00
shimizukawa
39e403b8ac
fix testing for text builder that generate _build/text/_build/text/_build/... recursive directories because *.txt in _build/text previously generated was detected as source file.
2016-01-09 15:35:56 +09:00
shimizukawa
ac28f9b271
Fix #2198,#2205: `make gettext` generate broken msgid for definition lists. It's a regression by #1855 .
2016-01-09 15:33:43 +09:00
André Klitzing
62c49763f8
Fix broken TOC of PDFs if section includes an image
...
If someone adds an image to a section it will be added to the sidebar
TOC of a PDF, too. A PDF viewer will show the "width and height"
data instead of an image. So we need to filter out images for this with
the optional "short title" of latex sections.
2016-01-08 10:15:39 +01:00
Takeshi KOMIYA
0ea518d563
Add sphinx.ext.githubpages to publish the docs on GitHub Pages
2016-01-06 22:14:57 +09:00
Takeshi KOMIYA
e03dc8d27e
Fix #2072 : Footnotes in chapter-titles do not appear in PDF output
2016-01-06 11:13:30 +09:00
Takeshi KOMIYA
26e29de904
Fix broken testcase; Split test-toctree-maxdepth from test-tocdepth
2016-01-06 09:54:48 +09:00
Takeshi KOMIYA
b0a5a1339e
Fix #771 : latex output doesn't set tocdepth
2016-01-06 01:34:29 +09:00
Takeshi KOMIYA
f81ab1e8b9
Fix #2162 : Add Sphinx.add_source_parser() to add source_suffix and source_parsers from extension
2016-01-04 10:23:17 +09:00
Takeshi KOMIYA
26c43643d3
Fix broken tests by 7bb685bbe9
2016-01-03 20:52:39 +09:00
Takeshi KOMIYA
b0f376fdb8
Fix #2201 : wrong table caption for tables with over 30 rows
2016-01-01 19:31:36 +09:00
Takeshi KOMIYA
584f05154b
Fix #2206 : Sphinx latex doc build failed if footnotes in caption of figure
...
At same time, refactored around pending footnotes (tables, terms and
figures). They are all controled as ``pending_footnotes``.
2016-01-01 19:07:43 +09:00
Hong Xu
355fe2a233
Add the imgmath extension, the successor of pngmath.
...
In addition to the features which pngmath supports, imgmath also
supports svg output format.
2015-12-29 15:13:57 -08:00
Takeshi KOMIYA
07cc02a512
Fix #2178 : Unparseable C++ cross-reference when referencing a function with :cpp:any:
2015-12-27 16:29:07 +09:00
Takeshi KOMIYA
8a763feb6b
Fix #2189 : previous sibling link has broken if previous doc is under nested toctree
2015-12-26 23:57:09 +09:00
Takeshi KOMIYA
222a51e0cf
Fix #2189 : next sibling link has broken if the file was appeared twice or more
2015-12-26 21:43:54 +09:00
Takeshi KOMIYA
0719611d54
Fix #2071 : Same footnote in more than two section titles => LaTeX/PDF Bug
2015-12-25 10:43:41 +09:00