We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sidebar_cache_limit
Learning from our sister project kubernetes/website, I'd like to propose that we set the following config parameter (reference):
[params.ui] sidebar_cache_limit = 1 # https://github.com/gohugoio/hugo/issues/8918#issuecomment-903314696
In local tests, doing so reduces the site build time by 60%. The cost is that the active side-nav entry corresponding to the current page is dynamically marked as active client-side via the JS in https://github.com/google/docsy/blob/fed2d28d247f4d9f1190a5088f0fea4f09676b84/layouts/partials/sidebar.html (that JS should be moved, but that's another story).
WDYT @open-telemetry/docs-maintainers?
Note that this is blocked on:
/cc @sftim @nate-double-u
The text was updated successfully, but these errors were encountered:
I like that :-)
Sorry, something went wrong.
No branches or pull requests
Learning from our sister project kubernetes/website, I'd like to propose that we set the following config parameter (reference):
In local tests, doing so reduces the site build time by 60%. The cost is that the active side-nav entry corresponding to the current page is dynamically marked as active client-side via the JS in https://github.com/google/docsy/blob/fed2d28d247f4d9f1190a5088f0fea4f09676b84/layouts/partials/sidebar.html (that JS should be moved, but that's another story).
WDYT @open-telemetry/docs-maintainers?
Note that this is blocked on:
/cc @sftim @nate-double-u
The text was updated successfully, but these errors were encountered: