Skip to content

Commit

Permalink
Cleanup of docs conf.py file (open-mmlab#3083)
Browse files Browse the repository at this point in the history
  • Loading branch information
gidler authored Mar 27, 2023
1 parent 06648eb commit e67c90d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@

nb_execution_excludepatterns = ['jupyter_execute']

# Sphinx creates a "tags" object from the arguments specified in the "-t" option of the "sphinx-build" cmd
# This line allows AutoGluon's CI to execute a subset of our tutorial notebooks by setting the "nb_dirs_to_exec" variable
nb_dirs_to_exec = [os.path.join('tutorials', tag) for tag in tags if os.path.isdir(os.path.join('tutorials', tag))]

if len(nb_dirs_to_exec) > 0:
Expand All @@ -47,7 +49,7 @@
nb_execution_excludepatterns.append(os.path.join(nb_dir, '*.ipynb'))

templates_path = ['_templates']
exclude_patterns = ['_build', '_templates', 'olds', 'README.md', 'ReleaseInstructions.md', 'jupyter_execute']
exclude_patterns = ['_build', '_templates', 'README.md', 'ReleaseInstructions.md', 'jupyter_execute']
master_doc = 'index'
numfig = True
numfig_secnum_depth = 2
Expand All @@ -62,7 +64,6 @@
'light_logo': 'autogluon.png',
'dark_logo': 'autogluon-w.png',
'globaltoc_collapse': False,
# 'google_analytics_account': 'UA-XXXXX', # set to enable google analytics
}

html_sidebars = {
Expand Down

0 comments on commit e67c90d

Please sign in to comment.