Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and zacharyburnett committed Apr 24, 2023
1 parent 8a86df7 commit b004f7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,14 @@
def find_mod_objs_patched(*args, **kwargs):
return find_mod_objs(args[0], onlylocals=True)


def patch_automodapi(app):
"""Monkey-patch the automodapi extension to exclude imported members"""
from sphinx_automodapi import automodsumm
from sphinx_automodapi.utils import find_mod_objs

automodsumm.find_mod_objs = find_mod_objs_patched


def setup(app):
try:
app.add_css_file("stsci.css")
Expand Down

0 comments on commit b004f7a

Please sign in to comment.