From 47a440774f7cd1c2582fa5d846eb2cd1ff043bd4 Mon Sep 17 00:00:00 2001 From: Sandra McCann Date: Mon, 29 Apr 2019 16:34:02 -0400 Subject: [PATCH] Speed up the Sphinx documentation build (#55593) * speeds up the docs build by changing the navigation collapse setting --- docs/docsite/_themes/sphinx_rtd_theme/theme.conf | 2 +- docs/docsite/rst/conf.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/docsite/_themes/sphinx_rtd_theme/theme.conf b/docs/docsite/_themes/sphinx_rtd_theme/theme.conf index 16ad38fe8df..567468a0128 100644 --- a/docs/docsite/_themes/sphinx_rtd_theme/theme.conf +++ b/docs/docsite/_themes/sphinx_rtd_theme/theme.conf @@ -10,7 +10,7 @@ collapse_navigation = False sticky_navigation = True navigation_depth = 4 includehidden = True -titles_only = +titles_only = logo_only = display_version = True prev_next_buttons_location = bottom diff --git a/docs/docsite/rst/conf.py b/docs/docsite/rst/conf.py index 8dfe316f679..edad4acd120 100644 --- a/docs/docsite/rst/conf.py +++ b/docs/docsite/rst/conf.py @@ -135,6 +135,7 @@ html_short_title = 'Ansible Documentation' html_theme_options = { 'canonical_url': "https://docs.ansible.com/ansible/latest/", + 'collapse_navigation': "True" } # The style sheet to use for HTML and HTML Help pages. A file of that name