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
Rob Ruana
7f710be021
Updates Napoleon documentation per suggestion by a user
2014-04-26 19:43:46 -04:00
Rob Ruana
bbfd0d058a
Closes 1455: Adds better handling of namedtuples in napoleon's skipmember function
2014-04-19 03:58:11 -04:00
Georg Brandl
397e3773c1
Merged in exarkun/sphinx/extdev-tutorial-doc (pull request #232 )
...
extdev tutorial documentation fix
2014-04-04 18:14:57 +02:00
Jean-Paul Calderone
19533c96a5
Fix a copy/paste (presumably) mistake in the extdev tutorial.
2014-04-04 11:53:37 -04:00
Jean-Paul Calderone
c297e80b62
Created new branch extdev-tutorial-doc
2014-04-04 15:52:15 +00:00
Torbjörn Klatt
299c67918c
Closes #1436 : fix missing empty line after return type in NumPy docstrings
2014-04-01 14:29:54 +02:00
Georg Brandl
04065625ed
merge with stable
2014-03-26 07:30:55 +01:00
Georg Brandl
c24cfbaed1
Add an example how to connect events.
2014-03-26 07:30:48 +01:00
Georg Brandl
41580fc373
merge with stable
2014-03-25 10:27:36 +01:00
Georg Brandl
53abebda69
Closes #636 : Keep straight single quotes in literal blocks in the LaTeX build.
2014-03-25 10:26:20 +01:00
Georg Brandl
18755458a1
merge with stable
2014-03-25 09:31:44 +01:00
Georg Brandl
b98873eaba
#1431 : add some missing styles to the epub CSS
2014-03-25 09:28:41 +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
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
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
Georg Brandl
b97d01308c
du10/du11 need mock dependency
2014-03-08 11:27:12 +01:00
anatoly techtonik
6cde08f45e
Fix quickstart on Windows with pyreadline (which comes without __doc__)
2014-03-08 12:34:59 +03: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
02363c3ce2
merge with stable
2014-03-06 08:13:14 +01:00
Rob Ruana
fcb39a75c7
Closes #1413 : Moves SearchEnglish import below SearchLanguage definition
2014-03-06 01:56:22 -05:00
Georg Brandl
d0f18d4131
Add more projects to examples.
2014-03-05 07:52:55 +01:00
Georg Brandl
9a0942b8a2
Add Ceph.
2014-03-05 07:50:21 +01:00
Georg Brandl
b944c843f5
Add warnings that autodoc imports the modules.
2014-03-05 07:45:45 +01:00
Georg Brandl
afd6c0b28d
Merged in shibu/sphinx/add_stemmer (pull request #214 )
2014-03-04 19:10:19 +01:00
Georg Brandl
85ddf03f45
merge with stable
2014-03-02 08:50:10 +01:00
Georg Brandl
cae4910527
Post-release bump.
2014-03-02 08:47:18 +01:00
Georg Brandl
7e98062993
Added tag 1.2.2 for changeset 14b315a7d010
2014-03-02 08:44:08 +01:00
Georg Brandl
6a9fca835c
Bump to 1.2.2.
2014-03-02 08:41:38 +01:00
Georg Brandl
501c2d13e6
Fix long lines.
2014-03-02 08:40:48 +01:00
Georg Brandl
db0f7ccc70
merge with stable
2014-03-02 08:37:54 +01: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