From e67c90dfdf421f8e4eabcd08bead8e31db50d856 Mon Sep 17 00:00:00 2001 From: gidler Date: Mon, 27 Mar 2023 13:52:59 -0600 Subject: [PATCH] Cleanup of docs conf.py file (#3083) --- docs/conf.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 74f2bb0a68e..c1bd9ea0caa 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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: @@ -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 @@ -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 = {