Commit Graph

5749 Commits

Author SHA1 Message Date
Takeshi KOMIYA
18c6a6ae98 Fix equations are not centering in haiku theme (ref: #2294) 2016-02-11 13:33:55 +09:00
GunWoo Choi
906d1c905d Make sure to iterate obj_dict's keys using list, not view
In Python3 `dict.keys()` returns a view object not a list

cherry-picked from master 22ce010e0 to stable for #2116.
2016-02-09 18:23:08 +09:00
shimizukawa
f29edef477 Update CHANGES for #1873, #1876, #2278 2016-02-09 18:09:43 +09:00
Eric Holscher
c22f5beb75 Add suffix to HTML context. Fixes #1873 2016-02-09 18:01:12 +09:00
shimizukawa
aefab514e2 Fix #2287: sphinx.transforms.Locale always uses rst parser. Sphinx i18n feature should support parsers that specified source_parsers. 2016-02-09 00:16:46 +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
Georg Brandl
bdc230b1cc Closes #2295: Avoid mutating dictionary errors while enumerating members in autodoc with Python 3 2016-02-04 19:59:20 +01:00
Georg Brandl
eba0e314b3 Merge pull request #2289 from Xarthisius/race_fix
Use ensuredir() for creating directories within BuildEnvironment.read_doc
2016-02-02 23:15:39 +01:00
Kacper Kowalik (Xarthisius)
1714747318 Use ensuredir() for creating directories within BuildEnvironment.read_doc 2016-02-02 15:37:33 -06:00
shimizukawa
c6289c311f Fix documentation for 'mo auto build". 2016-01-30 16:37:58 +09:00
shimizukawa
8740030e80 Fix documentation for 'mo auto build". 2016-01-30 16:14:48 +09:00
Takeshi KOMIYA
9b21115146 Fix #2265: babel is used in spite of disabling it on `latex_elements` 2016-01-27 19:38:57 +09:00
Takeshi KOMIYA
18daa75b7f Update CHANGES (ref: #2264) 2016-01-26 10:55:47 +09:00
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
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
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
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
Georg Brandl
8167a9b7ad Closes #2243: ignore strange docstring types in class docs, like already done for method docs. 2016-01-17 09:08:48 +01:00
Georg Brandl
46d7e8558e Obligatory copyright update. 2016-01-14 22:54:04 +01:00
Takeshi KOMIYA
53cd2d4f3f Fix #2026: LaTeX builder rais error if parsed-literal includes links 2016-01-14 10:58:57 +09:00
Takeshi KOMIYA
3f998a0096 Fix line numbers was not shown on warnings of indecies 2016-01-13 11:37:07 +09:00
Takeshi KOMIYA
7898c64cf4 Fix line numbers were not show on warnings of numfigs 2016-01-13 00:38:38 +09:00
Takeshi KOMIYA
4c8b575dcc Fix filenames were not shown on warnings of citations 2016-01-13 00:37:28 +09:00
Takeshi KOMIYA
6dc7ca0234 Fix line numbers were not shown on warnings in LaTeX and texinfo builder 2016-01-13 00:36:51 +09:00
shimizukawa
9b45d10abd bump version 2016-01-13 00:10:58 +09:00
shimizukawa
8e7107b1a2 Bump to 1.3.4 final 2016-01-12 23:57:44 +09:00
shimizukawa
d33b32323f 95 chars in line. It was warned by make check. 2016-01-12 23:53:45 +09:00
shimizukawa
8bd5b22561 accept 95 chars including CRLF. It is same as flake8 check. 2016-01-12 23:47:25 +09:00
shimizukawa
c6b9d3a494 tiny fix 2016-01-12 22:48:56 +09:00
shimizukawa
9dc74f50ae remove a duplicated line in CHANGES. 2016-01-12 22:29:55 +09:00
Takeshi KOMIYA
8ea92359ba Fix warnings in CHANGES and docs 2016-01-12 13:36:12 +09:00
Takeshi KOMIYA
ca896755a9 Fix #2229, any-role and `-W` option are conflicted 2016-01-12 13:35:52 +09:00
Takeshi KOMIYA
b1715eb0b5 Fix broken test by bba3f388e9 2016-01-12 01:09:23 +09:00
Takeshi KOMIYA
bba3f388e9 Fix #2229: No warning is given for unknown options 2016-01-11 23:31:28 +09:00
shimizukawa
92ca8d92b3 Fix #1601, #2220: 'any' role breaks extended domains behavior. Affected extensions doesn't support resolve_any_xref and resolve_xref returns problematic node instead of None. sphinxcontrib-httpdomain is one of them. 2016-01-10 23:27:11 +09:00
shimizukawa
09b931745d Switch links for pdf version documentation to on ReadTheDocs. 2016-01-10 11:18:55 +09:00