Skip to content

Commit b904ccc

Browse files
authored
Merge branch 'main' into a11y-specs
2 parents 6ae4f8f + ce32212 commit b904ccc

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@ Code changes to `main` that are *not* in the latest release:
2424
Docs changes made since the latest release:
2525

2626
- Added: Allow unlimited multi-level navigation by [@pdmosses] in [#1440]
27+
- Added: sitemap (via `jekyll-sitemap` plugin) by [@mattxwang] in [#1530]
2728

2829
[#1431]: https://github.com/just-the-docs/just-the-docs/pull/1431
2930
[#1440]: https://github.com/just-the-docs/just-the-docs/pull/1440
31+
[#1530]: https://github.com/just-the-docs/just-the-docs/pull/1530
3032

3133
## Release v0.9.0
3234

_config.yml

+5-8
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ repository: just-the-docs/just-the-docs # for github-metadata
2222
permalink: pretty
2323

2424
defaults:
25-
-
26-
scope:
25+
- scope:
2726
path: "docs" # an empty string here means all files in the project
2827
type: "pages"
2928
values:
@@ -90,7 +89,7 @@ search:
9089
# Supports true or false (default)
9190
button: false
9291
# Focus the search input by pressing `ctrl + focus_shortcut_key` (or `cmd + focus_shortcut_key` on macOS)
93-
focus_shortcut_key: 'k'
92+
focus_shortcut_key: "k"
9493

9594
# For copy button on code
9695
enable_copy_code_button: true
@@ -137,8 +136,8 @@ nav_external_links:
137136
nav_error_report: true # default is false/nil.
138137

139138
liquid:
140-
error_mode: strict
141-
strict_filters: true
139+
error_mode: strict
140+
strict_filters: true
142141

143142
# Footer content
144143
# appears at the bottom of every page's main content
@@ -147,14 +146,12 @@ liquid:
147146
back_to_top: true
148147
back_to_top_text: "Back to top"
149148

150-
footer_content: "Copyright &copy; 2017-2020 Patrick Marsceill. Distributed by an <a href=\"https://github.com/just-the-docs/just-the-docs/tree/main/LICENSE.txt\">MIT license.</a> <a href=\"https://www.netlify.com/\">This site is powered by Netlify.</a>"
149+
footer_content: 'Copyright &copy; 2017-2020 Patrick Marsceill. Distributed by an <a href="https://github.com/just-the-docs/just-the-docs/tree/main/LICENSE.txt">MIT license.</a> <a href="https://www.netlify.com/">This site is powered by Netlify.</a>'
151150

152151
# Footer last edited timestamp
153152
last_edit_timestamp: true # show or hide edit time - page must have `last_modified_date` defined in the frontmatter
154153
last_edit_time_format: "%b %e %Y at %I:%M %p" # uses ruby's time format: https://ruby-doc.org/stdlib-2.7.0/libdoc/time/rdoc/Time.html
155154

156-
157-
158155
# Footer "Edit this page on GitHub" link text
159156
gh_edit_link: true # show or hide edit this page link
160157
gh_edit_link_text: "Edit this page on GitHub"

fixtures/Gemfile-jekyll-3.9

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ gem "jekyll-seo-tag", ">= 2.0"
66
gem "rake", ">= 12.3.1"
77

88
gem "jekyll-include-cache", group: :jekyll_plugins
9+
gem "jekyll-sitemap", group: :jekyll_plugins
910

1011
# required for Jekyll 3
1112
gem "webrick", "~> 1.7"

fixtures/Gemfile-jekyll-4.3

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ gem "jekyll-seo-tag", ">= 2.0"
66
gem "rake", ">= 12.3.1"
77

88
gem "jekyll-include-cache", group: :jekyll_plugins
9+
gem "jekyll-sitemap", group: :jekyll_plugins
910

1011
# docs-only
1112
gem "jekyll-github-metadata", ">= 2.15"

0 commit comments

Comments
 (0)