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 warning banner for old versions and dev version #61

Open
jni opened this issue Aug 15, 2019 · 7 comments
Open

Add warning banner for old versions and dev version #61

jni opened this issue Aug 15, 2019 · 7 comments

Comments

@jni
Copy link
Member

jni commented Aug 15, 2019

Google returns /dev/ docs, causing confusion for users, e.g. scikit-image/scikit-image#4092. We should have a banner in the dev docs warning that they might include unreleased features.

We could even get fancy and only show this when we detect a difference between the current page and the /stable one.

@sciunto
Copy link
Member

sciunto commented Aug 15, 2019

I'm not an expert in page ranking. Would it be possible to set a robot.txt on the server that would prevent search engines robots for crawling these pages?

@jni
Copy link
Member Author

jni commented Aug 15, 2019

Yes, I think we already do this for the older versions.

@alexdesiqueira
Copy link
Member

I guess a warning like "that's the documentation for the development version" and a link for the stable release should be sufficient in this case @jni. If we implement the "fancy" way, people with stable could not recognize there are distinct versions around.

@jni
Copy link
Member Author

jni commented Aug 17, 2019

@alexdesiqueira note that I still want to keep the sidebar with all the versions. My proposal is just about whether to show a big red warning banner as well.

@alexdesiqueira
Copy link
Member

We could even get fancy and only show this when we detect a difference between the current page and the /stable one.

@jni I said that referring to this specifically.

@hmaarrfk
Copy link
Member

Users don't really understand what "développer" versions. Keep it simple guys. A global banner and a robots file will go a really long way

@soupault
Copy link
Member

soupault commented Aug 27, 2019

Thanks to @jni, I decided to investigate scikit-learn website. Here is what they do - https://scikit-learn.org/versionwarning.js

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

No branches or pull requests

5 participants