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

Remove old versions of the docs from being discoverable on websearches #225

Closed
Datseris opened this issue Jan 15, 2024 · 0 comments
Closed

Comments

@Datseris
Copy link
Member

Following https://discourse.julialang.org/t/ann-documenter-0-27/62726#warnings-and-seo-for-outdated-docs-1 , in the local clone of the repo, on the gh-pages branch, do:

using DocumenterTools
OutdatedWarning.generate("/path/to/your/docs")

where the path is given to the root directory of the repo. The one where your .git and /src directories would normally be. But on the gh-pages branch it is a bunch of vX.Y directories.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant