Commit Graph

4598 Commits

Author SHA1 Message Date
Takayuki Shimizukawa
8e507f54a5 Merged in mitya57/sphinx (pull request #176)
Make sure setup_command test can always import Sphinx
2013-11-16 17:44:22 +09:00
Thomas Kluyver
05e3d7e798 Don't strip file extension from names in autosummary directive.
Fixes issue #1309.
2013-11-14 16:15:30 -08:00
Sascha Peilicke
310b4fb806 BuildDoc shouldn't fail on Unicode paths.
Sub-classes of sphinx.setup_command.BuildDoc may choose to call
finalize_options in their run() method again for various reasons. However,
currently this fails with py2.7 because of http://bugs.python.org/issue19570.

Since it is unlikely that the upstream issue will be solved, a workaround is
to re-implement distutils' Command._ensure_stringlike to support Unicode
strings.
2013-11-13 15:33:25 +01:00
Georg Brandl
8b986fe4db Closes #1266: include private modules if includeprivate is true. 2014-01-19 11:14:38 +01:00
Georg Brandl
644c87c9d5 Add "struct" to C++ modifiers. 2014-01-19 10:39:23 +01:00
Georg Brandl
b7a639a22b In search word highlighting, dont insist on having div.body. 2014-01-19 10:29:06 +01:00
Georg Brandl
db1b0d1d76 Closes #979: Fix exclude handling in `sphinx-apidoc`. 2014-01-19 10:13:43 +01:00
Georg Brandl
e5c1a81ed8 Closes #848: Always take the newest code in incremental rebuilds with the :mod:sphinx.ext.viewcode extension. 2014-01-19 09:54:24 +01:00
Takayuki Shimizukawa
f9758086b0 grammar fix 2014-01-19 00:23:17 +09:00
Takayuki Shimizukawa
ec06a5d7e0 add missing 'feature added' for non-ASCII filename handling. 2014-01-18 22:57:02 +09:00
Georg Brandl
de92e3b026 Closes #1285: Avoid name clashes between C domain objects and section titles. 2014-01-17 07:08:32 +01:00
Takayuki Shimizukawa
5721370438 Fix pypy test failure for b69b594 commit. refs #1337 2014-01-15 04:58:24 +00:00
Georg Brandl
78b5d9aac2 Overhaul py directive documentation, remove old practices. 2014-01-13 19:12:42 +01:00
Georg Brandl
9708319f5c docs: fix some broken links 2014-01-13 00:05:22 +01:00
Georg Brandl
5406bff1cd Closes #1292: In the linkchecker, retry HEAD requests when denied by HTTP 405.
Also make the redirect code apparent and tweak the output a bit to be
more obvious.
2014-01-12 23:52:16 +01:00
Georg Brandl
5d23ef5a8c Closes #1249: Fix duplicate LaTeX page numbering for manual documents. 2014-01-12 23:01:59 +01:00
Georg Brandl
a72406d434 Closes #1328: clarify that builder-specific tags are not available when conf.py is executed. 2014-01-12 22:40:50 +01:00
Georg Brandl
31de96330d Closes #1261: Python 3 cannot sort None and str types, make everything a str. 2014-01-12 22:34:27 +01:00
Georg Brandl
574a7962e8 Closes #618: add documenter classes to registry in autosummary standalone generate script 2014-01-12 22:19:44 +01:00
Georg Brandl
aff29be5b3 Closes #1308: Strip HTML tags from the content of "raw" nodes before feeding it to the search indexer. 2014-01-12 22:04:24 +01:00
Georg Brandl
f314c40160 Closes #1299: Make behavior of the :rst:dir:math directive more consistent and avoid producing empty environments in LaTeX output. 2014-01-12 21:48:10 +01:00
Georg Brandl
b1936aa1f3 Closes #1072: In the JS search, fix issues searching for upper-cased words by lowercasing words before stemming. 2014-01-12 21:29:35 +01:00
Georg Brandl
637e26ad0a Closes #1001: render brackets around optional arguments correctly when the arguments come before required arguments.
Thanks to Chris Jerdonek for the patch.
2014-01-12 21:01:59 +01:00
Georg Brandl
170c75a791 Closes #1289: add more well known C types as not referencable in C domain 2014-01-12 20:53:56 +01:00
Georg Brandl
123572e1db #1345: Fix two bugs with :confval:nitpick_ignore; now you don't have to
remove the store environment for changes to have effect.
2014-01-12 20:45:34 +01:00
Georg Brandl
ae234c3ded merge 2014-01-12 20:29:56 +01:00
Georg Brandl
4650f5a1b5 Fix new grammar files to have correct starting symbol at the top. 2014-01-12 20:29:37 +01:00
Georg Brandl
f2d8d2abbb Closes #1017: Be helpful and tell the user when the argument to :rst:dir:option does not match the required format. 2014-01-12 19:58:31 +01:00
Georg Brandl
09544fc5f8 Closes #1093: use max-width: 100% for images in basic/epub theme 2014-01-12 19:48:37 +01:00
Georg Brandl
42a8138c30 Closes #1152: Fix pycode parsing errors of Python 3 code by including two grammar
versions for Python 2 and 3, and loading the appropriate version for the
running Python version.
2014-01-12 19:44:04 +01:00
Georg Brandl
531d70989f Closes #1198: Allow "image" for the "figwidth" option of the :rst:dir:figure directive as documented by docutils. 2014-01-12 19:28:47 +01:00
Georg Brandl
12b3b49f22 Closes #1233: Allow finding both Python classes and exceptions with the "class" and "exc" roles in intersphinx. 2014-01-12 17:19:58 +01:00
Georg Brandl
aac72f175a Closes #1155: Fix autodocumenting C-defined methods as attributes in Python 3. 2014-01-12 16:43:14 +01:00
Georg Brandl
3f1235e2ea doc: note that "image" paths should not have spaces. 2014-01-12 16:28:27 +01:00
Georg Brandl
521719f8a1 Closes #1181: Report option errors in autodoc directives more gracefully. 2014-01-12 16:20:13 +01:00
Georg Brandl
31aed07386 Closes #1156: bring manpage up to scratch with current options and builders. 2014-01-12 16:07:21 +01:00
Georg Brandl
1ddedb523e some more markup in changelog 2014-01-12 12:47:37 +01:00
Georg Brandl
9d25862700 add link to "write the docs", move hosting chapter to home page 2014-01-12 12:44:36 +01:00
Georg Brandl
b23f0489f4 fix oversight in last commit 2014-01-11 21:40:26 +01:00
Georg Brandl
7b7579765d Closes #1085: Fix current classname not getting set if class description has `:noindex:` set. 2014-01-11 21:08:52 +01:00
Georg Brandl
d38c5cac8d Closes #1082: clarify that html_title default value does not really have placeholders 2014-01-11 21:03:56 +01:00
Georg Brandl
e38156856e Closes #1095: Fix print-media stylesheet being included always in the "scrolls" theme.
Also fixes wrong additions of stylesheets and scripts in haiku theme (probably
copy-paste error from scrolls).
2014-01-11 21:00:31 +01:00
Georg Brandl
8436f07c40 Closes #1050: Add anonymous labels into `objects.inv` to be referenced via intersphinx. 2014-01-11 20:54:42 +01:00
Georg Brandl
48524dcecc Closes #983: clarify "docstitle" behavior with singlehtml 2014-01-11 20:18:37 +01:00
Georg Brandl
32d1ebec56 Closes #949: Update the tabulary.sty packed with Sphinx. 2014-01-11 20:13:14 +01:00
Georg Brandl
8d2715ebd9 html builder: add missing "done" output 2014-01-11 19:54:58 +01:00
Georg Brandl
453290fc66 doc: make it more prominent that sub-toctrees shouldnt get :numbered:
Should be enforced programmatically at some point!
2014-01-11 19:54:47 +01:00
Takayuki Shimizukawa
63d34cca47 Add tests and code refine for pull request #190. 2013-11-12 15:17:09 +00:00
Takayuki Shimizukawa
615fe64847 Merged in mschlenker/cs-sphinx/fix-nested-figure-caption-i18n (pull request #190)
I18n does not always extract figure captions for figures nested inside other blocks
2013-11-13 00:19:21 +09:00
Michael Schlenker
6e3e439399 Find node.source recursively. In some cases (.. figure nested inside other blocks or lists), the node.parent.source is None too, so the old logic fails. Just traverse up, until we get a valid node.source or have no parent at all. 2013-11-08 14:10:07 +00:00