Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add sitemap generation #2

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Florent-Bouisset
Copy link
Collaborator

Add the possibility to generate a sitemap.xml file to help search engine discover and index the content.

To do that add the siteMapRoot entry in the .docConfig.json

"siteMapRoot": "http://example.com"

It will generate the sitemap file:

<?xml version="1.0" encoding="UTF-8"?>
  <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <url>
      <loc>http://example.com/Getting_Started/Home.html</loc>
      <lastmod>2024-09-24</lastmod>
    </url>
    <url>
      <loc>http://example.com/Getting_Started/Steps/Documentation_Files.html</loc>
      <lastmod>2024-09-24</lastmod>
    </url>
    ...

@peaBerberian
Copy link
Collaborator

I don't remember the state of that PR but I like it, even if it may not be able to indicate to search engines what our homepage is.
Is it ready?

@Florent-Bouisset
Copy link
Collaborator Author

I don't remember the state of that PR but I like it, even if it may not be able to indicate to search engines what our homepage is. Is it ready?

Yes it's ready to be reviewed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants