Commit Graph

5732 Commits

Author SHA1 Message Date
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
shimizukawa
ff01b78412 Remove version specific installation procedure and link to stable/latest document page because sphinx site has been moved to ReadTheDocs so the information is obsoleted. 2016-01-10 11:18:44 +09:00
Takeshi KOMIYA
c8c6dc1fe9 Fix #2226: Math is not HTML-encoded when :nowrap: is given (jsmath, mathjax) 2016-01-10 02:20:39 +09:00
Takeshi KOMIYA
053d7806fe Refactoring testcases to reduce ResourceWarning (refs: #1409) 2016-01-10 01:04:38 +09:00
Takeshi KOMIYA
7894f0bd9c Fix #2225: If the option does not begin with dash, linking is not performed 2016-01-09 19:57:23 +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
Takeshi KOMIYA
e7fa8a6c2b Fix `p` is always used for table spec (refs #1580) 2016-01-09 10:03:21 +09:00
Takeshi KOMIYA
2ebf9d6456 Update CHANGES for #2172 2016-01-09 09:49:11 +09:00
Takeshi KOMIYA
119790cffb Fix #2172: Dysfunctional admonition \py@lightbox in sphinx.sty 2016-01-09 09:45:32 +09:00
Takeshi KOMIYA
386a74a0ee Update CHANGES for PR #2160 2016-01-08 21:41:52 +09:00
Takeshi KOMIYA
e68b488907 Merge pull request #2160 from misery/toc
Fix broken TOC of PDFs if section includes an image
2016-01-08 21:41:11 +09:00
Takeshi KOMIYA
85a9e820dc Fix Sphinx crashes if mecab initialization failed 2016-01-08 21:36:42 +09:00
Takeshi KOMIYA
fe101177c3 Fix indentation 2016-01-08 21:27:10 +09:00
Natsuki Maruyama
d0bc66da58 Fix #1807: Sphinx crashes in japanese indexing in some systems.
Modified to specify the C type, if directly using the libmecab.
2016-01-08 21:25:51 +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
24c42817ed Revert search/ja.py
It is not a part of 'testcase for #1860'. It's my miss commit.
Sorry.
2016-01-08 16:27:32 +09:00