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
Rob Ruana
191e0b4c12
Closes #1384 : Parse and interpret See Also section the way NumpyDoc does
...
The NumpyDoc extension that is developed by the Numpy folks does a lot
of extra work interpreting See Also sections. It assumes that the contents
of the See Also will always be references to other functions/classes and
it tries to deduce what is being referenced.
I've ported their implementation for See Also sections written in the
Numpy style. There is NO extra interpretation done for See Also sections
that are written using the Google style.
2014-03-09 22:07:21 -04:00
Rob Ruana
18df6421bf
Closes #1396 : Param types with inline markup no longer italicized
...
Napoleon was attempting to render nested inline markup
( [a big no-no!](http://sphinx-doc.org/rest.html ) ) for
parameter types. Now, if Napoleon sees any backquotes
in the parameter type, it is rendered without italics.
2014-03-09 01:56:56 -05:00
Rob Ruana
5564012306
Closes #1410 : imports Mock from unittest.mock when available (Python >=3.3)
2014-03-06 03:49:11 -05:00
Georg Brandl
f8096e3fa0
merge with stable
2014-03-01 08:42:58 +01:00
Georg Brandl
55e2f29170
fix windows newlines
2014-03-01 08:42:35 +01:00
Georg Brandl
1f4016d679
Merged in barnabas79/sphinx (pull request #218 )
...
Closes #1374 : Autosummary generates overly-long summaries if first line doesn't end with a period
2014-03-01 08:28:28 +01:00
Georg Brandl
ac92719ac3
Update copyright year.
2014-03-01 08:18:23 +01:00
Georg Brandl
e030031321
Update copyright year.
2014-03-01 08:18:16 +01:00
Paul Molodowitch
d4a0a14aa5
Closes #1374 : Autosummary generates overly-long summaries if first line doesn't end with a period
2014-02-03 19:35:04 -08:00
Paul Molodowitch
05f1049b3e
Closes #1374 : Autosummary generates overly-long summaries if first line doesn't end with a period
2014-02-03 19:35:04 -08:00
Georg Brandl
b1a9f7548b
consistency nits
2014-01-22 18:15:42 +01:00
Dmitry Shachnev
953b33d3f7
Merge
2014-01-22 18:34:51 +04:00
Ben Darnell
3ed243de54
Fix an exception introduced by b69b59480cba for __init__ with no docstring.
2014-01-20 11:54:51 -05:00
Ben Darnell
b0ca105c36
Fix an exception introduced by b69b59480cba for __init__ with no docstring.
2014-01-20 11:54:51 -05:00
Dmitry Shachnev
c2eaf2af81
Merge
2014-01-20 18:32:47 +04:00
Rob Ruana
63fbb819c7
Makes suggested changes before adding napoleon to sphinx
2014-01-19 13:43:54 -05:00
Rob Ruana
4c782604ed
Merged birkenfeld/sphinx into default
2014-01-19 12:31:07 -05:00
Georg Brandl
8c2fabe117
The deprecated config values `exclude_trees, exclude_dirnames and unused_docs` have been removed.
2014-01-19 17:46:06 +01:00