diff --git a/CHANGELOG.md b/CHANGELOG.md index 32b37b6..938cca2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,19 +15,21 @@ The project underwent a major maintenance shift in March 2022. {: .note } This website is built from the `HEAD` of the `main` branch of the theme repository. -{: .warning } -This website includes docs for some new features that are not available in `v0.5.2`! - Code changes to `main` that are *not* in the latest release: +- Fixed: build times for large sites by [@pdmosses] in [#1244] - Added: `$color-scheme` theme variable to specify `color-scheme` for `:root` by [@sigv] in [#1280] - Fixed: missing closing `` tag in `sidebar.html` by [@mattxwang] in [#1304] -Docs changes in `main` that are *not* in the latest release: +{: .warning } +The theme docs are unversioned, and already reflect the above changes. -- N/A +Docs changes: + +- A [footnote]({% link docs/configuration.md %}#fn:js-disabled) in the configuration docs explains how disabling JavaScript affects the display of navigation links when browsing folded collections. [@sigv]: https://github.com/sigv +[#1244]: https://github.com/just-the-docs/just-the-docs/pull/1244 [#1280]: https://github.com/just-the-docs/just-the-docs/pull/1280 [#1304]: https://github.com/just-the-docs/just-the-docs/pull/1304 diff --git a/Gemfile b/Gemfile index aef0d56..15334e3 100644 --- a/Gemfile +++ b/Gemfile @@ -3,4 +3,6 @@ gemspec gem "jekyll-github-metadata", ">= 2.15" +gem "jekyll-include-cache", group: :jekyll_plugins + gem "webrick", "~> 1.7" diff --git a/_config.yml b/_config.yml index 1b043d9..09790ea 100644 --- a/_config.yml +++ b/_config.yml @@ -168,6 +168,7 @@ callouts: plugins: - jekyll-seo-tag - jekyll-github-metadata + - jekyll-include-cache kramdown: syntax_highlighter_opts: diff --git a/_includes/components/sidebar.html b/_includes/components/sidebar.html index fdc0ab8..7863340 100644 --- a/_includes/components/sidebar.html +++ b/_includes/components/sidebar.html @@ -1,3 +1,15 @@ +{%- comment -%} + Include as: {%- include components/sidebar.html -%} + Depends on: page(?), site. + Results in: HTML for the side bar. + Includes: + title.html, nav.html, nav_footer_custom.html + Overwrites: + pages_top_size, collections_size, collection_entry, + collection_key, collection_value, collection, nav_footer_custom. + Should not be cached, because nav_footer_custom.html might depend on page. +{%- endcomment -%} +