TEXT
``` ### THEME WEBSITE CHANGES The website now uses *callouts*[^callouts] to draw attention to important information. [^callouts]: The theme website configuration defines the callout titles and colors used there. Websites that use the theme have to configure their own callout titles and colors. The theme uses [semantic versioning]. A normal version number takes the form X.Y.Z, where X is the major version, Y is the minor version, and Z is the patch version. The theme uses version X.Y.Z.rcN for pre-release N of version X.Y.Z. When referring to version numbers on GitHub, we usually prefix them by 'v'. [semantic versioning]: https://semver.org Major version zero (0.Y.Z) is for initial development, where anything *may* change at any time. In practice, we increment the patch version Z for bug fixes and backwards compatible changes; we increment the minor version Y for changes that could break websites using the theme without pinning it to a specific version. The label `NEW` in the theme website indicates a feature that has been changed or added since the release of the previous *minor* version. For example, after the release of v0.4.Z, the theme website should label `NEW` all features that we have changed or added since v0.3.0 – not just since v0.3.3. When we release v0.5.0, we will remove all those labels, and add labels on features since v0.4.0. The theme docs website is not itself versioned. It changes incrementally, independently of theme releases. #### Home page The theme home page now focuses on the simplest ways of using the theme. It also notes the different behaviour of `theme` and `remote_theme` in connection with interim versions of the theme, such as pre-releases. #### CHANGELOG The CHANGELOG page lists the changes made in all previous releases and pre-releases of new versions of the theme gem. It also lists changes made to the `main` branch of the theme since the latest release or pre-release. For changes since v0.3.3, the log usually references the merged PR that made the change and its author. ### NON-BREAKING CHANGES (OUTLINE ONLY) Brief descriptions of the following changes are to be added below. #### Accessibility - Skip to main content: the first keyboard-navigatable item is now a link to skip over the sidebar and header to the main content of the page. PR: [#949]. - Aria-labels: improved `aria-label`s have been added to various site elements. PRs: [#950], ... - Other general improvements: gradual changes have improved tab focusability, contrast, and semantic elements. More work still to come. PRs: [#498], [#846] #### Configuration - Mermaid support: first-class support for [Mermaid](https://mermaid.js.org/) - a JavaScript-based diagram and charting tool supported by GitHub - has been added to the theme. **This feature is opt-in.** See the new doc subsections in [Configuration]({% link docs/configuration.md %}#mermaid-diagrams) and [Code]({% link docs/ui-components/code.md %}#mermaid-diagram-code-blocks) for more. - Multiple Google Analytics tags are now supported. PR: [#1029] #### Customization - all user-facing text is now customizable; previously, several elements (ex search placeholder) were hardwired into the theme. Now, users can blend custom includes and layouts to internationalize their sites. - we've clarified the role of `custom.scss` to be imported last; to allow users to define custom or override variables, we've added a new file `setup.scss`. PR: [#1135] #### Custom Includes We've added several custom `_includes` to provide users with more customization options for different site elements. We've also added a section to [Configuration]({% link docs/customization.md %}#override-includes) to outline these. All of these are opt-in by default; however, **these may be breaking if you have existing `_includes` with the same name**. Each item is listed with the relevant file and PR. - TOC heading: `toc_heading_custom.html`, PR: [#980] - Navigation panel footer: `nav_footer_custom.html`, PR: [#474] - Search placeholder: `search_placeholder_custom.html`, PR: [#613] - Modular site components: `components/` and `icons/`, PR: [#1058] - Custom search indices: `lunr/`, PR: [#1068] In a future (version 1) release, we may rename the custom include files. #### Modular Components We've broken up the default layout (`_layouts/default.html`) into multiple reusable components. This should have no impact on most users; however, it should make it easier to implement custom layouts. For more, see [Custom layouts and includes]({% link docs/customization.md %}#custom-layouts-and-includes). PR: [#1058]. #### Navigation - Collections: nav panel shows links to ordinary pages before collections - Collection folding; part of "Combination". PR: [#578] - Scrolling to show link to selected page. PR: [#639] - External nav links are now supported. PR: [#876] - Child nav order: sort navigation pages with `child_nav_order`. PR: [#726] - Order when mixing different ways of specifying nav order #### Search In addition to customizing the search placeholder, we've also added the ability to provide custom content to the search index. for more, see [Custom content for search index]({% link docs/search.md %}#custom-content-for-search-index). PR: [#1068]. #### Styling - Code copying: code blocks now allow users to easily copy their contents. PR: [#945] - Blockquote: shows vertical bar on left. PR: [#965] - Links wrap. PR: [#905] - Callouts: a new component similar to alerts or banners. See [UI Components - Callouts]({% link docs/ui-components/callouts.md %}). PR: [#466] ---- [#856]: https://github.com/just-the-docs/just-the-docs/pull/856 [#806]: https://github.com/just-the-docs/just-the-docs/pull/806 [#555]: https://github.com/just-the-docs/just-the-docs/pull/555 [#814]: https://github.com/just-the-docs/just-the-docs/pull/814 [#778]: https://github.com/just-the-docs/just-the-docs/pull/778 [#221]: https://github.com/just-the-docs/just-the-docs/pull/221 [#782]: https://github.com/just-the-docs/just-the-docs/pull/782 [#549]: https://github.com/just-the-docs/just-the-docs/pull/549 [#554]: https://github.com/just-the-docs/just-the-docs/pull/554 [#499]: https://github.com/just-the-docs/just-the-docs/pull/499 [#473]: https://github.com/just-the-docs/just-the-docs/pull/473 [#835]: https://github.com/just-the-docs/just-the-docs/pull/835 [#891]: https://github.com/just-the-docs/just-the-docs/pull/891 [#906]: https://github.com/just-the-docs/just-the-docs/pull/906 [#578]: https://github.com/just-the-docs/just-the-docs/pull/578 [#463]: https://github.com/just-the-docs/just-the-docs/pull/463 [#448]: https://github.com/just-the-docs/just-the-docs/pull/448 [#466]: https://github.com/just-the-docs/just-the-docs/pull/466 [#477]: https://github.com/just-the-docs/just-the-docs/pull/477 [#495]: https://github.com/just-the-docs/just-the-docs/pull/495 [#496]: https://github.com/just-the-docs/just-the-docs/pull/496 [#498]: https://github.com/just-the-docs/just-the-docs/pull/498 [#494]: https://github.com/just-the-docs/just-the-docs/pull/494 [#639]: https://github.com/just-the-docs/just-the-docs/pull/639 [#544]: https://github.com/just-the-docs/just-the-docs/pull/544 [#364]: https://github.com/just-the-docs/just-the-docs/pull/364 [#498]: https://github.com/just-the-docs/just-the-docs/pull/498 [#613]: https://github.com/just-the-docs/just-the-docs/pull/613 [#726]: https://github.com/just-the-docs/just-the-docs/pull/726 [#474]: https://github.com/just-the-docs/just-the-docs/pull/474 [#829]: https://github.com/just-the-docs/just-the-docs/pull/829 [#857]: https://github.com/just-the-docs/just-the-docs/pull/857 [#876]: https://github.com/just-the-docs/just-the-docs/pull/876 [#909]: https://github.com/just-the-docs/just-the-docs/pull/909 [#519]: https://github.com/just-the-docs/just-the-docs/pull/519 [#855]: https://github.com/just-the-docs/just-the-docs/pull/855 [#686]: https://github.com/just-the-docs/just-the-docs/pull/686 [#495]: https://github.com/just-the-docs/just-the-docs/pull/495 [#846]: https://github.com/just-the-docs/just-the-docs/pull/846 [#727]: https://github.com/just-the-docs/just-the-docs/pull/727 [#889]: https://github.com/just-the-docs/just-the-docs/pull/889 [#893]: https://github.com/just-the-docs/just-the-docs/pull/893 [#905]: https://github.com/just-the-docs/just-the-docs/pull/905 [#898]: https://github.com/just-the-docs/just-the-docs/pull/898 [#950]: https://github.com/just-the-docs/just-the-docs/pull/950 [#944]: https://github.com/just-the-docs/just-the-docs/pull/944 [#939]: https://github.com/just-the-docs/just-the-docs/pull/939 [#949]: https://github.com/just-the-docs/just-the-docs/pull/949 [#941]: https://github.com/just-the-docs/just-the-docs/pull/941 [#956]: https://github.com/just-the-docs/just-the-docs/pull/956 [#935]: https://github.com/just-the-docs/just-the-docs/pull/935 [#940]: https://github.com/just-the-docs/just-the-docs/pull/940 [#951]: https://github.com/just-the-docs/just-the-docs/pull/951 [#955]: https://github.com/just-the-docs/just-the-docs/pull/955 [#937]: https://github.com/just-the-docs/just-the-docs/pull/937 [#965]: https://github.com/just-the-docs/just-the-docs/pull/965 [#960]: https://github.com/just-the-docs/just-the-docs/pull/960 [#962]: https://github.com/just-the-docs/just-the-docs/pull/962 [#964]: https://github.com/just-the-docs/just-the-docs/pull/964 [#967]: https://github.com/just-the-docs/just-the-docs/pull/967 [#974]: https://github.com/just-the-docs/just-the-docs/pull/974 [#980]: https://github.com/just-the-docs/just-the-docs/pull/980 [#985]: https://github.com/just-the-docs/just-the-docs/pull/985 [#986]: https://github.com/just-the-docs/just-the-docs/pull/986 [#992]: https://github.com/just-the-docs/just-the-docs/pull/992 [#945]: https://github.com/just-the-docs/just-the-docs/pull/945 [#999]: https://github.com/just-the-docs/just-the-docs/pull/999 [#1000]: https://github.com/just-the-docs/just-the-docs/pull/1000 [#1001]: https://github.com/just-the-docs/just-the-docs/pull/1001 [#1010]: https://github.com/just-the-docs/just-the-docs/pull/1010 [#1015]: https://github.com/just-the-docs/just-the-docs/pull/1015 [#1018]: https://github.com/just-the-docs/just-the-docs/pull/1018 [#1019]: https://github.com/just-the-docs/just-the-docs/pull/1019 [#1021]: https://github.com/just-the-docs/just-the-docs/pull/1021 [#1027]: https://github.com/just-the-docs/just-the-docs/pull/1027 [#1029]: https://github.com/just-the-docs/just-the-docs/pull/1029 [#1040]: https://github.com/just-the-docs/just-the-docs/pull/1040 [#1061]: https://github.com/just-the-docs/just-the-docs/pull/1061 [#1065]: https://github.com/just-the-docs/just-the-docs/pull/1065 [#1071]: https://github.com/just-the-docs/just-the-docs/pull/1071 [#1074]: https://github.com/just-the-docs/just-the-docs/pull/1074 [#1076]: https://github.com/just-the-docs/just-the-docs/pull/1076 [#1077]: https://github.com/just-the-docs/just-the-docs/pull/1077 [#1090]: https://github.com/just-the-docs/just-the-docs/pull/1090 [#1091]: https://github.com/just-the-docs/just-the-docs/pull/1091 [#1092]: https://github.com/just-the-docs/just-the-docs/pull/1092 [#1095]: https://github.com/just-the-docs/just-the-docs/pull/1095 [#1068]: https://github.com/just-the-docs/just-the-docs/pull/1068 [#1135]: https://github.com/just-the-docs/just-the-docs/pull/1135