Skip to content

Conversation

@akaszynski
Copy link
Contributor

It is possible to turn off the expandable navigation entirely by setting the collapse_navigation config option to True:

html_theme_options = {
  "collapse_navigation": True
}

This tends to help improve documentation build times.

See: https://pydata-sphinx-theme.readthedocs.io/en/stable/user_guide/navigation.html

Copy link
Contributor

@mkundu1 mkundu1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, build time is reduced from 27 min to 12 min. Thanks

@mkundu1 mkundu1 merged commit f02f686 into main Feb 8, 2023
@mkundu1 mkundu1 deleted the docs/collapse_navigation branch February 8, 2023 03:38
@mkundu1 mkundu1 mentioned this pull request Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants