Skip to content

Commit

Permalink
Update to Docusaurus 3.2 and use new sitemap capability (#84)
Browse files Browse the repository at this point in the history
* Update to Docusaurus 3.2 and use new sitemap capability

Expose the last change date for pages in our sitemap

Signed-off-by: Tim Smith <[email protected]>

* Use updated URLs to avoid redirects

Signed-off-by: Tim Smith <[email protected]>

---------

Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 authored Mar 29, 2024
1 parent 81778c9 commit db4a5f0
Show file tree
Hide file tree
Showing 3 changed files with 208 additions and 213 deletions.
2 changes: 1 addition & 1 deletion docs/cnspec/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ cnspec scan k8s -o json > k8s-test-results.json

To save, review, and share reports, sign up for a free Mondoo account. [Mondoo's web-based console](https://console.mondoo.com/) allows you to navigate, search, and inspect all of your reports.

To learn about more of Mondoo Platform's capabilities, visit [mondoo.com](https://mondoo.com/).
To learn about more of Mondoo Platform's capabilities, visit [mondoo.com](https://mondoo.com).

To learn how to sign up for a free Mondoo account and register cnspec, read [Log into Mondoo Platform for More Capabilities](/cnspec/cnspec-platform/).

Expand Down
7 changes: 4 additions & 3 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,19 +296,19 @@ module.exports = {
items: [
{
label: "Mondoo Home",
href: "https://mondoo.com/",
href: "https://mondoo.com",
},
{
label: "Mondoo Console",
href: "https://console.mondoo.com",
},
{
label: "cnquery",
href: "https://mondoo.com/cnquery/",
href: "https://mondoo.com/cnquery",
},
{
label: "cnqspec",
href: "https://mondoo.com/cnspec/",
href: "https://mondoo.com/cnspec",
},
],
},
Expand Down Expand Up @@ -376,6 +376,7 @@ module.exports = {
},
sitemap: {
changefreq: "weekly",
lastmod: "date",
ignorePatterns: ["**/releases/tags/**"],
priority: 0.5,
},
Expand Down
Loading

0 comments on commit db4a5f0

Please sign in to comment.