Commit Graph

692 Commits

Author SHA1 Message Date
Ashley Whetter
a23e2ffe73 Render Python properties with the property directive
Fixes #352.
2022-09-27 15:57:44 -07:00
Ashley Whetter
d91c7aaa5c Added missing changelog entry 2022-09-27 12:20:25 -07:00
Bruno P. Kinoshita
c9edd8d1c6
Minor fixes (typos, http->https in links, types) (#348)
* Avoid http->https redirect, use https where possible

* Add autoapi_template_dir to existing array instead of re-declaring

* Typos

* Sphinx util uses int for verbosity in status_iterator

* Sphinx utils uses tuples for TypeField arguments
2022-09-27 12:18:48 -07:00
Ashley Whetter
991ac220fd Streamlined release process slightly 2022-07-25 12:00:54 -07:00
Ashley Whetter
deb6944644 Version 1.9.0 2022-07-25 11:53:50 -07:00
Ashley Whetter
ef1d4cb28e Added changelog entry 2022-07-25 11:47:10 -07:00
Jeff Epler
0ac4dc5389 Fix kw-only marker getting ignored if first in the signature (#340)
Closes: #328
2022-07-25 11:46:30 -07:00
Ashley Whetter
610bd10854 Added changelog entries 2022-07-25 11:37:27 -07:00
Ash Berlin-Taylor
c40c3edd5c
Mark extension as parallel_read_safe (#332) 2022-07-25 11:36:28 -07:00
Kian-Meng Ang
075736619f
Fix typos (#331) 2022-07-25 11:34:17 -07:00
Nathan Glenn
432b9af5d5
Fix keyerror when using markdown sources (#321)
Setting `source_suffix = ".md"` led to the following cryptic error output:

    Handler <function run_autoapi at 0x10841fc10> for event 'builder-inited' threw an exception (exception: 0)

This issue was that `app.config.source_suffix` is an `OrderedDict` object, which cannot be subscripted
using `[0]`, etc. Instead, use `next(iter(...))` to get the first element of the dictionary.
2022-07-25 11:32:11 -07:00
Ashley Whetter
0e4f121a5d Added missing changelog entries 2022-07-25 10:31:53 -07:00
Zachary Moon
185876a047
Limit signatures to 60 characters in summaries (#311) 2022-07-25 10:30:57 -07:00
Mathieu Bouzard
fc6b8aec77
Fix comment typehints for methods/classmethods (#300)
* Fix comment typehints for methods and classmethods

Co-authored-by: Mathieu <923463-mathbou@users.noreply.gitlab.com>
2022-07-25 10:27:03 -07:00
Ashley Whetter
517a6be383 Stop calling `autodoc-process-docstring` when docstring is empty 2022-07-25 10:22:38 -07:00
Ashley Whetter
cd4e1fa59f Fixed tests in Sphinx 5 2022-07-25 10:20:51 -07:00
Ashley Whetter
17ad4b988e Added new changelog entry 2022-02-08 21:50:57 -08:00
Ashley Whetter
6028cb104c Fail elegantly when no source files are found
Fixes #324
2022-02-08 21:44:16 -08:00
Ashley Whetter
685d1d34c8 Updated to latest black formatting 2022-02-08 19:37:55 -08:00
Ashley Whetter
71c6ceebe0 Fixed Python 3.10 erroring on Github 2021-12-23 01:44:38 -08:00
Ashley Whetter
0b214b2ffd Drop Python 3.6 and test in Python 3.10 2021-12-23 01:15:07 -08:00
Ashley Whetter
19d217e177 Version 1.8.4 2021-08-16 10:29:05 -07:00
Ashley Whetter
948f753a20 Fixed compatibility with astroid 2.7+.
Fixes #301
2021-08-16 10:23:20 -07:00
Ashley Whetter
4d8f6387ca Version 1.8.3 2021-07-31 18:27:38 -07:00
Ashley Whetter
7cdc0dfae3 Fixed broken link to Jinja objects.inv 2021-07-31 18:25:33 -07:00
Ashley Whetter
38c2089476 Removed prepare_docstring filter used for testing 2021-07-31 18:25:25 -07:00
Ashley Whetter
7d7f042805 Fixed possible incorrect indentation in generated documentation.
Closes #299.
2021-07-31 18:06:12 -07:00
Ashley Whetter
354535190c Version 1.8.2 2021-07-26 18:10:22 -07:00
Ashley Whetter
2c5c87157a Explicitly use the domain for generated directives
Closes #292
2021-06-27 17:25:36 -07:00
Ashley Whetter
26b7d729a2 Fixed AttributeError using inheritance diagrams on a module with plain imports
Fixes #289
2021-06-27 16:54:36 -07:00
Ashley Whetter
17ffa2d1b6 Fixed failure to build out of source conf.py files
Closes #293
2021-06-25 20:14:33 -07:00
Ashley Whetter
08e61b93ef Fixed displaying "self" in class signatures 2021-06-25 19:30:54 -07:00
Ashley Whetter
5faec73073 Fixed error when parsing a class with no constructor 2021-06-21 23:10:52 -07:00
Ashley Whetter
83b1260e67 Version 1.8.1 2021-04-24 19:49:49 -07:00
Ashley Whetter
613eff53a7 Fixed type annotations being shown for only a single module
Closes #273
2021-04-24 19:43:39 -07:00
Ashley Whetter
48ec2b341e Version 1.8.0 2021-04-12 20:46:07 -07:00
Ashley Whetter
dafd0cc89c Added missing changelog entries 2021-04-12 20:40:55 -07:00
Sam Morley-Short
3fb14a24fc Added attribute summary table to python module template 2021-04-12 20:34:33 -07:00
Kamil Breguła
57253a9f84 Generate rst files in src directory 2021-04-12 20:33:33 -07:00
Ashley Whetter
86a6d1059c Refactored dotnet error to raise an exception properly 2021-04-12 20:32:37 -07:00
René Fritze
099e6e89c1 Add descriptions for logging warning subtypes 2021-04-12 19:58:00 -07:00
René Fritze
5777e43347 remove (sub-) types for "Unknown type" warnings 2021-04-12 19:58:00 -07:00
René Fritze
5035ea9e4a Document the warnings suppression options 2021-04-12 19:58:00 -07:00
René Fritze
dbd1e9dfe6 Adds a subtype to all logger.warning calls 2021-04-12 19:58:00 -07:00
René Fritze
bec1f6c1b0 Adds a referenceable type to logging warnings
This allows users to use the sphinx config `suppress_warnings =
['autoapi']` to ignore warnings emitted from autoapi.
2021-04-12 19:58:00 -07:00
Ashley Whetter
66f3734afa Start testing in Github Actions 2021-04-04 20:23:24 -07:00
Ashley Whetter
826bb2badd Converted tests to pytest style 2021-04-03 19:01:27 -07:00
Ashley Whetter
9372bdb9f1 Package with PEP-517 2021-04-03 18:39:08 -07:00
Ashley Whetter
a0591adae4 Represent overload typehints more accurately 2021-04-03 11:12:42 -07:00
Ashley Whetter
7541f922ae Fixed data annotations causing pickle or deepcopy errors
Closes #261
2021-04-02 20:57:06 -07:00