Commit Graph

6136 Commits

Author SHA1 Message Date
shimizukawa
2897846a6e Merge pull request #1751 from montefra/todo_function
todo list: link only
2016-02-08 23:21:28 +09:00
Takeshi KOMIYA
0b28ee775f Merge pull request #2064 from TimKam/feature-1970-navigate-with-keys
HTML doc: navigate with left/right arrow keys
2016-02-08 11:25:49 +09:00
Takeshi KOMIYA
9ba7cc815c Fix #2292: Some footnotes disappear from LaTeX output 2016-02-08 11:24:07 +09:00
Takeshi KOMIYA
44f6867df7 Update CHANGES for PR #1779 2016-02-07 20:10:40 +09:00
Takeshi KOMIYA
2e87bb7170 Merge pull request #1779 from takuan-osho/epub3-builder
Add EPUB 3 builder
2016-02-07 20:08:35 +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
6a2eb19cd5 Update CHANGES for PR #2282 2016-02-07 14:49:22 +09:00
Takeshi KOMIYA
e0ae8a5f6e Merge pull request #2282 from xuhdev/html-lang
Add "language" attribute to html in the "basic" theme
2016-02-07 14:48:17 +09:00
SHIMIZU Taku
bca16504d1 Add a documentation for epub3 builder. 2016-02-07 14:20:32 +09:00
SHIMIZU Taku
5cc52f46c2 Add epub3 builder to test 2016-02-07 14:20:32 +09:00
SHIMIZU Taku
f730bebf61 Add EPUB 3 builder. 2016-02-07 14:20:32 +09:00
SHIMIZU Taku
42497eb9c5 Add hook point for creating epub3 builder. 2016-02-07 14:20:32 +09:00
Anselm Kruis
0311f33347 Feature: enhance autoclass:: to use the docstring of __new__
The method new is an alternative to __init__, but autoclass does not 
respect __new__. This commit enhances the directive autoclass:: to try
__new__ method's docstring, if __init__ method's docstring is missing or
empty.

The commit also adds tests and updates the documentation.
2016-02-05 19:09:43 +01: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
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
Hong Xu
30d3d4d82f Add "language" attribute to html in the "basic" theme 2016-01-30 23:58:46 -08: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
Jakob Lykke Andersen
5c363a683e Fix :cpp:any: fix_paren with explicit title. 2016-01-28 13:19:23 +09:00
Rob Ruana
678f6066f5 Fix #2227: [Napoleon] Fixes issue in which bulleted lists in parameter descriptions could cause the sphinx builder to fail 2016-01-27 10:16:12 -08:00
Jakob Lykke Andersen
a66041b541 Fix exception on reference lookup in C++ domain.
Fixes sphinx-doc/sphinx#2271.
2016-01-27 23:46:29 +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
dd08a3ac29 Add testcase for image globbing 2016-01-27 01:27:05 +09:00
Takeshi KOMIYA
773dc9dac3 Register DummyBuilder as built-in 2016-01-27 01:06:57 +09:00
Takeshi KOMIYA
18daa75b7f Update CHANGES (ref: #2264) 2016-01-26 10:55:47 +09:00
Takeshi KOMIYA
e27a218594 Merge pull request #2237 from tk0miya/2022_copy_dotfiles_in_html_extra_path
Fix #2022: html_extra_path also copies dotfiles and refers exclude_patterns
2016-01-24 19:40:14 +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
Takeshi KOMIYA
9ed3d51826 Fix #1944: rst_prolog breaks file-wide metadata 2016-01-24 17:32:42 +09:00
shimizukawa
b1a23817fc Merge with 'stable' 2016-01-24 13:47:51 +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
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