-
-
Notifications
You must be signed in to change notification settings - Fork 26k
[DOC] Removes "documentation" page and adds Other version in nav bar #15121
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
[DOC] Removes "documentation" page and adds Other version in nav bar #15121
Conversation
('Roadmap', pathto('roadmap')), | ||
('About us', pathto('about')), | ||
('Other Versions', 'https://scikit-learn.org/dev/versions.html'), | ||
('Documentation', pathto('documentation'))] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I now find this placement quite awkward
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you referring to the documentation link?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, awkward to appear under Other Versions.
Maybe if it's called "documentation home" it's a bit clearer what its role is
@NicolasHug Ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @thomasjpfan , LGTM.
I don't think the "Documentation" page is really useful anymore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for reducing this redundancy
doc/templates/index.html
Outdated
@@ -9,7 +9,7 @@ <h1 class="sk-landing-header text-white text-monospace">scikit-learn</h1> | |||
<h4 class="sk-landing-subheader text-white font-italic mb-3">Machine Learning in Python</h4> | |||
<a class="btn sk-landing-btn mb-1" href="{{ pathto('getting_started') }}" role="button">Getting Started</a> | |||
<a class="btn sk-landing-btn mb-1" href="whats_new.html" role="button">Whats New in {{ version }}</a> | |||
<a class="btn sk-landing-btn mb-1" href="{{ pathto('documentation') }}" role="button">Documentation</a> | |||
<a class="btn sk-landing-btn mb-1" href="https://github.com/scikit-learn/scikit-learn" role="button">Github</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<a class="btn sk-landing-btn mb-1" href="https://github.com/scikit-learn/scikit-learn" role="button">Github</a> | |
<a class="btn sk-landing-btn mb-1" href="https://github.com/scikit-learn/scikit-learn" role="button">GitHub</a> |
Thanks @thomasjpfan |
Adds "Other Versions" to navbar