Commit Graph

64 Commits (6317148f0d17fb782fb05fca1d77eafa9539ecf1)

Author SHA1 Message Date
Ashley Whetter 1ae7b78128 Fix class overrides not rendering correctly 1 year ago
davfsa 1556b17ca8
Use the correct directives for a variable type and value (#353)
* Use the correct directives for a variable type and value

Co-authored-by: PerchunPak <perchunpak@gmail.com>

* Improve multiline value

* Add colons for strings

* Add another testcase

Co-authored-by: PerchunPak <perchunpak@gmail.com>
2 years ago
Ashley Whetter a23e2ffe73 Render Python properties with the property directive
Fixes #352.
2 years ago
Ashley Whetter 38c2089476 Removed prepare_docstring filter used for testing 3 years ago
Ashley Whetter 2c5c87157a Explicitly use the domain for generated directives
Closes #292
3 years ago
Ashley Whetter 5faec73073 Fixed error when parsing a class with no constructor 3 years ago
Sam Morley-Short 3fb14a24fc Added attribute summary table to python module template 4 years ago
Ashley Whetter 7872ed00b0 Can link to parameters of generic base classes 4 years ago
Joseph Yu 5435536988 Multiline string are displayed correctly 4 years ago
Ashley Whetter 24109875e1 The overload signatures of __init__ methods are documented
Fixes #260
4 years ago
Ashley Whetter a8d07b610f Can edit the Jinja environment
Closes #200
4 years ago
Taku Fukada 5bb4ff2c02 Refine overload support 4 years ago
Taku Fukada 7270718374 Add support for overloaded functions 4 years ago
Ashley Whetter ac70ea056e Fixed incorrect formatting of properties on generated method directives. 4 years ago
Ashley Whetter 3faa27053b Fixed return types not showing for methods.
Fixes #219
4 years ago
lhfriedman c51fb3f737 added scoped keywords
see issue 213 (https://github.com/readthedocs/sphinx-autoapi/issues/213)
4 years ago
Ashley Whetter ea150af1da Fixed incorrect formatting with private inheritance diagrams
Fixes #195
4 years ago
Ashley Whetter 4ba45cfacb Can document inherited members
Closes #183
5 years ago
Ashley Whetter c5d5fb5346 Made passing of options to templates more sane 5 years ago
Ashley Whetter 265b4ae562 Added show-inheritance
Also turned autoapi_include_inheritance_graphs into a
show-inheritance-diagram AutoAPI option to be more consistent
with show-inheritance.

Partially implements #183
5 years ago
Ashley Whetter 076427e6ae Added inheritance diagrams support
Close #140
5 years ago
Ashley Whetter 46c577eda1 Support for async and other Sphinx 2.1 method directive options 5 years ago
Ashley Whetter 589826e90c Can override ignoring local imports in modules by using __all__ 5 years ago
Ashley Whetter 9d45eed4d0 Fixed incorrect formatting of functions and methods 5 years ago
Ashley Whetter b90284f0fe Support basic type annotations
Closes #139
6 years ago
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 6 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