Commit Graph

29 Commits (b5d83f84724c2a1b081c7756077a7bbf2e9f4959)

Author SHA1 Message Date
Ashley Whetter b5d83f8472 Fixed tests 5 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 f77bf19800 Added Black formatting 6 years ago
Ashley Whetter 88eea89bb5 Reorganised Python tests to be more pytest-like 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 4ac85dd7af Added autoapi directives for Python 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
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 6ca62f16c9 Can control how __init__ docstring is displayed 6 years ago
Ashley Whetter b19b9ea28b Extended ast parsing with astroid 6 years ago
Ashley Whetter 87baee8998 Added integration tests for napoleon conversions 7 years ago
Ashley Whetter 174e6b8232 Fixed tests under Python 3 7 years ago
Ashley Whetter a1a3f05202 Fix for Sphinx 1.6 7 years ago
Eric Holscher 875d6b6ffa Fix tests 8 years ago
Eric Holscher 215dd06e0a Add basic test for TOC Tree insertion 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
Anthony Johnson 20a1852907 Fix outdated fixture data 9 years ago
Eric Holscher 4de4b376ca Rename `autoapi_dir` to `autoapi_dirs` to support multiple 9 years ago
Eric Holscher 220599c22f Attempt to fix path names on Windows. 9 years ago
Eric Holscher d3b6bd305f Skip epyparse tests on py3 9 years ago
Eric Holscher 801e2e4675 Fix mock 9 years ago
Eric Holscher cb28412dfd Fix test mocks 9 years ago
Eric Holscher 30e4847898 Add basic tests & small output changes for auto-adding TOCTree 9 years ago
Eric Holscher 19c79222a9 Refactor integration tests to use fixture data.
This removes dependence on real tooling.
The main downside is that it’s fragile to output changes in the tooling.
Not a lot we can do though,
other than have real integration tests, also.
9 years ago
Eric Holscher e881072e84 Refactor integration tests 9 years ago
Eric Holscher a3244a2531 Rename tests to be more descriptive 9 years ago