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

[v2] Generated sitemap is empty #2543

Closed
aeneasr opened this issue Apr 5, 2020 · 2 comments
Closed

[v2] Generated sitemap is empty #2543

aeneasr opened this issue Apr 5, 2020 · 2 comments
Labels
bug An error in the Docusaurus core causing instability or issues with its execution

Comments

@aeneasr
Copy link
Contributor

aeneasr commented Apr 5, 2020

🐛 Bug Report

The file ./build/sitemap.xml which is generated by docusaurus-plugin-sitemap is just an empty file.

Have you read the Contributing Guidelines on issues?

yes

To Reproduce

$ npx @docusaurus/init@next init my-website classic
$ cd my-website
$ npm run build
$ cat build/sitemap.xml
# file is empty

Expected behavior

Sitemap should be generated.

Actual Behavior

Sitemap is empty.

Your Environment

  • Docusaurus version used: npx @docusaurus/init@next
  • Environment name and version (e.g. Chrome 78.0.3904.108, Node.js 10.17.0): v13.11.0
  • Operating system and version (desktop or mobile): desktop

Reproducible Demo

See To Reproduce

@aeneasr aeneasr added bug An error in the Docusaurus core causing instability or issues with its execution status: needs triage This issue has not been triaged by maintainers labels Apr 5, 2020
@yangshun yangshun removed the status: needs triage This issue has not been triaged by maintainers label Apr 5, 2020
@yangshun
Copy link
Contributor

yangshun commented Apr 5, 2020

Fixed in #2530

@aeneasr
Copy link
Contributor Author

aeneasr commented Apr 5, 2020

Oh sorry, I saw that PR but thought it was already released - looks like that's not the case :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error in the Docusaurus core causing instability or issues with its execution
Projects
None yet
Development

No branches or pull requests

2 participants