Commit Graph

6350 Commits

Author SHA1 Message Date
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
a88212a214 Update CHANGES for #1751 and #2074. 2016-02-09 17:38:07 +09:00
Takayuki SHIMIZUKAWA
07c10e540f Merge pull request #2074 from techtonik/patch-1
gettext: use canonical relative paths for .pot
2016-02-09 16:57:34 +09:00
anatoly techtonik
281bf2ae3a gettext: use new osutil.canon_path() 2016-02-09 10:45:11 +03:00
anatoly techtonik
9c53796f87 add inverse of util.os_path for canonical path generation 2016-02-09 10:45:11 +03:00
anatoly techtonik
aef2d8cffb gettext: use canonical relative paths for .pot 2016-02-09 10:45:11 +03:00
shimizukawa
eb9c85f4ea fix flake8 2016-02-09 00:27:21 +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
shimizukawa
e2208c12a0 Update CHANGES and documentation for #1751. 2016-02-08 23:31:02 +09:00
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