Commit Graph

4215 Commits

Author SHA1 Message Date
A. Jesse Jiryu Davis
6945551c20 Respect add_autodoc_attrgetter() even when inherited-members is set 2013-01-31 12:22:11 -05:00
Takayuki Shimizukawa
a86ea846e2 Fix :term: doesn't link to glossary if term text translated. refs #1090 2013-01-30 23:41:37 +09:00
Takayuki Shimizukawa
9735ec0a74 fix source and line value for glossary term. refs #1090 2013-01-30 00:49:41 +09:00
Takayuki Shimizukawa
6f4764f77b Fix gettext does not extract glossary terms. Closes #1090 2013-01-30 00:13:58 +09:00
Takayuki Shimizukawa
de1f19da36 fix debug2 UnicodeEncodeError issue caused by docutils Element.__repr__() return unicode object if Element['names'] contain unicode object.
This is maybe docutils issue: https://sourceforge.net/tracker/?func=detail&aid=3601607&group_id=38414&atid=422030
2013-01-21 03:44:31 +00:00
Takayuki Shimizukawa
60f6fc4805 fix debug2 UnicodeEncodeError issue with multibyte names node 2013-01-21 08:09:43 +09:00
Takayuki Shimizukawa
fbd63617cf add installations for each environments 2013-01-20 16:06:04 +09:00
Georg Brandl
b8aba34add merge default heads 2013-01-19 21:15:11 +01:00
Georg Brandl
158db97669 null merge with stable 2013-01-19 21:14:50 +01:00
Georg Brandl
926cd01168 Remove devguide mention. 2013-01-19 21:14:22 +01:00
Georg Brandl
20279b07a4 New doc design "sphinx13". 2013-01-18 23:17:11 +01:00
Georg Brandl
0939d6fcdb New doc design "sphinx13". 2013-01-18 23:17:11 +01:00
Takayuki Shimizukawa
a1bf7dbcf8 fix: output all html every time with python3.3.
Sphinx detect config changing by hash(str(cfgdict)).
In python3.3, str(dict_instance) retun another string per process.
2013-01-15 14:16:16 +09:00
Takayuki Shimizukawa
6e4a36d2fe fix: import xml confusing. 2to3 converted import xml.etree.... into from . import ... 2013-01-14 16:56:26 +09:00
Georg Brandl
59dc803aba builders: the text and xml builders can be parallelized too 2013-01-14 08:41:41 +01:00
Georg Brandl
c59cb9d6f6 docs: document -j option and add changelog 2013-01-14 08:38:46 +01:00
Georg Brandl
3889a1158f builder: reduce # of subprocesses to N-1 for -jN, since the main process is also busy now 2013-01-14 08:35:41 +01:00
Georg Brandl
2b06c656c1 faq: add sphinx-contrib 2013-01-14 00:07:19 +01:00
Georg Brandl
0701c850d2 faq: add Hieroglyph 2013-01-14 00:02:51 +01:00
Georg Brandl
b8967b4ee8 tutorial: make "documentation collection" clearer 2013-01-14 00:01:18 +01:00
Georg Brandl
5cd0841e5f builder: fix parallel build globals problems by splitting write_doc in two
stages: write_doc() and write_doc_serialized(), the latter of which is not
called in the parallel processes.

This costs speedup, of course: from about 50% we are down to about 30%
improvement on my 4-core machine.
2013-01-13 19:46:34 +01:00
Georg Brandl
83c6b8231e Set "allow_parallel" to false by default. 2013-01-13 19:44:09 +01:00
Georg Brandl
53d1d79ff8 builder: implement parallel writing based on multiprocessing
Does not work completely yet: globals such as the search index and
images for HTML are not updated properly: this needs a new API.
2013-01-13 17:27:09 +01:00
Georg Brandl
2e4608039c builder: make the status_iterator more flexible by supplying a function
used to stringify the current item for display
2013-01-13 17:25:34 +01:00
Georg Brandl
c88ba504f3 Introduce a "-j" flag for parallel build. 2013-01-13 14:15:45 +01:00
Georg Brandl
b831acf617 Refactor the "usage" help text into several sections. 2013-01-13 14:12:33 +01:00
Georg Brandl
95c45a0ab3 autodoc: debug module analyzer failure 2013-01-13 14:05:40 +01:00
Georg Brandl
9b4efc9ba3 Fix pyflakes issues. 2013-01-13 10:26:52 +01:00
Georg Brandl
7d68f0e4a2 Fix long lines reported by "make check". 2013-01-13 10:22:38 +01:00
Georg Brandl
1bf5a17534 Closes #1076: document new sphinx-build options. 2013-01-12 22:45:47 +01:00
Nozomu Kaneko
58c0c79c17 use `nodes.inline` with a "translatable" attr instead 2013-01-13 02:14:00 +09:00
Takayuki Shimizukawa
3a5277c14c fix: autodoc documented descriptor class as attribute 2013-01-12 18:12:55 +09:00
Takayuki Shimizukawa
f363ef400e figure-caption work-around set int or None to node.line instead of empty string. 2013-01-12 22:30:40 +09:00
Takayuki Shimizukawa
9f8f93e5e1 fix test_seealso failed with python3 2013-01-12 22:26:38 +09:00
Georg Brandl
7d2715ab17 autodoc: use debug2() and [autodoc] prefix 2013-01-12 12:43:00 +01:00
Georg Brandl
72132ffebd Verbosity: add another "debug2" function for level 3, use it for event debugging. Prefix debug messages with component name. 2013-01-12 12:35:04 +01:00
Georg Brandl
f022886032 Write "making output directory" to the status fd, not to stderr unconditionally. 2013-01-12 12:22:30 +01:00
Georg Brandl
c1176a1bdb Write verbose/debug messages to status fd, not warning fd. 2013-01-12 12:22:13 +01:00
Georg Brandl
7089bd5ff6 Add a link to the Sphinx homepage when sphinx-build is called with -h. 2013-01-12 12:18:56 +01:00
Jonathan Waltman
4eead33488 Fix local search which was broken by correcting JS issues found by JSHint (commit 46d08152a30d) 2013-01-10 21:58:18 -06:00
Jonathan Waltman
e26b02e23e Closes #1070: Avoid un-pickling issues under Python 3 when accessing doctrees saved under Python 2. 2013-01-09 08:58:28 -06:00
Jonathan Waltman
61e951d2ed Closes #1069: Fix autodoc signature formatting of "partial" functions without kwargs (patch by Artur Gaspar). 2013-01-09 08:42:59 -06:00
Jonathan Waltman
bba6104b84 Issue #1069: Add failing test for signature formatting of "partial" functions without kwargs. 2013-01-09 08:37:53 -06:00
Jonathan Waltman
69b74303b8 Merged in rolmei/sphinx-epub (pull request #106: Add includehidden option to the toctree directive) 2013-01-07 22:12:03 -06:00
Jonathan Waltman
d1a666aef9 Use default values for latex_documents, man_pages, and texinfo_documents if not set in conf.py. 2013-01-07 01:29:53 -06:00
Jonathan Waltman
0ef7a0a7a3 Add missing "meta" and "inline" node visitors for the manpage writer. 2013-01-07 00:33:27 -06:00
Jonathan Waltman
7fd138b588 Avoid AssertionError about losing the "ids" attribute when resolving pending_xrefs created in the CitationReferences transformation. 2013-01-07 00:30:49 -06:00
Jonathan Waltman
b98123cd12 Add man_pages config to tests/root/conf.py. 2013-01-06 23:42:25 -06:00
Jonathan Waltman
f4a346760c Fix test_man which didn't test if docs were being built. It now successfully fails. 2013-01-06 23:36:33 -06:00
Roland Meister
1639f59726 Add includehidden option to the toctree directive
This option is equivalent to the includehidden option of the template function
toctree() and allows to restore to the toctree behaviour prior to version 1.1.
See also bug #790.
2013-01-06 14:55:35 +01:00