-
Notifications
You must be signed in to change notification settings - Fork 913
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
Manually create a sitemap.xml for docs SEO #4261
Conversation
Signed-off-by: Dmitry Sorokin <[email protected]>
Signed-off-by: Dmitry Sorokin <[email protected]>
Signed-off-by: Dmitry Sorokin <[email protected]>
Signed-off-by: Dmitry Sorokin <[email protected]>
Signed-off-by: Dmitry Sorokin <[email protected]>
After adding
I also tried adding a custom |
Signed-off-by: Dmitry Sorokin <[email protected]>
Signed-off-by: Dmitry Sorokin <[email protected]>
Signed-off-by: Dmitry Sorokin <[email protected]>
Signed-off-by: Dmitry Sorokin <[email protected]>
Signed-off-by: Dmitry Sorokin <[email protected]>
Signed-off-by: Dmitry Sorokin <[email protected]>
Signed-off-by: Dmitry Sorokin <[email protected]>
Signed-off-by: Dmitry Sorokin <[email protected]>
Signed-off-by: Dmitry Sorokin <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
Signed-off-by: Dmitry Sorokin <[email protected]>
Description
We initially tried using autogenerated
robots.txt
andsitemap.xml
. However, the issue with this approach is that it does not support sub-projects (Viz and Datasets).This PR reverts to using a manual
robots.txt
, with a link to a manually createdsitemap.xml
. Both files are now located in theextra_files
folder, and this path has been included in thehtml_extra_path
configuration inconf.py
.If this approach proves successful, the next step will be to completely deindex older docs versions using the method proposed by RTD: readthedocs/readthedocs.org#10648 (comment).
Checklist
RELEASE.md
file