Eric Holscher
7e7f42367d
Fix Sphinx 1.3
7 years ago
Eric Holscher
86a4de1668
Don’t show modules with no content.
7 years ago
Eric Holscher
4428ecd6e8
Add ability to process Napolean docstrings.
7 years ago
Eric Holscher
efb541f78a
Add ability to add API to top-level TOC.
7 years ago
Eric Holscher
3233bc0ac7
Fix templates to nest functions and use short names
7 years ago
Eric Holscher
316457e9fc
Merge pull request #112 from toomanybrians/patch-1
...
fix typo in templates.rst
7 years ago
Brian Madden
defbfc517a
fix typo in templates.rst
8 years ago
Anthony
152ea1a521
Merge pull request #104 from rtfd/python-ast
...
Start altering the pydocstyle AST parser for our needs
8 years ago
Anthony
e7a624254a
Merge pull request #106 from rtfd/fix-argument-call
...
Fix Python argument parsing for Call nodes
8 years ago
Eric Holscher
24b4f871ae
Merge pull request #105 from rtfd/extension-name
...
Allow for toplevel module as Sphinx extension
8 years ago
Anthony Johnson
715b6662e5
Fix Python argument parsing for Call nodes
...
This previous was throwing exceptions in some cases where Attribute nodes were
used instead of Name nodes.
8 years ago
Anthony Johnson
df74247128
Allow for toplevel module as Sphinx extension
...
Instead of requiring:
extensions = ['autoapi.extension']
This allows for the toplevel:
extensions = ['autoapi']
This is more intuitive for users, as extension is an internal concept.
8 years ago
Anthony Johnson
2603729925
Fix some more parsing issues
8 years ago
Anthony Johnson
0faeb500ee
More fixes
8 years ago
Anthony Johnson
8da39241a7
Fix tox config
8 years ago
Anthony Johnson
3c6e0e4015
Start altering the pydocstyle AST parser for our needs
...
This forks some of the pydocstyle AST parser into out mapper. Eventually, some
of the other operations such as parsing arguments and performing full name
lookup can be moved in as well. For now, this is not doing any extra assignment
tracking/etc, several of these operations will just throw this information out.
Refs #99
8 years ago
Eric Holscher
8f798c8243
Merge pull request #95 from rtfd/fix-under-15
...
Add fix to version checking on <1.5
8 years ago
Eric Holscher
426d677324
Fix review feedback
8 years ago
Eric Holscher
d7e8e13613
Don't use string
8 years ago
Eric Holscher
6024223d9e
Add fix to version checking on <1.5
8 years ago
Eric Holscher
5529237fb5
Merge pull request #94 from AWhetter/fix_sphinx_1_5
...
Fix for Sphinx 1.5
8 years ago
Ashley Whetter
a9521553d9
Fix for Sphinx 1.5
8 years ago
Anthony
6d9a465964
Merge pull request #90 from rtfd/fix-path-output
...
Return the proper path in pathname function.
8 years ago
Eric Holscher
d34af13767
Fix pathing
8 years ago
Eric Holscher
b6ae837be9
Merge pull request #89 from rtfd/fix-docstring-whitespace
...
Implement prepare_docstring filter that wraps Sphinx's
8 years ago
Eric Holscher
875d6b6ffa
Fix tests
8 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
aa06999300
Nest the wrapper
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
5b69857df0
Merge pull request #87 from rtfd/toc-addition-extension
...
Build initial toctree insertion implementation
8 years ago
Eric Holscher
c557182525
Fix review feedback
8 years ago
Eric Holscher
215dd06e0a
Add basic test for TOC Tree insertion
8 years ago
Eric Holscher
73324fab7e
Remove unneeded index entry
8 years ago
Eric Holscher
c3db6e5bc8
Python 3 fixes
8 years ago
Eric Holscher
66fd939395
Add a bit more error handling.
8 years ago
Eric Holscher
624eeff030
Break out toctree into separate file.
...
Also add lots of docstrings,
so hopefully someone can understand this some day.
8 years ago
Eric Holscher
cc41787b58
Write up a more descriptive docstring
8 years ago
Eric Holscher
b6dc3d23d8
Clean up auto-tocing
8 years ago
Eric Holscher
4eefb01759
Build initial toctree implementation
8 years ago
Eric Holscher
6ff30f7d14
Merge pull request #88 from rtfd/fix-nested-directive
...
Revert attempt at making a hidden title
8 years ago
Anthony Johnson
2bff9e45b7
Revert attempt at making a hidden title
...
This directive was to remove the initial title from the nest block
8 years ago
Anthony
76c458f85f
Merge pull request #78 from rtfd/python-upgrades
...
Start using pydocstyle for Python doc generation
8 years ago
Eric Holscher
97e84f2e40
Merge pull request #86 from rtfd/pydocstyle-improvements
...
Improvements to pydocstyle Python parsing
8 years ago
Anthony Johnson
809c27ac6d
Lint fixes
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
04805b5044
Fix version number
...
The module is actually 0.4 release currently. This is not a new release however,
so updated to match 0.4, no additional increment necessary yet.
8 years ago
Anthony Johnson
de56f25fe5
Add ignore for rope
8 years ago
Anthony Johnson
18ed62b0b2
Stop using requirements.txt
...
sphinx-autoapi is redistributable, we should be using setup.py for all of our
dependency management, not continuing to split off things into requirements.
Included a shortcut in the requirements for installing tox (the only dev requirement)
and the package in develop.
8 years ago