Commit Graph

4557 Commits

Author SHA1 Message Date
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
Michael Schlenker
89d2a53ccc Created new branch fix-nested-figure-caption-i18n 2013-11-08 14:07:08 +00:00
Michael Schlenker
ea17129ecd Add .. rubric:: to the list of special cased nodes for gettext.
The ``.. rubric:: Title`` does not get extracted in all places without, due to the missing node.source field, quite like the title fields.
2013-11-08 13:06:14 +00:00
tom prince
a7b6eb95ff Make latex commands customizable. 2013-10-29 16:40:43 -06:00
Matthew Iversen
2d36d17fd9 Add extension of included README (.rst) 2013-10-28 20:53:57 +11:00
Takayuki Shimizukawa
b17fea855b Fix: Can't search alphabetical words on the HTML quick search generated with language='ja'. Closes #1340 2014-01-07 08:50:37 +09:00
Takayuki Shimizukawa
e61f316c74 Fix autodoc with `autoclass_content="both" uses useless object.__init__ docstring when class does not have __init__`. Closes #1337
This caused by a change for #1138.
2014-01-02 12:42:12 +09:00
Takayuki Shimizukawa
f58b7c43b9 Fix autosummary template overloading with exclamation prefix cause infinite recursive function call. Closes #1335 2013-12-27 08:32:20 +00:00
Takayuki Shimizukawa
3d67be3dce Fix autosummary template overloading cause infinite recursive function call. Closes #1335 2013-12-27 05:23:47 +00:00
Matthew Iversen
ae35865abf Add extension of included README (.rst) 2013-10-28 20:53:57 +11:00
Samuel Wright
4bcb7a2c1b Fixed wording. 2013-10-25 13:22:01 +02:00
Samuel Wright
b3286c6b82 Fix for Issue #1071 2013-10-25 13:08:03 +02:00
guibog
a8f65e9d3c autodoc extension: add autodoc_mock_imports config value 2013-10-23 16:36:45 +08:00
Georg Brandl
be2f018150 Merged in minrk/sphinx/minrk/sort-inheritance-diagram (pull request #183)
sort class items in inheritance_diagram
2013-10-22 08:10:19 +02:00
Min RK
05b782078c sort class items in inheritance_diagram
avoids hash changing every time a diagram is regenerated due to random dict ordering
2013-10-21 22:27:51 +00:00
Georg Brandl
ad920a46ff Closes #1296: Fix invalid charset in HTML help generated HTML files for default locale. 2013-10-20 19:13:37 +02:00
Takayuki Shimizukawa
48fdbf375f merge heads and resolve conflicts 2013-10-13 17:55:37 +09:00
Georg Brandl
424ca5c28a test_intl fix-up after versionmodified change. 2013-10-12 22:57:09 +02:00
Georg Brandl
ddbcb5b611 Restore `versionmodified` CSS class for versionadded/changed and deprecated
directives.
2013-10-12 22:38:54 +02:00
Georg Brandl
c5ff9386d6 Fix autodoc. 2013-10-12 21:01:25 +02:00
Georg Brandl
640d9f68a7 Changelog entry for sphinx.version_info. 2013-10-12 20:48:44 +02:00
Georg Brandl
695cebd254 Add sphinx.version_info for better programmatic check of the Sphinx version. 2013-10-12 20:48:03 +02:00
Georg Brandl
d79131c680 Remove handlers for the "refcount" node. 2013-10-12 19:36:06 +02:00
Georg Brandl
ea8fad0de6 Removed the `sphinx.ext.refcounting` extension -- it is very specific to
CPython and has no place in the main distribution.
2013-10-12 19:27:49 +02:00
Takayuki Shimizukawa
b6480b164d Fix: html_theme_path=['.'] is a trigger of rebuild all documents always. 2013-10-12 17:01:55 +09:00
Georg Brandl
5287dc6c61 Merged in JonnyJD/sphinx-fix-none-property (pull request #179)
autodoc: fix annotation None for properties
2013-10-10 07:17:31 +02:00
Johannes Dewender
2e07e7dc25 autodoc: fix annotation None for properties
This is a follow-up for pull request #109
/ bdb3fadacd96cc9019440f2b3aad74f9c72b0500
2013-10-09 15:14:14 +02:00
Eric Knibbe
0b22e43653 Added more domain links. 2013-10-08 14:35:32 +00:00
Takayuki Shimizukawa
1d99547916 Now sphinx.ext.autodoc on PyPy ignoring the method of built-in classes.
For example::

   class CustomDict(dict):
       """Docstring."""

From this code, autoclass directive on PyPy generate a document output as
``class foo.CustomDict(obj, *args, **keywords)`` instead of
``class foo.CustomDict`` before this change.
2013-10-07 09:47:28 +00:00
Dmitry Shachnev
c7002b90b8 Make sure setup_command test can always import Sphinx 2013-10-05 19:36:12 +04:00
Takayuki Shimizukawa
313559116d Backed out changeset cfe9e2d11003 refs #1265 2013-10-04 08:12:20 +00:00
Takayuki Shimizukawa
603a75d8d3 Now gettext translates label target name. Fix i18n: crash when using a indirect target and translating a target section name. Closes #1265 2013-10-04 05:07:09 +09:00
Georg Brandl
7127a468d3 Added tag 1.2b3 for changeset 29b5b4c7a0d9 2013-10-03 19:56:46 +02:00
Georg Brandl
3cd645f31e Bump to 1.2b3. 2013-10-03 19:56:38 +02:00
Takayuki Shimizukawa
be65b99879 grammar fix: 'multibyte filename' is ambiguous. They are replaced with 'non-ASCII filename'. refs #703 2013-10-03 06:43:22 +00:00
Takayuki Shimizukawa
1c02e0ee29 add QGIS page for examples page 2013-10-03 06:08:24 +00:00
Takayuki Shimizukawa
e81a2d884e Added a ez_setup to replace distribute_setup. ez_setup become defacto. Closes #1264 2013-10-03 05:55:58 +00:00
Takayuki Shimizukawa
b37f385810 Add test refs #1265 (comment-6264794) to validate translated label link shifting. 2013-10-03 02:53:53 +00:00
Georg Brandl
2166403a03 Extend extension info to the module filename for each loaded ext. 2013-10-02 09:32:43 +02:00
Georg Brandl
df955e6340 Add list of extensions to the traceback log file on unhandled exceptions. 2013-10-02 09:25:09 +02:00
Georg Brandl
e56b38f528 Update localizations from tx. 2013-10-02 09:22:51 +02:00
Georg Brandl
8870db8787 grammar fix 2013-10-01 19:51:45 +02:00
Georg Brandl
895899b7bb small grammar fix in multibyte filename messages 2013-10-01 19:50:32 +02:00
Georg Brandl
33cd5e4978 Closes #1278: fix typo in attribute name in_production_list. 2013-10-01 19:46:32 +02:00
Georg Brandl
913c235e81 merge 2013-10-01 19:45:59 +02:00
Matthias C. M. Troffaes
f658625434 Do not lower() citeid in latex writer's bibitems. 2013-10-01 08:37:48 +01:00
Georg Brandl
31208a849a changelog fixup 2013-09-29 09:19:11 +02:00
Takayuki Shimizukawa
58be2f19b3 When Sphinx couldn't decode multibyte filename, now Sphinx notices UnicodeError and continuing if possible instead of raise exception. Closes #703 2013-09-28 12:51:20 +00:00
M. Nasimul Haque
05ba0766b3 Add filename option to code-block
Prepend the given filename to the code block
2013-09-26 00:56:16 +01:00