Skip to content

Commit

Permalink
fix: disabling autoapi
Browse files Browse the repository at this point in the history
  • Loading branch information
irtazaakram committed Dec 5, 2024
1 parent cc3c0c7 commit 061834d
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,19 +67,21 @@
'sphinx_design',
'code_annotations.contrib.sphinx.extensions.featuretoggles',
'code_annotations.contrib.sphinx.extensions.settings',
'autoapi.extension',
# 'autoapi.extension', # Temporarily disabled
]

autoapi_type = 'python'
autoapi_dirs = ['../lms/djangoapps', '../openedx/core/djangoapps', "../openedx/features"]

autoapi_ignore = [
'*/migrations/*',
'*/tests/*',
'*.pyc',
'__init__.py',
'**/xblock_serializer/data.py',
]
# Temporarily disabling autoapi_dirs and the AutoAPI extension due to performance issues.
# This will unblock ReadTheDocs builds and will be revisited for optimization.
# autoapi_type = 'python'
# autoapi_dirs = ['../lms/djangoapps', '../openedx/core/djangoapps', "../openedx/features"]
#
# autoapi_ignore = [
# '*/migrations/*',
# '*/tests/*',
# '*.pyc',
# '__init__.py',
# '**/xblock_serializer/data.py',
# ]

# Rediraffe related settings.
rediraffe_redirects = "redirects.txt"
Expand Down

0 comments on commit 061834d

Please sign in to comment.