Skip to content

Commit

Permalink
Blackened
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter-van-Tol committed Jun 23, 2024
1 parent f2a2aa4 commit 5e24492
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

# -- API documentation -------------------------------------------------------
# `sphinx-apidoc` is supported by default. Additional API documentation providers.
# One can select the preferred method with the variable below. Accepted options
# One can select the preferred method with the variable below. Accepted options
# are: `sphinx-apidoc`, or 'None'. The variable is case-insensitive
api_documentation = "sphinx-apidoc"

Expand Down Expand Up @@ -61,6 +61,7 @@ def run_sphinx_apidoc():
except Exception as e:
print("Running `sphinx-apidoc` failed!\n{}".format(e))


if api_documentation.lower() == "sphinx-apidoc":
run_sphinx_apidoc()
elif api_documentation.lower() == "none":
Expand Down

0 comments on commit 5e24492

Please sign in to comment.