-
Notifications
You must be signed in to change notification settings - Fork 42
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
Versioned docs do not redirect all links correctly #977
Comments
NB: this affects all absolute links in the README - we could try to change these to relative links but then they would fail in the actual GitHub rendering of the README |
"This can be solved in post" ... Meaning, I've set up in other repo's another pre-commit hook that copies over the It's a solution - it's not extremely elegant, but it works. And then the hook only runs if the |
Relevant links: pre-commit hook: https://github.com/Materials-Consortia/optimade-gateway/blob/main/.pre-commit-config.yaml#L55-L62 And then it needs to be run (the invoke task) in the docs release workflows whenever the |
This seems to be resolved, or at least I can't spot any broken links anymore (maybe this was fixed within mike/mkdocs?) |
In a few places we have linked to e.g. https://optimade.org/optimade-python-tools/CHANGELOG, which currentl 404s.
I would like this to be redirected to https://optimade.org/optimade-python-tools/latest/CHANGELOG, in the same way that the base URL is.
Tagging @CasperWA but can also take a look at this myself when I get time.
The text was updated successfully, but these errors were encountered: