Commit Graph

6266 Commits

Author SHA1 Message Date
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
Takeshi KOMIYA
8c8f3dbc9b Merge pull request #2208 from tk0miya/2027_html_title_only_accepts_string
Fix #2027: ``make epub`` got errors if ``html_title`` is None
2016-01-17 18:59:44 +09:00
shimizukawa
198d4a41ad refs #2022: 'Thumbs.db' and '.DS_Store' are added to exclude_patterns default values in conf.py that will be provided on sphinx-quickstart. 2016-01-17 17:17:13 +09:00
Georg Brandl
3e53d017ac Merge branch 'stable' 2016-01-17 09:08:56 +01: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
Takeshi KOMIYA
121fc4a326 Fix #1030: Make page reference names for latex_show_pagerefs translatable 2016-01-16 23:59:13 +09:00
Takeshi KOMIYA
2803b64b5d Refactor around babel 2016-01-16 23:59:13 +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
78f0ec40ea Merge pull request #2241 from xuhdev/latex-skip
Run LaTeX in testing: don't skip the test unless all latexes do not exist
2016-01-16 14:35:45 +09:00
Hong Xu
875e6a503b Run LaTeX in testing: don't skip the test unless all latexes do not exist
Until now when one of the 3 latexes (pdflatex, xelatex, lualatex) does
not exist, the test was skipped. This commit changes the behavior to
"unless none of the 3 latexes exists, don't skip the test".
2016-01-15 11:39:17 -08:00
Takeshi KOMIYA
6b36b31984 Fix #2231: Use DUrole instead of DUspan for custom roles in LaTeX writer 2016-01-16 02:12:17 +09:00
Takeshi KOMIYA
3432377669 Update error message if sphinx_rtd_theme not found 2016-01-15 21:14:04 +09:00
Takeshi KOMIYA
8318b87642 Merge pull request #2236 from xuhdev/run-latex-tests
Move the testing code which spawns pdflatex to a function
2016-01-15 21:10:35 +09:00
Hong Xu
afcc7f4626 Move the testing code which spawns pdflatex to a function
There are currently two locations in the testing code running the same
code to spawn pdflatex. This commit puts these code into one single
function to reduce redundancy.
2016-01-15 01:48:49 -08:00
shimizukawa
0d5bdd3d8f update CHANGES for #2087 2016-01-15 12:02:02 +09:00
Takayuki SHIMIZUKAWA
4391521b81 Merge pull request #2087 from cppformat/optional-rtd
refs #2087, #2086, #1845, #2097: Make sphinx_rtd_theme optional
2016-01-15 11:55:09 +09:00
Georg Brandl
6b7b51a55a Obligatory copyright update. 2016-01-14 22:55:22 +01:00
Georg Brandl
4f72bdb722 Merge branch 'stable' 2016-01-14 22:54:08 +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
f824539119 merge with stable 2016-01-13 00:13:35 +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
Takeshi KOMIYA
3ebee4d22d Merge pull request #1934 from jpic/styleguide_link
Link to Python's Style Guide for documentation.
2016-01-11 01:38:45 +09:00
Takeshi KOMIYA
e4b9eb51f6 Merge branch 'stable' 2016-01-11 00:27:26 +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
shimizukawa
e5860fd75c Merge with '87998df9cbef2380345d436121e6bca43345d2bd' on stable
Conflicts:
	tests/test_build_latex.py
2016-01-10 10:21:27 +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
1e2fbd463b Refactoring `sphinx.ext.todo`; because of deprecation of make_admonition() 2016-01-10 01:27:08 +09:00