-
Notifications
You must be signed in to change notification settings - Fork 658
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
add sitemap.xml to sphinx docs #1890
Conversation
rebased against develop, will merge/rebase after statuses. |
@richardjgowers I decided to generated sitemap.xml for the develop site so that we are guaranteed to have an appropriate sitemap.xml when deploying from travis. We deploy the master docs manually anyway so I added the new The script is doing a search and replace on the XML tree. A simple |
- install https://github.com/jdillard/sphinx-sitemap with pip - create sitemap.xml that is correct for the RELEASE docs (it is incorrect for the development docs but we do not want to index the devdocs anyway... but we could change it so that by default it is correct for devdocs and then we fix sitemap.xml when we manually add the release docs with the maintainer/deploy_master_docs.sh script) - see MDAnalysis/MDAnalysis.github.io#78
…ment - sitemap.xml is appropriate for the development docs: thus we do not ship and install a sitemap.xml that is misleading (when installing automatically via Travis CI) - change the loc in the sitemap.xml with the new maintainer/adapt_sitemap.py script: parse XML tree and replace the developer site URL prefix with the release doc prefix - manually create the release docs from master with the maintainer/deploy_master_docs.sh script (which is now calling the adapt_sitemap.py script)
rebased because of #1892 |
I manually ran the doc building for master (with the new sitemap stuff temporarily patched in) and pushed new release docs for 0.18.0 that also contain a sitemap https://www.mdanalysis.org/docs/sitemap.xml |
(it is incorrect for the development docs but we do not want to
index the devdocs anyway... but we could change it so that by default
it is correct for devdocs and then we fix sitemap.xml when we manually
add the release docs with the maintainer/deploy_master_docs.sh script)