-
Notifications
You must be signed in to change notification settings - Fork 189
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
Docs: how to stop search engines indexing outdated version of aiida #6516
Comments
Thanks a lot @sphuber for merging #6517, See here, they override only if |
No we can't unfortunately. We decided some time ago that we do not want to have |
Makes sense, patch release is even better! |
Checking after release We need to understand how to move it to the right place. |
https://support.google.com/webmasters/answer/7489871?hl=en#zippy=%2Cthis-is-my-site |
Investigated this a bit. Current readthedocs setup is the following:
But I think just having aiida-core as the main project is simpler and makes more sense. Considering also that we don't have any other subprojects. We can also rename
@khsrali would this work? |
Note, a possible (huge) drawback of what i described above: I think there are direct links to aiida documentation on the internet in the form of "https://aiida.readthedocs.io/projects/aiida-core/en/latest/howto/index.html". if we simplify the url, these will get broken. pinging also @giovannipizzi |
Thanks a lot @eimrek for writing this up. Your suggestion actually makes sense to me. Also One suggestion could be, we set a redirect in Probably this would solve it. |
@khsrali ok, if you're able to get it to work, that's fine. |
Nah, actually redirect didn't work 😭 |
@eimrek, yet https://aiida.readthedocs.io/robots.txt is the old one 😭 |
@khsrali Ok, i think i figured it out now. readthedocs built two versions: 'latest' from |
Strange. did you try to clear cache / use incognito / use other browser? |
Ah, right! indeed it was a caching issue. |
Thanks a lot @eimrek ! |
Right now, if you google for example "aiida tab completion" top results are from version 0.12.1 and 1.0.1.
Note: this issue doesn't only concern about an specific search, but in general to understand how to tell google stop indexing, historical version.
I found this PR on github that they could fix it for their own repo:
unitaryfund/mitiq#1526
which apparently there is a
robots.txt
to be updated/inserted, which btw, they also copied from this repo:)https://github.com/astropy/astropy/blob/main/docs/robots.txt
P.S. unrelated to issue #6508
The text was updated successfully, but these errors were encountered: