Skip to content

Commit

Permalink
Merge pull request #73 from jbms/small-patches-to-#64-changes
Browse files Browse the repository at this point in the history
Small patches to #64 changes
  • Loading branch information
jbms committed Apr 25, 2022
2 parents 7acb565 + 4be7c4f commit 0e0dcc8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/cppreference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ To use this extension, simply add it to the list of extensions in :file:`conf.py
extensions = [
# other extensions...
"sphinx_immaterial.cppreferences",
"sphinx_immaterial.cppreference",
]
.. rst-example::
Expand Down
4 changes: 2 additions & 2 deletions sphinx_immaterial/apidoc_formatting.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ def _wrap_signatures(
enabled = app.config.html_wrap_signatures_with_css
if enabled is True or enabled is None:
pass
if enabled is False:
elif enabled is False:
return
if domain not in enabled:
elif domain not in enabled:
return
signatures = content.parent[:-1]
for signature in signatures:
Expand Down

0 comments on commit 0e0dcc8

Please sign in to comment.