Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-9601 [Website v2] Github
  3. HDDS-10903

Move sitemap check to Docusaurus build

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • None
    • None
    • website

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              erose Ethan Rose
              erose Ethan Rose
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: