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

Add robots exclusions for version specific documentation #97

Open
gbartolini opened this issue Sep 9, 2022 · 4 comments
Open

Add robots exclusions for version specific documentation #97

gbartolini opened this issue Sep 9, 2022 · 4 comments
Labels
good first issue Good for newcomers

Comments

@gbartolini
Copy link
Contributor

We should encourage search engines to index only the current version documentation, and exclude the specific version docs.

For example:

@gbartolini gbartolini added the good first issue Good for newcomers label Sep 9, 2022
@revolunet
Copy link

Hi,

When landing on some legacy doc page, would be great to have a banner that says something like

Capture d’écran 2023-08-22 à 11 59 40

Should that be a mkdocs option to add that kind of banner ?

@gbartolini
Copy link
Contributor Author

Do you think you can help here with a PR?

@revolunet
Copy link

i'd love to :) let me take another look now

@revolunet
Copy link

I dont have any good idea to solve this;

I can add some code to hack/import_docs.sh that ensure other versions have that additionnal HTML content in their pages. a dummy regexp search'n'replace at ul.wy-breadcrumbs level for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants