Commit Graph

59 Commits (958fe10103d30342625122c1f5d89c29bd7ee548)

Author SHA1 Message Date
Ashley Whetter 958fe10103 Added autoapisummary directive 7 years ago
Eric Holscher 3531f5560a Merge remote-tracking branch 'origin/master' into cleanup-june 7 years ago
Ashley Whetter a1a3f05202 Fix for Sphinx 1.6 7 years ago
Eric Holscher 3875cf495d Fix noting the toctree 7 years ago
Eric Holscher efb541f78a Add ability to add API to top-level TOC. 7 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
Ashley Whetter a9521553d9 Fix for Sphinx 1.5 8 years ago
Eric Holscher c557182525 Fix review feedback 8 years ago
Eric Holscher 73324fab7e Remove unneeded index entry 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
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 6025db45a7 Clean up how we handle file suffix. 8 years ago
Anthony Johnson fab86cbc66 Revert basestring -> str in check for autoapi_dirs
Not sure we need to be concerned about byte strings here either way.

Fixes #74
8 years ago
Anthony Johnson 11ad556d3e Handle string input for api dir
This was iterating over the settings assuming it was a list. We handle this as a
list in some instances, and recommend using a string in others. Just handle
both.
8 years ago
Daniel Roth ca3a002aa6 Update extension.py to handle absolute paths 9 years ago
Anthony Johnson bcee7eb22a Use autoapi_root for url root configuration 9 years ago
Anthony Johnson d30fa32762 Add configurable url prefix 9 years ago
Eric Holscher 3dfd9ac47f Fix error 9 years ago
Eric Holscher 81d4568713 Merge pull request #35 from rtfd/support-multiple-source-dirs
Rename `autoapi_dir` to `autoapi_dirs` to support multiple source dirs
9 years ago
Eric Holscher 2958bc34fb Fix linting errors 9 years ago
Eric Holscher 4de4b376ca Rename `autoapi_dir` to `autoapi_dirs` to support multiple 9 years ago
Daniel Roth 180c1bb36b Update extension.py
Missing an 's'
9 years ago
Eric Holscher f9d4d8c18d Clean up tox file 9 years ago
Eric Holscher 0c1583ac40 Add proper exceptions 9 years ago
Eric Holscher 6a67c16642 Fix the last of the linting errors 9 years ago
Eric Holscher d1d452a0a4 Add ability for per-mapper cleanup tasks. 9 years ago
Eric Holscher 1df370b682 Don’t assume we have defaults for all types. 9 years ago
Eric Holscher c81ab2873d Add default ignore patterns. 9 years ago
Eric Holscher c20783558e Add vbproj to dotnet default mapping 9 years ago
Eric Holscher cb28412dfd Fix test mocks 9 years ago
Eric Holscher 6f6e09b1f6 Properly handle multiple file patterns. 9 years ago
Eric Holscher dac1ee0f2e Properly look for substring 9 years ago
Eric Holscher 30e4847898 Add basic tests & small output changes for auto-adding TOCTree 9 years ago
Eric Holscher ba1a09a8d1 Add ability to auto-inject AutoAPI into TocTree 9 years ago
Eric Holscher 685665535f Rename files 9 years ago
Eric Holscher f60b7d8880 Add ability to configure options of display of objects. 9 years ago
Eric Holscher 1cde5590eb Clean up how we render templates.
* Add top_level_object as global concept.
* Fix toctree generation
* Add passing of options to rendering
9 years ago
Eric Holscher d0cb6ae6e0 Clean up AutoAPI output and naming 9 years ago
Eric Holscher c02cd9d32e Add testing for template overrides. 9 years ago
Eric Holscher 5ca2ee76a5 Refactor into nicer top-level interface to the Domains.
Languages refactored:

* Python
* JS
9 years ago
Eric Holscher 9bc6072283 Add initial javascript support with jsdoc 3. 9 years ago
Anthony Johnson 966cce1051 Default autoapi to python instead of dotnet 9 years ago
Eric Holscher 9bdd44d8cd Add a basic go domain. 9 years ago
Eric Holscher aa62ad9af7 Sizable refactor of the autoapi tooling.
Standard template context and rendering. Also refactor YAML loading for new YAML formats.
10 years ago
Eric Holscher 09097cf364 Fix Python support 10 years ago