Ethan Rose created HDDS-10903:
---------------------------------
Summary: Move sitemap check to Docusaurus build
Key: HDDS-10903
URL: https://issues.apache.org/jira/browse/HDDS-10903
Project: Apache Ozone
Issue Type: Sub-task
Components: website
Reporter: Ethan Rose
Assignee: Ethan Rose
We currently have a GitHub actions job that checks the sitemap.xml file
generated by the Docusaurus build to make sure that all generated URLs use
lowercase kebab-case. Since URLs are either generated from file names or front
matter (with {{slug}}) and we already have checks for both of those, it is
unlikely that an invalid URL format would be generated. The check is still nice
to have though, so we can make it lighter weight by plugging it into the
Docusaurus build using the new sitemap hook in version 3.3:
https://docusaurus.io/blog/releases/3.3#createsitemapitems
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]