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
5 years ago
Ashley Whetter
b5dfea1c6d
Removed some dead code
5 years ago
Ashley Whetter
7230330686
Documentation overhaul
5 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
Ashley Whetter
3b52975340
Fixed unicode decoding on Python 3.7
6 years ago
Ashley Whetter
aac53178eb
Fixed error parsing files with unicode docstrings
6 years ago
Ashley Whetter
a1f1fd8651
Fixed properly resolving definitions imported more than once
6 years ago
Ashley Whetter
2799fb32cc
Fixed error when documenting something that's imported in more than one place
6 years ago
Ashley Whetter
007ef746f4
Fixed linter again
6 years ago
Ashley Whetter
fb8892ccad
Fixed lint error
6 years ago
Ashley Whetter
c3f3cc33de
Added viewcode support for imported members
6 years ago
Ashley Whetter
92b4ea9dc8
Fixed linking to builtin bases
6 years ago
Ashley Whetter
616267726b
No longer document __init__ attributes without a docstring
...
Fixes #146
Also fixed duplicates when a property is set in __init__.
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
bc65e766c3
Made it easier to remove default index page
...
Also removed autoapi_add_api_root_toctree config option
because it is less useful now.
Closes #152
6 years ago
Ashley Whetter
75ebcfc903
private-members also controls private subpackages and submodules
...
Closes #150
6 years ago
Ashley Whetter
6ffec93569
Fixed lint errors
6 years ago
Ashley Whetter
4edf45af35
Added support for static and class methods
6 years ago
Ashley Whetter
af4263457e
Full path is resolved for bases from same module
6 years ago
Ashley Whetter
a1825cd98d
Fixed astroid 2.0 compatibility
...
Closes #148
6 years ago
Ashley Whetter
d8f4847a5c
Added support for detecting Python exceptions ( #147 )
...
Closes #145
6 years ago
fredbi
9dd26fd32b
Fixed running incorrect jsdoc command on Windows
...
Issue #125 .
jsdoc on windows is deployed as jsdoc.cmd
6 years ago
Sam Lai
974bae1f20
Support specifying package directories in `autoapi_dirs` ( #135 )
...
* Support specifying package directories as well
Fixes #108 .
* Use os.sep instead of the hardcoded '/'
This was making the tests fail on Windows because the necessary '/'
replacements were not happening on Windows due to os.sep being '\\'.
6 years ago
Ashley Whetter
ea6f1d322e
Fix lint errors
6 years ago