Commit Graph

6258 Commits

Author SHA1 Message Date
shimizukawa
6ef4bd3e1e fix typos 2016-01-24 13:11:51 +09:00
shimizukawa
7d946358d3 Bump version 2016-01-24 13:10:31 +09:00
shimizukawa
50951bdc98 Bump to 1.3.5 final 2016-01-24 12:31:34 +09:00
Takeshi KOMIYA
cd1eeff70a Remove Babel._ISO639_TO_BABEL; deprecated at docutils-0.8 2016-01-24 00:53:16 +09:00
Takeshi KOMIYA
883ae3c5a7 Fix warning message for `:numref:` if target is in orphaned doc (ref: #2244) 2016-01-23 21:51:52 +09:00
Georg Brandl
f2d264febe Merge pull request #2261 from mitya57/stable
transforms: Don't try to call has_child on parent nodes that are None
2016-01-22 19:41:11 +01:00
Dmitry Shachnev
c84dad28e9 transforms: Don't try to call has_child on parent nodes that are None
Otherwise the build can fail with the following error:

      File "/usr/lib/python2.7/dist-packages/sphinx/environment.py", line 791, in read_doc
        pub.publish()
      File "/usr/lib/python2.7/dist-packages/docutils/core.py", line 218, in publish
        self.apply_transforms()
      File "/usr/lib/python2.7/dist-packages/docutils/core.py", line 199, in apply_transforms
        self.document.transformer.apply_transforms()
      File "/usr/lib/python2.7/dist-packages/docutils/transforms/__init__.py", line 171, in apply_transforms
        transform.apply(**kwargs)
      File "/usr/lib/python2.7/dist-packages/sphinx/transforms.py", line 124, in apply
        if has_child(node.parent, nodes.caption):
      File "/usr/lib/python2.7/dist-packages/sphinx/transforms.py", line 117, in has_child
        return any(isinstance(child, cls) for child in node)
    TypeError: 'NoneType' object is not iterable

The error could be reproduced with lp:autopilot/legacy branch from Launchpad.
2016-01-22 18:14:04 +03:00
Jakub Wilk
1aeef288fc Fix typo in quickstart 2016-01-22 09:07:54 +09:00
Takayuki SHIMIZUKAWA
97db21453b Merge pull request #2260 from jwilk/spelling
Fix typo in quickstart
2016-01-22 09:06:22 +09:00
Jakub Wilk
16626bd8ee Fix typo in quickstart 2016-01-21 22:53:07 +01: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
Takeshi KOMIYA
04a8c26eab Fix #2235: `needs_sphinx` supports micro version comparison 2016-01-21 13:51:17 +09:00
Takeshi KOMIYA
43c77a2838 Fix TOC is not shown when no `:maxdepth:` for toctrees (ref: #771) 2016-01-21 11:32:25 +09: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
Takeshi KOMIYA
e89d8777f2 Update CHANGES for PR #2211 2016-01-20 10:39:56 +09:00
Takeshi KOMIYA
7340ee3464 Merge pull request #2211 from tk0miya/1574_fix_errors_by_merged_cell
Fix #1574: paragraphs in table cell doesn't work in Latex output
2016-01-20 10:39:11 +09:00
Takeshi KOMIYA
b0e02b4a12 Update CHANGES for PR #2230 2016-01-20 10:38:13 +09:00
Takeshi KOMIYA
e96d0d87bc Update CHANGES for PR #1939 2016-01-20 10:37:05 +09:00
Takeshi KOMIYA
40a1b37d99 Merge pull request #1939 from bukzor/dummy-builder
add a dummy builder, for syntax checkers
2016-01-20 10:36:00 +09:00
Takeshi KOMIYA
59a88e090c Merge pull request #2230 from xuhdev/number-all-math
Add an option to number all displayed math
2016-01-20 10:35:34 +09:00
Timotheus Kampik
ab54ece529 Merge branch 'master' into feature-1970-navigate-with-keys 2016-01-19 22:38:55 +01:00
Takayuki SHIMIZUKAWA
dcdcdb4155 Merge pull request #2097 from mitya57/stable
Make alabaster and sphinx_rtd_theme dependencies optional
2016-01-19 23:48:19 +09:00
Dmitry Shachnev
32591a7f77 Make alabaster and sphinx_rtd_theme dependencies optional
There is no need to pull these dependencies if i.e. the documentation is
using the classic theme.

There will be no change in behavior for projects using alabaster or
sphinx_rtd_theme.
2016-01-19 14:34:02 +03:00
Hong Xu
a75bf5af3c Refactor the tests of math extensions. 2016-01-18 23:47:01 -08:00
Hong Xu
540400635a math: Add math_number_all to enforce numbering all displayed math. 2016-01-18 23:47:01 -08:00
Takeshi KOMIYA
5b92c708f8 Fix condition of graphviz warning 2016-01-19 01:10:49 +09:00
Takeshi KOMIYA
0cbb29e342 Update docs for #2221 2016-01-19 00:53:10 +09: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
388ee36d9f Remove unused variable: _graphviz_warned_ps2pdf 2016-01-18 23:25:28 +09:00
Takeshi KOMIYA
e4480baa98 Fix #2221: graphviz always warns about :inline: option 2016-01-18 23:18:43 +09:00
Takeshi KOMIYA
ed527f86f1 Fix typo in CHANGES 2016-01-18 18:49:37 +09:00
Takeshi KOMIYA
92e4b0cac6 Merge branch 'stable' 2016-01-18 18:46:30 +09:00
Takeshi KOMIYA
8c930a3918 Fix typo in CHANGES 2016-01-18 18:18:46 +09:00
Takeshi KOMIYA
0329edc510 Fix #1565: Show warning if Pygments throws an ErrorToken 2016-01-18 15:31:44 +09:00
Takeshi KOMIYA
5574aba60e Fix tests are broken with pygments-2.1 2016-01-18 12:38:02 +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
Timotheus Kampik
6c0ea67185 make navigation with keys in basic theme non-default 2016-01-17 17:05:28 +01:00
Takeshi KOMIYA
c5b3da3212 Update CHANGES for #2060 2016-01-17 20:05:51 +09:00
Takeshi KOMIYA
a8d6e70116 Merge pull request #2224 from tk0miya/2060_change_style_of_manpage_role
Fix #2060: ``:manpage:`` role uses incorrect style (node)
2016-01-17 19:59:32 +09:00
Takeshi KOMIYA
50426a711c Fix #2060: `:manpage:` role uses incorrect style (node)
It should be use bold style to reference man pages in man format.
On other formats, it is still represented as emphasis.
2016-01-17 19:50:06 +09:00
Takeshi KOMIYA
f44fd9f994 Fix broken test by 14f58e6619 2016-01-17 19:38:05 +09:00
Takeshi KOMIYA
81fd24a565 Merge pull request #2221 from tk0miya/graphviz_inline_by_default
Fix #1149: ``sphinx.ext.graphviz``: show graph image in inline by default
2016-01-17 19:23:39 +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
492f60c371 Update CHANGES for PR #2207 2016-01-17 19:19:29 +09:00
Takeshi KOMIYA
cf5e138a53 Merge pull request #2207 from tk0miya/baseclass_for_parsers
Add sphinx.parsers.Parser class; a base class for new parsers
2016-01-17 19:17:58 +09:00
Takeshi KOMIYA
f89e3dfee3 Update docs about sphinx.parsers.Parser class 2016-01-17 19:18:02 +09:00
Takeshi KOMIYA
f1765c2576 Add sphinx.parsers.Parser class; a base class for new parsers
The class inherits ``docutils.parsers.Parser`` and implements ``set_application()`` in addition.
It enables subclasses to read configurations, to access environments and to logging.
2016-01-17 19:18:02 +09:00
Takeshi KOMIYA
78be129fc5 Update CHANGES for #2162 2016-01-17 19:08:42 +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
a43bacdcb3 Update CHANGES for PR #2208 2016-01-17 19:07:11 +09:00