summaryrefslogtreecommitdiff
path: root/tests/test_autodoc.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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).Takayuki Shimizukawa2013-02-031-0/+18
| |
* | Closes #1062: sphinx.ext.autodoc use __init__ method signature for class ↵Takayuki Shimizukawa2013-02-031-0/+14
| | | | | | | | signature.
* | test refactoring: use with_setup for all test_autodoc.py's testsTakayuki Shimizukawa2013-02-031-13/+22
| |
* | add test for pull request #111: Respect add_autodoc_attrgetter() even when ↵Takayuki Shimizukawa2013-02-031-0/+42
|/ | | | inherited-members is set
* fix: autodoc documented descriptor class as attributeTakayuki Shimizukawa2013-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)Jonathan Waltman2012-11-081-0/+45
|
* Closes #617: Fix docstring preparation without included signature: only ↵Jonathan 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/+1
|\
| * Fix test_autodoc.Georg Brandl2011-01-071-0/+1
| |
* | merge with 1.0Georg Brandl2011-01-061-0/+14
|\ \ | |/
| * #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.
* | merge with 1.0Georg Brandl2011-01-041-1/+1
|\ \ | |/
| * New year update.Georg 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
|/
* Added ``exclude`` argument to :func:`.autodoc.between`. From ↵Georg Brandl2010-06-121-2/+14
| | | | http://bitbucket.org/mfperzel/sphinx-additions.
* #187: Added support for source ordering of members in autodoc, with ↵Georg Brandl2010-02-281-0/+36
| | | | ``autodoc_member_order = 'bysource'``.
* merge with trunkGeorg Brandl2010-02-271-2/+3
|\
| * merge with 0.6Georg Brandl2010-02-211-2/+3
| |\
| | * In autodoc, allow customizing the signature of an object via ↵Georg Brandl2010-02-211-2/+3
| | | | | | | | | | | | autodoc-process-signature where the built-in mechanism fails.
* | | Fix test suite.Georg Brandl2010-01-181-12/+12
| | |
* | | mergeGeorg Brandl2010-01-131-12/+12
|\ \ \
| * | | Change naming convention in doc_read_data to "domain:key".Georg Brandl2010-01-131-12/+12
| | | |
* | | | Fix the test suite.Georg Brandl2010-01-131-1/+1
|/ / /
* | | merge with trunkGeorg Brandl2010-01-071-2/+12
|\ \ \ | |/ /
| * | #280: Autodoc can now document instance attributes assigned in ``__init__`` ↵Georg Brandl2010-01-031-2/+12
| |/ | | | | | | methods.
* | merge with trunkGeorg Brandl2010-01-021-17/+18
|\ \ | |/ |/|
| * merge with trunkGeorg Brandl2009-10-261-0/+18
| |\
| * | test_autodoc: adapt to new generation of directives with domain name.Georg Brandl2009-09-081-5/+6
| | |
| * | More refactoring for language-independent domain support.Georg Brandl2009-09-071-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Renamed "desc"ription unit to "object" wherever possible. * Added standard x-ref types to a StandardDomain which is always consulted. * Split domains module into a subpackage. * Removed additional_xref_types in favor of new directive classes in StandardDomain. * Implemented x-ref inventory version 2, for all object types. * Added env.doc_read_data which is for temporary data stored while reading. * Minimally updated extension tutorial. * Started to implement changes to interactive search. * Test suite passes again.
* | | Happy new year!Georg Brandl2010-01-011-1/+1
| |/ |/|
* | Fix "fixed" descriptor handling, and add tests.Georg Brandl2009-10-251-0/+18
|/
* Restore 2.4 compatibility and fix removing the generated file properly.Georg Brandl2009-03-161-1/+2
|
* Autodoc can now exclude single members from documentationGeorg Brandl2009-03-151-1/+5
| | | | via the ``exclude-members`` option.
* Use standard ``file:line: warning: message`` format for warning messages.Georg Brandl2009-03-051-0/+1
|
* Make "make check" happy.Georg Brandl2009-02-191-1/+2
|
* Add a test for a new documenter.Georg Brandl2009-02-181-4/+33
|