summaryrefslogtreecommitdiff
path: root/tests/test_autodoc.py
Commit message (Collapse)AuthorAgeFilesLines
* Py3 fix.Georg Brandl2014-11-071-2/+2
|
* merge with stableGeorg Brandl2014-11-071-8/+20
|\
| * Fix :confval:`autodoc_docstring_signature` not working with signaturesGeorg Brandl2014-11-071-8/+20
| | | | | | | | in class docstrings.
* | fix trailing space and long lineshimizukawa2014-10-091-4/+8
| |
* | Complete test suite overhaul.Georg Brandl2014-09-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * rename a few test modules to make the names more consistent * do not copy/use Sphinx from build/ (unnecessary without 2to3) * use a temporary dir for *all* test projects, the source tree will stay pristine that way (default is tests/build) * speed up tests by ~3x by splitting up test projects and avoiding rebuilds
* | Move env.temp_data content that might be used to resolve references to a new ↵Georg Brandl2014-09-201-13/+13
| | | | | | | | env.ref_context dictionary.
* | merge with stableshimizukawa2014-07-131-11/+51
|\ \ | |/ |/|
| * * add test and code comment for pull request #157shimizukawa2014-06-141-0/+47
| |
| * merge with stableshimizukawa2014-06-091-11/+4
| |\
| | * remove 'six' name except importing line.shimizukawa2014-04-301-2/+2
| | |
| | * introduce the six module and reduce sphinx.util.pycompat implementation. ↵shimizukawa2014-04-291-4/+2
| | | | | | | | | | | | refs #1350.
| | * Update copyright year.Georg Brandl2014-03-011-8/+3
| | |\
| | | * Fix an exception introduced by b69b59480cba for __init__ with no docstring.Ben Darnell2014-01-201-0/+16
| | | |
| | | * merge headsshimizukawa2014-01-151-0/+14
| | | |\
| | | * | Drop python-2.5 and remove 2.4,2.5 support codesshimizukawa2013-12-151-8/+3
| | | | |
* | | | | * In autodoc, fix display of parameter defaults containing backslashes. ↵shimizukawa2014-07-021-0/+6
|/ / / / | | | | | | | | | | | | Closes #1502
* | | | * Fix exception on Python3 if nonexistent method is specified by automethod. ↵shimizukawa2014-06-091-0/+3
|/ / / | | | | | | | | | Closes #1467
* | | Update copyright year.Georg Brandl2014-03-011-1/+1
| | |
* | | Fix an exception introduced by b69b59480cba for __init__ with no docstring.Ben Darnell2014-01-201-0/+16
| |/ |/|
* | Fix autodoc with ``autoclass_content="both"`` uses useless ↵shimizukawa2014-01-021-0/+14
|/ | | | | | ``object.__init__`` docstring when class does not have ``__init__``. Closes #1337 This caused by a change for #1138.
* Fix: autodoc class __init__ override not removed from docstring. Closes #1138shimizukawa2013-12-091-0/+33
|
* Test suite quickfix.Georg Brandl2013-09-161-0/+1
|
* Merged in JonnyJD/sphinx/autodoc_novalue (pull request #109)Georg Brandl2013-09-161-0/+1
|\ | | | | | | feature: autodoc: add :annotation: option for autodata and autoattribute
| * autodoc: change :novalue: to :annoation: optionJohannes Dewender2013-02-271-1/+1
| | | | | | | | | | | | The :novalue: option is now called :annotation: and has an additional feature: When given with an argument, you can specify what the annotation of the object will be.
| * fix tests for autodoc novalue optionJohannes Dewender2013-01-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | In the tests for autodoc the Options are of type struct, while in the code there is a special autodoc.Options class, which is a dict. So "novalue" in self.options doesn't work, but self.options.novalue does work for both. Additionally the logic for autoattribute was wrong and is fixed now.
* | test suite fixesGeorg Brandl2013-04-011-1/+2
| |
* | tests: replace "from util import *" by explicit importsGeorg Brandl2013-04-011-1/+4
| |
* | Fix overlong lines.Georg Brandl2013-03-311-1/+2
| |
* | Fix autodoc crash if :members: and :special-members: ware both set (by d7ac5e4).shimizukawa2013-02-031-0/+18
| |
* | Closes #1062: sphinx.ext.autodoc use __init__ method signature for class ↵shimizukawa2013-02-031-0/+14
| | | | | | | | signature.
* | test refactoring: use with_setup for all test_autodoc.py's testsshimizukawa2013-02-031-13/+22
| |
* | add test for pull request #111: Respect add_autodoc_attrgetter() even when ↵shimizukawa2013-02-031-0/+42
|/ | | | inherited-members is set
* fix: autodoc documented descriptor class as attributeshimizukawa2013-01-121-0/+11
|
* Issue #1069: Add failing test for signature formatting of "partial" ↵Jonathan Waltman2013-01-091-0/+14
| | | | functions without kwargs.
* Add basic debugging support for autodoc.Jonathan Waltman2013-01-051-2/+2
|
* Copyright update.Georg Brandl2013-01-011-1/+1
|
* autodoc: Handle explicit instance attributes in :members: (re #904)Jon Waltman2012-11-081-0/+45
|
* Closes #617: Fix docstring preparation without included signature: only ↵Jon Waltman2012-09-161-0/+13
| | | | ignore indentation of one line, not two.
* #431: Doc comments for attributes can now be given on the same line as the ↵Georg Brandl2011-01-151-0/+2
| | | | assignment.
* #437: autodoc now shows values of class data attributes.Georg Brandl2011-01-081-1/+24
|
* Support for autodocumenting partial functions.?ukasz Langa2011-01-081-3/+32
|
* merge with 1.0Georg Brandl2011-01-071-0/+18
|\
| * merge with 1.0Georg Brandl2011-01-061-0/+18
| |\
| | * merge with 1.0Georg Brandl2011-01-041-1/+1
| | |\
| | * | Fix docstring preparation with included signature: ignore indentation of two ↵Georg Brandl2011-01-041-2/+2
| | | | | | | | | | | | | | | | lines when looking for the signature.
| | * | #564: Add :confval:`autodoc_docstring_signature` which retrieves the ↵Georg Brandl2011-01-031-0/+16
| | | | | | | | | | | | | | | | signature from the first line of the docstring, if it is found there.
| | * | #520: Provide ``special-members`` option for autodoc directives.Georg Brandl2011-01-031-0/+1
| | | |
| | * | #176: Provide ``private-members`` option for autodoc directives.Georg Brandl2011-01-031-0/+1
| | | |
* | | | Fix test_autodoc.Georg Brandl2011-01-071-0/+1
|/ / /
* | | #568: Fix lookup of class attribute documentation on descriptors so that ↵Georg Brandl2011-01-061-0/+14
| |/ |/| | | | | | | | | comment documentation now works. Needed to port assignment of ``self.parent`` from trunk.