Ashley Whetter
6f0299356a
Can use type hints as parameter types and return types
4 years ago
Ashley Whetter
8e4cd49e1a
Dropped support for Python 2 and Sphinx 1.x/2.x.
...
Removed all old compatibility code.
4 years ago
Ashley Whetter
fc634afc0d
Fix formatting after black upgrade
4 years ago
Ashley Whetter
0a5b84b8be
autoapi_file_patterns is in order of preference
...
Closes #243
4 years ago
Taku Fukada
5bb4ff2c02
Refine overload support
4 years ago
Taku Fukada
8f4a4b1f0c
Refactor the child function/method parsing loop
4 years ago
Taku Fukada
78db701450
Ignore some pylint checks
4 years ago
Taku Fukada
7270718374
Add support for overloaded functions
4 years ago
Ashley Whetter
cd9b9ca0fe
Added the imported-members AutoAPI option
...
Closes #204
4 years ago
Ashley Whetter
fca36aa664
Classes and methods inherit docstrings from their parent
...
Closes #203
4 years ago
Ashley Whetter
b52378fa51
Added autoapi_member_order option
...
Closes #201
4 years ago
Ashley Whetter
9008db48e5
Added assertion to assist with import resolution debugging
5 years ago
Ashley Whetter
428e8526f0
Fixed Python 2 support
5 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
fc1d78f758
Python 3.8 support
5 years ago
Ashley Whetter
f8b6a6151c
arg and kwargs annotations can be read from the function type comment
5 years ago
Ashley Whetter
9c91de9370
Ignore extra argument type annotations
...
Closes #186
5 years ago
Ashley Whetter
b5b2b2f08e
Make the linter happy again
5 years ago
Olivier Samyn
d71ac5f250
fix: Make the linter happy
5 years ago
Olivier Samyn
cca3a781ee
fix: correct stop condition in sphinx <2.0 and add a stop guard.
5 years ago
Olivier Samyn 🎻
7ca958fe57
feat: Support implicit namespaces for python >= 3.3
5 years ago
Ashley Whetter
28301f1ba4
Fix linting again
5 years ago
Ashley Whetter
520f3b0469
Fixed formatting
5 years ago
Ashley Whetter
a122f00d4a
Fix linting
5 years ago
Daniel Daniels
a114af76dc
Added autoapi-skip-member event
5 years ago
谷月轩
f6649ebde4
Include methods in child class ( #176 )
5 years ago
Armand BENETEAU
fa3b0b3f70
Fix Go documentation generation ( #172 )
...
* Correction of the "parameters" accessibility problem in the Go mapper
The "parameters" attributes of the GoPythonMapper class instance was
not accessible from the "output_rst" function used to create the .rst
file. Thanks to this correction, the parameters are now accessible.
* Enhance the template used to genertae the .rst file from the .go source file
This modification allows to create a .rst file compatible with the
last version of Sphinx. Without this correction, the creation of documentation
was not possible. A "make html" command lead to an "AssertionError" Exception.
5 years ago
Ashley Whetter
02b0c0a098
Made it more clear which file causes an error
5 years ago
Ashley Whetter
86a2aeb6d7
Fixed some unicode decode errors
5 years ago
Ashley Whetter
34d02faa2f
Custom argument formatting
...
Closes #162
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
b90284f0fe
Support basic type annotations
...
Closes #139
6 years ago
Ashley Whetter
b5dfea1c6d
Removed some dead code
6 years ago
Ashley Whetter
7230330686
Documentation overhaul
6 years ago
Ashley Whetter
dd58809d89
Added support for parsing stub files
...
Closes #100
6 years ago
Ashley Whetter
3b299be332
Tidied up index page
6 years ago
Ashley Whetter
c6b46969f8
Fixed decoding of binary data on Python 2
...
Fixes #159
6 years ago
Ashley Whetter
a4f798183c
Fixed private submodules displaying when private-members turned off
...
Also fixed whitespace issues in templates.
6 years ago
Alexander Gor
b94acc6019
Properly pass file patterns to godocjson utility ( #161 )
...
* Properly pass file patterns to godocjson utility
* Go integration tests fixed during to new *ignore* argument
6 years ago
Ashley Whetter
80fd76bd1e
Fixed false warning when importing a local module
6 years ago
Ashley Whetter
68e1f79ed5
Added render log messages
6 years ago
Ashley Whetter
f77bf19800
Added Black formatting
6 years ago
Ashley Whetter
2cf80b1569
Fixed Sphinx logger deprecation warnings
6 years ago
Ashley Whetter
dfe82ae94e
Dropped support for Sphinx<1.6
6 years ago
Ashley Whetter
00894a959e
Overhauled Python import resolution logic
...
Stable in more complex cases.
Capable of giving more detailed warnings.
More closely matches real import logic.
Closes #156
6 years ago
Ashley Whetter
1caa6d22e1
Fixed some import chains failing to resolve depending on resolution order
6 years ago