Skip to content

Switch to sphinx_autodoc_typehints for doc #93

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Oct 10, 2022
Merged

Conversation

greschd
Copy link
Member

@greschd greschd commented Sep 27, 2022

See discussion in ansys/pyansys-dev-guide#187

While using sphinx.ext.autodoc.typehints worked for us, following
the common approach seems superior.

Remove the _autosummary directory during make(.bat) clean in
the documentation. This directory is auto-generated, and not
removing it can cause a rebuild of the documentation to be
incomplete.

Use functools.wraps for the mapping create method, to get rid of
doc build warnings.

@greschd greschd enabled auto-merge (squash) September 27, 2022 21:30
@greschd greschd disabled auto-merge September 27, 2022 21:34
@greschd greschd marked this pull request as draft September 28, 2022 06:25
@greschd greschd changed the title Loosen and update dependencies Switch to sphinx_autodoc_typehints for doc Sep 28, 2022
@greschd greschd marked this pull request as ready for review October 7, 2022 08:40
@greschd greschd enabled auto-merge (squash) October 7, 2022 08:41
@greschd greschd merged commit 1f09a41 into main Oct 10, 2022
@greschd greschd deleted the maint/update_lock branch October 10, 2022 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants