Ashley Whetter
a4f798183c
Fixed private submodules displaying when private-members turned off
...
Also fixed whitespace issues in templates.
6 years ago
Ashley Whetter
8d4fb4b1c3
Can document a public python API
...
Closes #153
6 years ago
Ashley Whetter
c3ef72ee14
Fixed nested classes not getting displayed in autogenerated docs
6 years ago
Ashley Whetter
7dd822eef4
Can still link to public items in private modules
6 years ago
Ashley Whetter
75ebcfc903
private-members also controls private subpackages and submodules
...
Closes #150
6 years ago
Ashley Whetter
4edf45af35
Added support for static and class methods
6 years ago
Ashley Whetter
9cb2f7d50e
Methods include self in their arguments
...
autodoc does this by default so it makes sense to do it in autoapi also.
6 years ago
Ashley Whetter
d8f4847a5c
Added support for detecting Python exceptions ( #147 )
...
Closes #145
6 years ago
Ashley Whetter
6b8ccf62ae
Fixed filtered classes and attributes getting displayed
6 years ago
Ashley Whetter
f2d3352801
Fixed incorrect display of long lists
...
Stop pretty printing because the annotation option cannot accept
multiline strings.
6 years ago
Ashley Whetter
b19b9ea28b
Extended ast parsing with astroid
7 years ago
Anthony
ae1c6276df
Merge pull request #116 from AWhetter/py_hierarchy
...
Py hierarchy
7 years ago
Ashley Whetter
7b3e6fca6d
Added basic class signature discovery
7 years ago
Ashley Whetter
b792463cc9
Can turn off autoapisummary directives in output
7 years ago
Ashley Whetter
4adcdc5351
Python documentation is now hierarchical
7 years ago
Ashley Whetter
958fe10103
Added autoapisummary directive
7 years ago
Eric Holscher
86a4de1668
Don’t show modules with no content.
7 years ago
Eric Holscher
3233bc0ac7
Fix templates to nest functions and use short names
7 years ago
Eric Holscher
e8514dfee2
Use shortname for methods
8 years ago
Eric Holscher
5901291d3f
Remove nested parse
8 years ago
Eric Holscher
491f8c9065
Keep nested-parse
8 years ago
Eric Holscher
ffb2130b55
Implement prepare_docstring filter that wraps Sphinx's
...
This allows us to output docstrings in a reasonable fashion.
8 years ago
Eric Holscher
b6dc3d23d8
Clean up auto-tocing
8 years ago
Anthony Johnson
f607d5e1db
Improvements to pydocstyle Python parsing
...
* Moves relative path parsing away from the base mapper implementation
* Change argument parsing from splitting first line of source with ',' to use
AST traversal instead. This is not complete, but mostly PoC for now. Full
traversal into argument type nodes will allow us to get nested dict() etc.
We should open a ticket to track this work
* Cleans up some of the templates to reduce duplicate titles
* Adds a directive for nesting rST from constructs that might have headings.
Remove the first heading in this case to address the case where a module has a
docstring with a heading up front
* Adds tests
* Replaces example module with module that has more failing cases of parsing
Closes #78
Fixes #80
Fixes #81
Fixes #82
Fixes #83
Fixes #84
Fixes #85
8 years ago
Eric Holscher
3aa1747795
Template updates.
8 years ago
Eric Holscher
b24293e545
Start using pydocstyle for Python doc generation
8 years ago
Eric Holscher
51fe162fb0
Cleanup to address review
9 years ago
Eric Holscher
5d861d13d8
Clean up handling of python args/params.
9 years ago
Eric Holscher
f60b7d8880
Add ability to configure options of display of objects.
9 years ago
Eric Holscher
bdae9f083c
Add ability to hide undocumented methods, etc.
9 years ago
Eric Holscher
1cde5590eb
Clean up how we render templates.
...
* Add top_level_object as global concept.
* Fix toctree generation
* Add passing of options to rendering
9 years ago
Eric Holscher
5ca2ee76a5
Refactor into nicer top-level interface to the Domains.
...
Languages refactored:
* Python
* JS
9 years ago
Eric Holscher
677df52c46
Show toc for now
10 years ago
Eric Holscher
0404c4723d
Reindent
10 years ago
Eric Holscher
d1dc81b8ba
Clean up python templates
10 years ago
Eric Holscher
aa62ad9af7
Sizable refactor of the autoapi tooling.
...
Standard template context and rendering. Also refactor YAML loading for new YAML formats.
10 years ago
Eric Holscher
d21b62937b
Clean up the python code more.
10 years ago
Eric Holscher
09097cf364
Fix Python support
10 years ago
Eric Holscher
8b177e5a9e
Updates for python stuff
10 years ago