I've noticed often that when I google for CIF documentation (I find it faster than using the Table of Contents), it links to a specific version page.
For example when I google ESCET CIF documentation, the first hit links to https://www.eclipse.org/escet/v0.1/cifc. Ideally, we want only links to the non-version pages.
It seems we can't use robots.txt, as it must be in the root, i.e., eclipse.org/robots.txt not eclipse.org/escet/robots.txt. See e.g. here and here.
The alternative seems to be meta tags, but that would require changing already deployed websites for older releases, as well as removing such tags when making them the default website.
I created !462 (closed). Here the meta tag is added during splitting of the HTML pages. It is a simple solution but I'm not sure whether this functionality should be a part of the splitter.
If we can do more with AsciiDoc, that would also be my preference. How about using this: https://docs.asciidoctor.org/asciidoc/latest/docinfo/. Should be enough to add a line to a docinfo file. We have such files already.
I created a merge request that adds the meta tags to the version websites, see: escet-website!1 (merged).
I did it via search and replace (Searched for <meta name="viewport" content="width=device-width, initial-scale=1.0"> and replaced with <meta name="robots" content="noindex"> \n <meta name="viewport" content="width=device-width, initial-scale=1.0">. Then I checked which .html files were not edited and changes these by hand.
It seems you must put the sitemap on the website. Would be some work. Maybe just wait a bit and see? Maybe put an entry in the v0.9-RC1 issue, to check again?
I think this issue can be closed. ESCET CIF Documentation now links to the newest docs. While you can still find old pages on Google, e.g., ESCET CIF Documentation enumeration, they'll disappear slowly over time.