Skip to content

Commit e1da0e3

Browse files
committed
docs: improving autoapi
1 parent 87e5749 commit e1da0e3

File tree

4 files changed

+7
-17
lines changed

4 files changed

+7
-17
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,5 @@ dmypy.json
8181
# VSCode settings
8282
.vscode
8383

84-
doc/_build
84+
doc/_build
85+
doc/source/api

doc/source/_autoapi_templates/index.rst

Lines changed: 0 additions & 14 deletions
This file was deleted.

doc/source/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,20 @@
3333
"version_match": get_version_match(__version__),
3434
},
3535
"check_switcher": False,
36+
"ansys_sphinx_theme_autoapi": {
37+
"project": project,
38+
},
3639
}
3740

3841
# Sphinx extensions
3942
extensions = [
4043
"sphinx.ext.autodoc",
4144
"sphinx.ext.autosummary",
42-
"autoapi.extension",
4345
"sphinx_autodoc_typehints",
4446
"numpydoc",
4547
"sphinx.ext.intersphinx",
4648
"sphinx_copybutton",
49+
"ansys_sphinx_theme.extension.autoapi",
4750
]
4851

4952
# Intersphinx mapping

doc/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
:hidden:
1010
:maxdepth: 3
1111

12-
autoapi/index
12+
api/index

0 commit comments

Comments
 (0)