Commit Graph
100 Commits
Author SHA1 Message Date
Takayuki Shimizukawa fb2c15eaa7 * fix again for mathjax secure url. refs #1459. 2014-06-11 23:03:00 +09:00
Takayuki Shimizukawa 08dac9c3b7 Merged in stevepiercy/sphinx/stevepiercy/update-pylons-link-add-pyramid-and-subst-1402445058989 (pull request #249)
Update Pylons link, add Pyramid and Substance D
2014-06-11 09:28:05 +09:00
Takayuki Shimizukawa 74fbd611ab merge with stable 2014-06-09 22:45:05 +09:00
Takayuki Shimizukawa 1d742bdcf5 * Fix exception on Python3 if nonexistent method is specified by automethod. Closes #1467 2014-06-09 01:43:34 +09:00
Takayuki Shimizukawa 52331a04c3 * Provide non-minified JS files for jquery.js and underscore.js to clarify the source of the minified files. refs #1434. 2014-06-07 18:32:56 +09:00
Takayuki Shimizukawa c8e2fd8683 * add Open Dylan site for 'examples'. 2014-06-07 16:31:10 +09:00
Takayuki Shimizukawa f3df14965e update CHANGES for #1459,PR#244 mathjax http:// url. 2014-06-05 18:07:27 +09:00
Takayuki Shimizukawa 9ebee01d19 * update CHANGES and fix for py3-compat for pull request #241. Closes #1466 2014-05-28 00:14:50 +09:00
Takayuki Shimizukawa a8c2bd4f1f Merged in vitaut/sphinx/cpp-variadic (pull request #241)
Add support for variadic templates in C++ domain
2014-05-28 00:08:48 +09:00
Takayuki Shimizukawa 6746c83a18 * Drop Python-3.2. And now, removing 2to3 mechanism procedure has been completed. Closes #1350.
Pygments-2.0 will drop Python-3.2.
The snowballstemmer package that is referred from sphinx-1.3 (that is merged at pull request #214) has not supported Python-3.2.

We decided to drop the Python-3.2.

see also https://bitbucket.org/birkenfeld/sphinx/pull-request/243/native-py2-py3-support-without-2to3-refs
2014-05-27 23:17:36 +09:00
Takayuki Shimizukawa a335414b81 Merged in shimizukawa/sphinx-py3-native (pull request #243)
native py2/py3 support without 2to3. refs #1350
2014-05-27 23:01:35 +09:00
Takayuki Shimizukawa 6beeeeb827 remove unnecessary list() wrappers. In some places, I replaced iterable.sort() with sorted(iterable). 2014-05-25 09:25:02 +09:00
Takayuki Shimizukawa edb8fd96bd Fix: make-mode will work with sphinx-build command that is generated from setup.py entry_points definition.
This fix relates to https://bitbucket.org/birkenfeld/sphinx/pull-request/203/add-make-mode-to-sphinx-build-invoked-by/diff#comment-1133945
2014-05-25 02:06:39 +09:00
Takayuki Shimizukawa 80fd0f72d9 Merged in shimizukawa/sphinx-use-six (pull request #238)
using six package for py2/3 compatibility without 2to3. refs #1350
2014-05-25 01:29:49 +09:00
Takayuki Shimizukawa 191f29279f Merged in davidjb/sphinx/tag-documentation (pull request #240)
Add clarification about the syntax of tags
2014-05-12 11:16:13 +09:00
Takayuki Shimizukawa 187431b8ea update CHANGES for string length of the websupport db schema. 2014-05-05 16:21:32 +09:00
Takayuki Shimizukawa c84ce436b6 Merged in solos/sphinx (pull request #235)
fix node_id String length
2014-05-05 16:14:44 +09:00
Takayuki Shimizukawa 7a44d4d0eb fix: For a apidoc -M feature, packages with empty docstring caused a syntax error. Closes #1456.
# see also pull request #236
2014-05-05 12:22:58 +09:00
Takayuki Shimizukawa d50feaaec3 Merged in westurner/sphinx/apidoc_output_order (pull request #236)
#1456: apidoc: Add a -M option to put module documentation before submodule documentation
2014-05-05 12:15:41 +09:00
Takayuki Shimizukawa 82a53382d5 Fix: In python3 environment, make linkcheck cause "Can't convert 'bytes'
object to str implicitly" error when link target url has a hash part.
Thanks to Jorge_C. Closes #1457
2014-05-04 00:43:50 +09:00
Takayuki Shimizukawa 3ae8906447 fix: make-mode can't handle extra options that passed as SPHINXOPTS 2014-05-03 13:41:02 +09:00
Takayuki Shimizukawa 15879896fd remove custom_fixers. it is not needed anymore. 2014-05-03 13:26:36 +09:00
Takayuki Shimizukawa ba4dcaa8dd use b prefix for bytes instead of sphinx.pycompat.b function. 2014-05-01 22:54:09 +09:00
Takayuki Shimizukawa 5c6d6c8e24 Add Python-3.4 support 2014-05-01 20:54:41 +09:00
Takayuki Shimizukawa 75e22ba522 delegate '__nonzero__' to '__bool__' for py2/py3 compatibility in one source. #1350 2014-05-01 20:14:19 +09:00
Takayuki Shimizukawa 956d6286bf remove 2to3. #1350. 2014-05-01 17:27:27 +09:00
Takayuki Shimizukawa b00d97a86f use py2/py3 compat except syntax. #1350. 2014-05-01 13:22:22 +09:00
Takayuki Shimizukawa 5fd8dc885f fix py2/py3 compat for 'iter.next()/next(iter)' and 'dict.values()/list(dict.values())'. refs #1350. 2014-05-01 13:08:36 +09:00
Takayuki Shimizukawa 071fb45a54 use 'next(iter)' instead of 'iter.next()' to support py2/py3 compatibiity. refs #1350. 2014-05-01 12:49:47 +09:00
Takayuki Shimizukawa 27ac856300 tiny fix for py2/py3 compatibility in one source. 2014-05-01 00:09:44 +09:00
Takayuki Shimizukawa 2d1549b35a wrap py3 iterators with list() for each places that expect a list object. refs #1350. 2014-04-30 23:25:44 +09:00
Takayuki Shimizukawa 6ae3b68859 replace ur'' prefix with r'' to support py2/py3 in one source. refs #1350 2014-04-30 23:04:21 +09:00
Takayuki Shimizukawa 1e58062692 remove 'six' name except importing line. 2014-04-30 21:30:46 +09:00
Takayuki Shimizukawa f31d9113ff use six privided functions/classes to support py2/py3 in one source. refs #1350 2014-04-30 20:39:26 +09:00
Takayuki Shimizukawa 9dbb6bf092 use UnicodeMixin for __str__, __unicode__ to support py2/py3 in one source. refs #1350. 2014-04-30 00:31:09 +09:00
Takayuki Shimizukawa 00eff0b7f6 use six privided text_type() to replace with unicode() to support py2/py3 in one source. refs #1350. 2014-04-29 23:44:12 +09:00
Takayuki Shimizukawa 91b9d75ac8 provide __next__() and use native next() to support py2/py3 in one source. refs #1350. 2014-04-29 21:54:25 +09:00
Takayuki Shimizukawa 49944cfa52 wrap iterator with list() to avoid 'dictionary changed size during iteration' on py3. refs #1350. 2014-04-29 22:43:58 +09:00
Takayuki Shimizukawa ce4d342e20 use six privided iteritems(),itervalues() to support py2/py3 in one source. refs #1350. 2014-04-29 21:20:56 +09:00
Takayuki Shimizukawa c3c879f2c6 use six privided functions/classes to support py2/py3 in one source. refs #1350. 2014-04-29 19:59:58 +09:00
Takayuki Shimizukawa 68290a266c introduce the six module and reduce sphinx.util.pycompat implementation. refs #1350. 2014-04-29 11:46:47 +09:00
Takayuki Shimizukawa 1e4b390b22 remove tests.util.write_file duplicated implementation. 2014-04-28 19:58:26 +09:00
Takayuki Shimizukawa 638458038d tiny documentation fix 2014-04-28 19:41:14 +09:00
Takayuki Shimizukawa ecaeff1689 refactoring the test_autosummary.py 2014-04-12 00:24:53 +09:00
Takayuki Shimizukawa 8f69e25c85 * Fix: autosummary does not create the description from attributes docstring. Closes #1444 2014-04-11 23:38:37 +09:00
Takayuki Shimizukawa 43a9881c4b Fix i18n: missing python domain's cross-references with currentmodule directive or currentclass directive. refs #1363
* node attributes 'py:module', 'py:class' is provided from environment (e.x. currentmodule directive is provided on previous line, not on node)
* Because translation nodes are parsed in independently, 'provided attributes by environment' are not exist.
* For a pending_xref nodes, all attributes of a translated xref node should be same as original xref node in current test cases.
* For the above reasons, I overwrite all attributes from origonal node to new translated xref node.
2014-03-23 23:01:15 +09:00
Takayuki Shimizukawa b751d5db52 Fix: Generated i18n sphinx.js files are missing message catalog entries from '.js_t' and '.html'. The issue was introduced from Sphinx-1.1. Closes #1419 2014-03-21 10:58:41 +09:00
Takayuki Shimizukawa c68104b1be Fix a change of pull request #96 that break sphinx.util.docfields.Field.make_field interface/behavior for item argument usage. Closes #1367 2014-03-02 16:02:46 +09:00
Takayuki Shimizukawa 194e50fd2d Fix 'make gettext' fails when the '.. todolist::' directive is present. Closes #1364
Nodes that are replicated like todo don't have a uid, however i18n also unnecessary.
If extensions need to choose i18n for the extended nodes or not, we need another approach.
2014-03-02 14:40:29 +09: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
Takayuki Shimizukawa db9d91e8cc remove note it become useless anymore. 2014-01-18 21:47:20 +09:00
Takayuki Shimizukawa c5bd935001 merge heads 2014-01-18 20:41:43 +09:00
Takayuki Shimizukawa dd41adf0a0 merge heads 2014-01-18 16:34:47 +09:00
Takayuki Shimizukawa b6005b22ef Fix: The application now check extra Python versions (3.0, 3.1) to stop invoking. And fix a trivial comment. 2014-01-18 16:30:54 +09:00
Takayuki Shimizukawa cc7509966c merge heads 2014-01-15 05:25:56 +00:00
Takayuki Shimizukawa 295fdf46f8 merge with stable 2014-01-15 04:59:51 +00:00
Takayuki Shimizukawa 5721370438 Fix pypy test failure for b69b594 commit. refs #1337 2014-01-15 04:58:24 +00:00
Takayuki Shimizukawa bcff26c6da update a Intersphinx tutorial section. refs #1325 2013-12-18 08:33:37 +09:00
Takayuki Shimizukawa 1367f6f9c6 Added a "Intersphinx" tutorial section. (:file:doc/tutorial.rst). Closes #1325 2013-12-17 23:54:30 +09:00
Takayuki Shimizukawa 2050285ebf Drop docutils-0.7, 0.8 and 0.9 support 2013-12-15 16:25:01 +09:00
Takayuki Shimizukawa f7cb510ebd Drop python-3.1 and remove support codes 2013-12-15 16:04:23 +09:00
Takayuki Shimizukawa a8fc938d1b Drop python-2.5 and remove 2.4,2.5 support codes 2013-12-15 14:16:53 +09:00
Takayuki Shimizukawa 1d5c7d1f20 Fix: autodoc class __init__ override not removed from docstring. Closes #1138 2013-12-09 10:55:51 +00:00
Takayuki Shimizukawa 4fd9d846d6 Fix: 97d5dd1 drop config.templates_path for loader path 2013-12-09 09:43:26 +00:00
Takayuki Shimizukawa ff15231142 Merged in shimizukawa/sphinx-fix-buildtrigger-exclude-themepath (pull request #181)
Fix: `html_theme_path=['.']` is a trigger of rebuild all documents always.
2013-12-09 17:55:39 +09:00
Takayuki Shimizukawa a35e61c8be Merged in shimizukawa/sphinx-fix-pypytest (pull request #177)
Fix PyPy test failed
2013-12-09 17:54:48 +09:00
Takayuki Shimizukawa 6432f65347 fix test error; can't remove empty directory problem on Windows. 2013-12-08 16:58:34 +09:00
Takayuki Shimizukawa 3db7c9a8d5 Fix ResourceWarnings with Python 3.2 or later. Closes #1269 2013-11-17 08:37:28 +00:00
Takayuki Shimizukawa d96de9d128 Fix test_linkcode.test_html fails with C locale and Python 3. Closes #1311 2013-11-17 03:39:27 +00:00
Takayuki Shimizukawa 02be06ac7f update CHANGES for 72d25c9 2013-11-16 08:54:25 +00:00
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
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
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
Takayuki Shimizukawa 48fdbf375f merge heads and resolve conflicts 2013-10-13 17:55:37 +09:00
Takayuki Shimizukawa b6480b164d Fix: html_theme_path=['.'] is a trigger of rebuild all documents always. 2013-10-12 17:01:55 +09: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
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
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
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
Takayuki Shimizukawa 445bb5daec fix: A wrong conditoin check break search feature on first page that is usually index.rst. This issue was introduced at 46d0815, cfbdd84. 2013-09-26 00:10:23 +09:00
Takayuki Shimizukawa 5def0cc353 Merged in alimony/sphinx/add_missing_epub_options (pull request #170)
Add two missing epub options to the default conf.py
2013-09-23 23:01:48 +09:00
Takayuki Shimizukawa 9d47a7f0cc update CHANGES for removing 'sphinx' prefix from latex document class name 2013-09-23 22:58:37 +09:00
Takayuki Shimizukawa dab3f56267 Merged in erikb85/sphinx (pull request #154)
Removing "sphinx" prefix from Latex class parsing
2013-09-23 22:53:10 +09:00
Takayuki Shimizukawa 7682f477dc Fix i18n: crash when translating section name that is pointed from named target. Closes #1265 2013-09-23 19:53:22 +09:00
Takayuki Shimizukawa c7114f704b Merged in techtonik/sphinx-1/techtonik/add-link-to-irc-channel-1379750124356 (pull request #169)
add link to IRC channel
2013-09-23 10:05:54 +09:00
Takayuki Shimizukawa 53810ae607 fix: test_build_latex and test_build_texinfo raise SkipTest if command missing. Closes #1184. 2013-09-23 09:57:36 +09:00
Takayuki Shimizukawa 99008f5b78 Fix again: NFC/NFD normalizing problem. Closes #1142 2013-09-18 08:51:20 +00:00
Takayuki Shimizukawa 94fd97c6f3 Ignoring the string consists only of white-space characters. Closes #1234 2013-09-17 12:10:42 +00:00
Takayuki Shimizukawa 1ca7b1c713 Fix NFC/NFD normalizing problem of rst filename on Mac OS X. Closes #1142 2013-09-17 20:32:18 +09:00
Takayuki Shimizukawa 93e7623cd8 Add feature: theme package collection by using setuptools plugin mechanism. 2013-09-16 23:57:58 +09:00
Takayuki Shimizukawa b3af8c6676 add Learning Sphinx book for EXAMPLES too. 2013-09-16 15:36:54 +09:00