Skip to content

Commit

Permalink
ignore oioioi.problems in docs (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
twalen authored Dec 20, 2023
1 parent 66be0d2 commit 70bab9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rst/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
# Exclude migrations and tests.
# Based on https://sphinx-autoapi.readthedocs.io/en/latest/how_to.html#connect-to-the-autoapi-skip-member-event.
def should_skip_submodule(app, what, name, obj, skip, options):
if name.startswith("oioioi.problems"):
skip = True
submodule = name.split(".")[-1]
if submodule in ["migrations", "tests"]:
skip = True
Expand Down

0 comments on commit 70bab9f

Please sign in to comment.