Skip to content

broken sitemap.xml with external link in nav #1742

Closed

Description

@brandongc

A mkdocs.yml like:

nav:
    - Home: index.md
    - Test: https://www.example.com
    - User Guide:
        - Writing Your Docs: user-guide/writing-your-docs.md

results in a sitemap.xml that google search console throws errors for:

    <url>
     <loc></loc>

     <changefreq>daily</changefreq>
    </url>

Activity

  1. added
    Theme-general
    on Feb 8, 2019
  2. waylan commented on Feb 8, 2019

    @waylan
    Contributor

    I hadn't thought about that. I suppose the sitemap template should skip external links. Of course, a PR is welcome. Shouldn't be a difficult fix.

  3. added a commit that references this issue on Jan 18, 2025
    31b3f68
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugEasyTheme-general

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions