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
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
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
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
Lennart Fricke
7a9cc9f95b
Escape underscore in citation labels for latex export
2014-07-31 08:55:29 +02: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
Lars Buitinck
5a13bce2e2
compress static PNG images with optipng -o10
...
Average reduction in file size of 20%.
2014-07-22 13:42:00 +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
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
0fb938ad38
* add test and code comment for pull request #157
2014-06-14 17:03:57 +09:00
Rob Ruana
71b8fe8854
Closes #1489 : Removes use of ":annotation:" for attribute types in napoleon, as inline markup is not allowed
2014-06-13 14:06:39 -06: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
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
6beeeeb827
remove unnecessary list() wrappers. In some places, I replaced iterable.sort() with sorted(iterable).
2014-05-25 09:25:02 +09:00
Victor Zverovich
6e56a12d4a
Add support for variadic templates in C++ domain
2014-05-12 08:12:37 -07: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
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
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
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
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
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
Rob Ruana
bbfd0d058a
Closes 1455: Adds better handling of namedtuples in napoleon's skipmember function
2014-04-19 03:58:11 -04: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
Georg Brandl
18755458a1
merge with stable
2014-03-25 09:31:44 +01: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
Rob Ruana
c430f7f4c6
Closes #1429 : Adds smarter Args parsing for Google style docstrings.
2014-03-21 19:21:18 -04:00
Rob Ruana
3e7ce5d3a1
Closes #1418 : Private and special members are properly skipped on Python 3.3
2014-03-11 03:50:49 -04:00