Commit Graph
100 Commits
Author SHA1 Message Date
Takayuki Shimizukawa e5cb460d8b * update old XPath notation 2014-08-11 14:19:14 +09:00
Takayuki Shimizukawa 1d65d9cdc6 rename test files 2014-08-10 23:47:27 +09:00
Takayuki Shimizukawa d39327d539 * for pull request #258: update CHANGES, add tests, add a document and refactoring. 2014-08-10 23:03:02 +09:00
Takayuki Shimizukawa 4f357d9edd Merged in zsiddiqui2/sphinx (pull request #258)
Problematic Whitespace stripped
2014-08-10 22:29:34 +09:00
Takayuki Shimizukawa ed9de1c9e8 * provide _copy_to_temp option for TestApp() 2014-08-10 22:23:52 +09:00
Takayuki Shimizukawa 14353b30c2 for pull request #263, update CHANGES, fix for py26, fix for pep8. 2014-08-10 22:05:05 +09:00
Takayuki Shimizukawa 8dcd094a30 Merged in jakobla/sphinx (pull request #263)
Rewrite of C++ domain (also fixes #1013, #1103)
2014-08-10 20:02:37 +09:00
Takayuki Shimizukawa e19f97dae1 refactoring. remove old python related code (from sha import sha) 2014-08-10 17:01:21 +09:00
Takayuki Shimizukawa 7aed098f5d refactoring at 37664fe44c7 is not correct. reverting. Thanks @tk0miya. refs pull request #264 2014-08-10 17:00:09 +09:00
Takayuki Shimizukawa 4b1485f421 * for PR#265: update CHANGES, small refactoring. 2014-08-10 16:53:09 +09:00
Takayuki Shimizukawa d4da4c7f4a Merged in tk0miya/sphinx (pull request #265)
Fix could not capture caption of graphviz node by xref
2014-08-10 16:46:35 +09:00
Takayuki Shimizukawa c3fdd2a9c3 * refactoring 2014-08-10 16:31:28 +09:00
Takayuki Shimizukawa 68949656b2 * for PR#264: update CHANGES, add tests, small refactoring. 2014-08-10 16:28:31 +09:00
Takayuki Shimizukawa 5191696c5b Merged in tk0miya/sphinx (pull request #264)
Fix could not resolve xref for figure node with :name: option
2014-08-10 14:33:27 +09:00
Takayuki Shimizukawa 3efd230a0e fix test caused by previious commit: 989c16e04371c 2014-08-05 01:54:56 +09:00
Takayuki Shimizukawa f7399a261a Add app.set_translator() API to register or override a Docutils translator class like :confval:html_translator_class. 2014-08-05 00:18:54 +09:00
Takayuki Shimizukawa 2e1c16486c * fix code to pass test, add versionadded to doc, update CHANGES for pull request #229 2014-08-03 19:19:31 +09:00
Takayuki Shimizukawa 9191ffaa50 Merged in russell/sphinx-pluggable-translators (pull request #229)
Allow registration of other translators
2014-08-03 18:52:02 +09:00
Takayuki Shimizukawa e0ce77db1b * update CHANGES for pull request #260 2014-08-03 17:45:21 +09:00
Takayuki Shimizukawa 6580b23b90 Merged in lennart0901/sphinx (pull request #260)
Encode underscore in citation labels for latex export
2014-08-03 17:43:40 +09:00
Takayuki Shimizukawa 721e4ad5a0 * update CHANGES for pull request #255 2014-08-03 16:42:28 +09:00
Takayuki Shimizukawa 55bf3c27cf Merged in olivier-heurtier/sphinx (pull request #255)
When generating latex references, also insert latex target/anchor for the ids defined on the node (mimic HTML writer behavior)
2014-08-03 16:39:00 +09:00
Takayuki Shimizukawa eb8dbf4631 Fix malformed po files in the test-intl directory 2014-08-03 14:34:40 +09:00
Takayuki Shimizukawa da4c67e2a3 When specifying toctree :numbered: option and :tocdepth: metadata, sub section number that is larger depth than :tocdepth: is shrinked. Closes #1251. 2014-08-02 18:10:41 +09:00
Takayuki Shimizukawa 24280fd90d * refactoring: metadata (docinfo) type normalization and add test. 2014-08-02 16:39:07 +09:00
Takayuki Shimizukawa 6630255a10 * Fix: Undecodable source reading cause UnicodeDecodeError instead of emitting warnings. Thanks to anatoly techtonik. Closes #1524 2014-07-30 02:47:22 +09:00
Takayuki Shimizukawa 5abfce5a2c Merged in techtonik/sphinx-1/techtonik/raise-six-requirement-to-14-when-userstr-1406538263417 (pull request #259)
raise six requirement to 1.4+ when UserString was added
2014-07-28 22:19:19 +09:00
Takayuki Shimizukawa 464fcf5d17 Now sphinx.roles.abbr_role pass through **options to addnodes.abbriviation. Closes #1515 2014-07-26 07:21:20 +02:00
Takayuki Shimizukawa 8aa302f46c Using same word before. 2014-07-26 07:19:40 +02:00
Takayuki Shimizukawa da20c3713b merge with stable 2014-07-13 11:43:12 +09:00
Takayuki Shimizukawa 269421bc58 * Fix: Non-ASCII filename raise exception on make singlehtml, latex, man, texinfo and changes. Closes #1508 2014-07-13 10:44:48 +09:00
Takayuki Shimizukawa e2ed97031d use test generator nosetests feature. 2014-07-12 22:14:14 +09:00
Takayuki Shimizukawa 91709946d6 * Fix: py:function directive generate incorrectly signature when specifying a default parameter with an empty list []. Closes #1503 2014-07-12 20:50:15 +09:00
Takayuki Shimizukawa 090d269d45 Merged in tk0miya/sphinx/tk0miya/do-not-enter-password-of-transifex-at-co-1404623350328 (pull request #253)
Do not enter password of transifex at command line by security reason
2014-07-07 13:40:55 +09:00
Takayuki Shimizukawa 0fc0ccfa4d * sync message text in Makefile/make.bat and make-mode.
* update CHANGES for adding coverage targets.
2014-07-05 09:30:11 +09:00
Takayuki Shimizukawa b1a24fab86 Merged in mcmtroffaes/sphinx-make-coverage (pull request #159)
Add coverage targets to quickstart generated Makefile and make.bat.
2014-07-05 09:21:16 +09:00
Takayuki Shimizukawa c8e0a8759d Update documentation and sphinx-build -N option behavior for windows color console support. closes #1291. 2014-07-05 01:39:13 +09:00
Takayuki Shimizukawa 6ab7a2cbec Windows color console support. update for pull request #252. 2014-07-05 01:16:33 +09:00
Takayuki Shimizukawa 4d69072f44 * Fix: autodoc, autosummary: importing setup.py will invoke setup process and execute sys.exit(). Now sphinx avoids SystemExit exception and emits warnings without unexpected termination. Closes #1226 2014-07-05 00:11:59 +09:00
Takayuki Shimizukawa b3aa4aa81b * In autodoc, fix display of parameter defaults containing backslashes. Closes #1502 2014-07-02 00:09:11 +09:00
Takayuki Shimizukawa f781f55b28 * With non-callable setup in a conf.py, now sphinx-build emits user-friendly error message. Closes #1499 2014-06-30 22:54:28 +09:00
Takayuki Shimizukawa ff8ce91f77 * Fix: autosummary can't handle nested classes correctly. Closes #1441 2014-06-21 17:05:31 +09:00
Takayuki Shimizukawa 2ba3e561b2 * fix over 80 chars line and remove unused import. 2014-06-15 15:42:23 +09:00
Takayuki Shimizukawa f4928987f0 Merged in shimizukawa/sphinx-remove-complex-method-distinguishing (pull request #246)
remove complex distinguishing method/classmethod/staticmethod approach for autodoc
2014-06-15 12:28:04 +09:00
Takayuki Shimizukawa 0fb938ad38 * add test and code comment for pull request #157 2014-06-14 17:03:57 +09:00
Takayuki Shimizukawa 2274bfc38b Merged in David_Ham/sphinx (pull request #157)
Remove spurious signatures from @property decorated attributes
2014-06-14 16:37:29 +09:00
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 5e5a1725ed * remove PY3 importing 2014-06-10 00:51:45 +09:00
Takayuki Shimizukawa e4f19a6b67 * remove complex distinguishing method/classmethod/staticmethod approach 2014-06-09 23:03:31 +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