Commit Graph

39 Commits

Author SHA1 Message Date
Ashley Whetter
31d4beb959 Readthedocs uses Python 3.8 2020-10-07 22:25:08 -07:00
Ashley Whetter
8e4cd49e1a Dropped support for Python 2 and Sphinx 1.x/2.x.
Removed all old compatibility code.
2020-10-03 12:21:25 -07:00
Ashley Whetter
0667de4037 Release preparation 2020-08-31 21:59:16 -07:00
Ashley Whetter
f5823855ba Added Sphinx 3.1 testing 2020-07-11 19:14:03 -07:00
Ashley Whetter
8b9f0c23b5 Corrected autoapi_options default value 2020-05-16 18:00:04 -07:00
Matthijs van der Burgh
8f91c14199 Show black diff 2020-05-16 14:09:22 -07:00
Ashley Whetter
6bfe168abe Updated Travis Python versions 2020-04-05 20:09:07 -07:00
Ashley Whetter
5794902b23 Support Sphinx 2.4 and 3.0 2020-04-05 20:03:05 -07:00
Ashley Whetter
fc1d78f758 Python 3.8 support 2020-01-11 14:37:13 -08:00
Ashley Whetter
a122f00d4a Fix linting 2019-10-05 16:05:37 -07:00
Ashley Whetter
900072e99b Added documentation for optional dependencies 2019-09-07 17:25:03 -07:00
Ashley Whetter
45ff03a3ad Disable linting for now 2019-09-07 17:03:21 -07:00
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
2019-09-01 14:44:17 -07:00
Ashley Whetter
9fc96f2ddf Added support for Sphinx 2.1 2019-06-23 13:25:25 -07:00
Ashley Whetter
6d39780ae4 Fixed tox setup 2019-06-23 11:55:15 -07:00
Ashley Whetter
7230330686 Documentation overhaul 2019-04-21 15:38:22 -07:00
Ashley Whetter
8242f2ea13 Added Sphinx 2.0 support 2019-04-06 10:04:15 -07:00
Ashley Whetter
5d648c6fa8 Stopped pinning black version 2019-03-30 11:47:11 -07:00
Ashley Whetter
f77bf19800 Added Black formatting 2019-01-26 21:20:45 -08:00
Ashley Whetter
dfe82ae94e Dropped support for Sphinx<1.6 2019-01-26 16:26:39 -08:00
Ashley Whetter
e1962d8bd8 Added Python 3.7 testing
Also made Sphinx 1.8 testing use stable version
2018-11-14 22:40:55 -08:00
Ashley Whetter
0e478b2837 Added Sphinx 1.8.0b1 testing 2018-08-20 11:08:07 -07:00
Ashley Whetter
11a11ce740 Added sphinx 1.7 testing 2018-05-08 22:41:35 -07:00
Anthony Johnson
77306dd25b Upgrade testing
Conflicts:
	tox.ini
2017-11-08 16:04:25 -08:00
Ashley Whetter
67ab54761f Added Python 3.6 tests 2017-11-05 15:03:18 -08:00
Ashley Whetter
0c9ed87abf Fixed sphinx 1.3 tests using latest sphinx 2017-11-05 14:18:43 -08:00
Ashley Whetter
a1a3f05202 Fix for Sphinx 1.6 2017-11-05 14:18:43 -08:00
Anthony Johnson
0faeb500ee More fixes 2017-04-07 13:12:10 -07:00
Anthony Johnson
8da39241a7 Fix tox config 2017-04-07 12:01:17 -07:00
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
2017-04-07 11:46:57 -07:00
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
2016-11-02 16:29:28 -07:00
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
2016-06-08 16:36:11 -07:00
Eric Holscher
37699d983d Add py3 testing 2015-08-04 10:19:17 -07:00
Eric Holscher
f9d4d8c18d Clean up tox file 2015-08-03 14:01:54 -07:00
Eric Holscher
f5e26ca384 Fix mock properly 2015-08-03 11:59:55 -07:00
Eric Holscher
fc51ad4e0f Just call git directly 2015-08-03 11:59:16 -07:00
Eric Holscher
dc3c81b8c6 Whitelist cd 2015-08-03 11:59:16 -07:00
Eric Holscher
2c823fd4e8 Add proper testing config 2015-08-03 11:59:15 -07:00
Eric Holscher
7ddb93acb9 Add basic tox configuration 2015-08-03 11:59:02 -07:00