summaryrefslogtreecommitdiff
path: root/sphinx/util
Commit message (Collapse)AuthorAgeFilesLines
* tiny fix for py2/py3 compatibility in one source.shimizukawa2014-05-011-6/+0
|
* wrap py3 iterators with list() for each places that expect a list object. ↵shimizukawa2014-04-301-1/+1
| | | | refs #1350.
* replace ur'' prefix with r'' to support py2/py3 in one source. refs #1350shimizukawa2014-04-301-83/+85
|
* remove 'six' name except importing line.shimizukawa2014-04-305-20/+18
|
* use six privided functions/classes to support py2/py3 in one source. refs #1350shimizukawa2014-04-301-2/+2
|
* use UnicodeMixin for __str__, __unicode__ to support py2/py3 in one source. ↵shimizukawa2014-04-301-0/+14
| | | | refs #1350.
* use six privided text_type() to replace with unicode() to support py2/py3 in ↵shimizukawa2014-04-294-5/+7
| | | | one source. refs #1350.
* provide __next__() and use native next() to support py2/py3 in one source. ↵shimizukawa2014-04-292-5/+7
| | | | refs #1350.
* wrap iterator with list() to avoid 'dictionary changed size during ↵shimizukawa2014-04-291-1/+1
| | | | iteration' on py3. refs #1350.
* use six privided iteritems(),itervalues() to support py2/py3 in one source. ↵shimizukawa2014-04-292-2/+4
| | | | refs #1350.
* use six privided functions/classes to support py2/py3 in one source. refs #1350.shimizukawa2014-04-293-5/+9
|
* introduce the six module and reduce sphinx.util.pycompat implementation. ↵shimizukawa2014-04-294-35/+20
| | | | refs #1350.
* merge with stableGeorg Brandl2014-03-029-244/+38
|\
| * merge with stableGeorg Brandl2014-03-029-244/+38
| |\
| | * Merged in shimizukawa/sphinx-drop-old-docutils (pull request #206)Georg Brandl2014-03-011-20/+1
| | |\ | | | | | | | | | | | | Drop docutils-0.7, 0.8, 0.9 support.
| | | * merge headsshimizukawa2014-01-183-7/+16
| | | |\
| | | * | Drop docutils-0.7, 0.8 and 0.9 supportshimizukawa2013-12-151-20/+1
| | | | |
| | * | | Update copyright year.Georg Brandl2014-03-018-224/+37
| | |\ \ \
| | | * \ \ merge with stableGeorg Brandl2014-03-012-3/+5
| | | |\ \ \
| | | * \ \ \ merge with stableGeorg Brandl2014-01-268-224/+40
| | | |\ \ \ \
| | | | * | | | Fix formattingDmitry Shachnev2014-01-221-1/+1
| | | | | | | |
| | | | * | | | MergeDmitry Shachnev2014-01-207-18/+17
| | | | |\ \ \ \
| | | | | * | | | Modernize the code now that Python 2.5 is no longer supportedDmitry Shachnev2014-01-197-18/+17
| | | | | | |_|/ | | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use print function instead of print statement; - Use new exception handling; - Use in operator instead of has_key(); - Do not use tuple arguments in functions; - Other miscellaneous improvements. This is based on output of `futurize --stage1`, with some manual corrections.
| | | | * | | | merge with stableGeorg Brandl2014-01-191-12/+11
| | | | |\ \ \ \ | | | | | |/ / / | | | | |/| | |
| | | | * | | | Fix: The application now check extra Python versions (3.0, 3.1) to stop ↵shimizukawa2014-01-181-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | invoking. And fix a trivial comment.
| | | | * | | | merge headsshimizukawa2014-01-152-3/+13
| | | | |\ \ \ \ | | | | | |_|_|/ | | | | |/| | |
| | | | | * | | Closes #1174: Fix smart quotes being applied inside roles like ↵Georg Brandl2014-01-121-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | :rst:role:`program` or :rst:role:`makevar`.
| | | | * | | | Drop python-3.1 and remove support codesshimizukawa2013-12-152-3/+3
| | | | | | | |
| | | | * | | | Drop python-2.5 and remove 2.4,2.5 support codesshimizukawa2013-12-154-204/+19
| | | | | | | |
* | | | | | | | Fix long lines.Georg Brandl2014-03-021-1/+2
|/ / / / / / /
* | | | | | | Fix a change of pull request #96 that break ↵shimizukawa2014-03-021-3/+3
|/ / / / / / | | | | | | | | | | | | | | | | | | sphinx.util.docfields.Field.make_field interface/behavior for `item` argument usage. Closes #1367
* | | | | | Update copyright year.Georg Brandl2014-03-0116-16/+16
| |_|_|_|/ |/| | | |
* | | | | Fix inspect using the "__builtins__" CPython specific module.Georg Brandl2014-03-012-3/+8
|/ / / /
* | | | Closes #1358: Fix handling of image paths outside of the source directory ↵Georg Brandl2014-01-231-1/+1
| |_|/ |/| | | | | | | | when using the "wildcard" style reference.
* | | Closes #1330: Fix :confval:`exclude_patterns` behavior with subdirectories ↵Georg Brandl2014-01-191-12/+11
| |/ |/| | | | | in the :confval:`html_static_path`.
* | Closes #908: On Python 3, handle error messages from LaTeX correctly in the ↵Georg Brandl2014-01-111-0/+7
|/ | | | pngmath extension.
* Merged in shimizukawa/sphinx-fix-pypytest (pull request #177)Takayuki Shimizukawa2013-12-091-0/+17
|\ | | | | | | Fix PyPy test failed
| * Now sphinx.ext.autodoc on PyPy ignoring the method of built-in classes.shimizukawa2013-10-071-0/+17
| | | | | | | | | | | | | | | | | | | | | | 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.
* | Add tests and code refine for pull request #190.shimizukawa2013-11-121-17/+12
| |
* | Find node.source recursively. In some cases (.. figure nested inside other ↵Michael Schlenker2013-11-081-1/+18
| | | | | | | | blocks or lists), the node.parent.source is None too, so the old logic fails. Just traverse up, until we get a valid node.source or have no parent at all.
* | Add .. rubric:: to the list of special cased nodes for gettext.Michael Schlenker2013-11-081-1/+1
|/ | | | The ``.. rubric:: Title`` does not get extracted in all places without, due to the missing node.source field, quite like the title fields.
* Backed out changeset cfe9e2d11003 refs #1265shimizukawa2013-10-041-7/+0
|
* Now gettext translates label target name. Fix i18n: crash when using a ↵shimizukawa2013-10-041-0/+7
| | | | indirect target and translating a target section name. Closes #1265
* grammar fix: 'multibyte filename' is ambiguous. They are replaced with ↵shimizukawa2013-10-031-1/+1
| | | | 'non-ASCII filename'. refs #703
* Extend extension info to the module filename for each loaded ext.Georg Brandl2013-10-021-7/+7
|
* Add list of extensions to the traceback log file on unhandled exceptions.Georg Brandl2013-10-021-2/+8
|
* small grammar fix in multibyte filename messagesGeorg Brandl2013-10-011-2/+2
|
* When Sphinx couldn't decode multibyte filename, now Sphinx notices ↵shimizukawa2013-09-281-1/+8
| | | | UnicodeError and continuing if possible instead of raise exception. Closes #703
* Fix again: NFC/NFD normalizing problem. Closes #1142shimizukawa2013-09-182-1/+15
|
* Fix NFC/NFD normalizing problem of rst filename on Mac OS X. Closes #1142shimizukawa2013-09-171-2/+10
|