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

Wrong URLs in sitemap.xml #2993

Closed
lilyminium opened this issue Oct 18, 2020 · 0 comments · Fixed by #2994
Closed

Wrong URLs in sitemap.xml #2993

lilyminium opened this issue Oct 18, 2020 · 0 comments · Fixed by #2994

Comments

@lilyminium
Copy link
Member

Expected behavior

Sitemaps only include URLs within the same directory. https://www.sitemaps.org/faq.html#faq_sitemap_location

Actual behavior

dev/sitemap.xml and stable/sitemap.xml point to version 2.0.0-dev0 and 1.0.0 URLs, respectively, because they are just naively copied from their respective docs.

Code to reproduce the behavior

import MDAnalysis as mda
from MDAnalysis.tests.datafiles import PSF, DCD,  GRO, PDB, TPR, XTC, TRR,  PRMncdf, NCDF

u = mda.Universe(PSF, DCD)

....

By inspection

Current version of MDAnalysis

  • Which version are you using? (run python -c "import MDAnalysis as mda; print(mda.__version__)") develop
  • Which version of Python (python -V)?
  • Which operating system?
lilyminium added a commit that referenced this issue Oct 20, 2020
Fixes #2993

Redirect URLs in stable/sitemap.xml and dev/sitemap.xml to correct locations
@lilyminium lilyminium mentioned this issue Oct 20, 2020
4 tasks
lilyminium added a commit that referenced this issue Oct 20, 2020
Fixes #2993

Master version of #2994
lilyminium added a commit to lilyminium/mdanalysis that referenced this issue Dec 8, 2020
Fixes MDAnalysis#2993

Redirect URLs in stable/sitemap.xml and dev/sitemap.xml to correct locations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant