diff options
author | Alicia Cozine <879121+acozine@users.noreply.github.com> | 2019-05-21 11:46:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-21 11:46:27 -0500 |
commit | e61a089b5ed4e9da34cacc47956227dcf052d2c5 (patch) | |
tree | 757317d7cfbd53648eafb2d0025c35d539a6cdf5 | |
parent | 80d37638c6a54f816d4ed5287161061b0019fe33 (diff) | |
download | ansible-e61a089b5ed4e9da34cacc47956227dcf052d2c5.tar.gz |
Speed up the Sphinx documentation build (#55593) (#56663)
* speeds up the docs build by changing the navigation collapse setting
(cherry picked from commit 47a440774f7cd1c2582fa5d846eb2cd1ff043bd4)
-rw-r--r-- | docs/docsite/_themes/sphinx_rtd_theme/theme.conf | 2 | ||||
-rw-r--r-- | docs/docsite/rst/conf.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/docs/docsite/_themes/sphinx_rtd_theme/theme.conf b/docs/docsite/_themes/sphinx_rtd_theme/theme.conf index 16ad38fe8d..567468a012 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 971996739f..02792bc938 100644 --- a/docs/docsite/rst/conf.py +++ b/docs/docsite/rst/conf.py @@ -129,6 +129,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 |