Commit Graph

28 Commits (45ff03a3ad144293390e699b8d84df4b47cef7b4)

Author SHA1 Message Date
Ashley Whetter 45ff03a3ad Disable linting for now 5 years ago
danields761 be324b10bf Made dependencies of other languages optional (#171)
* Fixes #170

* Makes sphinxcontrib-golangdomain and
sphinxcontrib-dotnetdomain to be optional
packages
* Adds check that appropriate dependencies of
a specified api-type installed during the
extension initialisation
* Adds appropriate tests
5 years ago
Ashley Whetter 9fc96f2ddf Added support for Sphinx 2.1 5 years ago
Ashley Whetter 6d39780ae4 Fixed tox setup 5 years ago
Ashley Whetter 7230330686 Documentation overhaul 5 years ago
Ashley Whetter 8242f2ea13 Added Sphinx 2.0 support 5 years ago
Ashley Whetter 5d648c6fa8 Stopped pinning black version 5 years ago
Ashley Whetter f77bf19800 Added Black formatting 5 years ago
Ashley Whetter dfe82ae94e Dropped support for Sphinx<1.6 5 years ago
Ashley Whetter e1962d8bd8 Added Python 3.7 testing
Also made Sphinx 1.8 testing use stable version
6 years ago
Ashley Whetter 0e478b2837 Added Sphinx 1.8.0b1 testing 6 years ago
Ashley Whetter 11a11ce740 Added sphinx 1.7 testing 6 years ago
Anthony Johnson 77306dd25b Upgrade testing
Conflicts:
	tox.ini
7 years ago
Ashley Whetter 67ab54761f Added Python 3.6 tests 7 years ago
Ashley Whetter 0c9ed87abf Fixed sphinx 1.3 tests using latest sphinx 7 years ago
Ashley Whetter a1a3f05202 Fix for Sphinx 1.6 7 years ago
Anthony Johnson 0faeb500ee More fixes 7 years ago
Anthony Johnson 8da39241a7 Fix tox config 7 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
7 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 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
Eric Holscher 37699d983d Add py3 testing 9 years ago
Eric Holscher f9d4d8c18d Clean up tox file 9 years ago
Eric Holscher f5e26ca384 Fix mock properly 9 years ago
Eric Holscher fc51ad4e0f Just call git directly 9 years ago
Eric Holscher dc3c81b8c6 Whitelist cd 9 years ago
Eric Holscher 2c823fd4e8 Add proper testing config 9 years ago
Eric Holscher 7ddb93acb9 Add basic tox configuration 9 years ago