Skip to content

[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

Merged

Conversation

thomasjpfan
Copy link
Member

Adds "Other Versions" to navbar

('Roadmap', pathto('roadmap')),
('About us', pathto('about')),
('Other Versions', 'https://scikit-learn.org/dev/versions.html'),
('Documentation', pathto('documentation'))]
Copy link
Member

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

Copy link
Member Author

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?

Copy link
Member

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

@thomasjpfan thomasjpfan changed the title Add other versions into navbar [DOC] Removes documentation page and adds Other version in navbar Oct 8, 2019
@thomasjpfan
Copy link
Member Author

@NicolasHug Ready for review.

Copy link
Member

@NicolasHug NicolasHug left a 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.

Copy link
Member

@jnothman jnothman left a 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

@@ -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>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<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>

@NicolasHug NicolasHug changed the title [DOC] Removes documentation page and adds Other version in navbar [DOC] Removes "documentation" page and adds Other version in nav bar Oct 14, 2019
@NicolasHug NicolasHug merged commit 7d35f4f into scikit-learn:master Oct 14, 2019
@NicolasHug
Copy link
Member

Thanks @thomasjpfan

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

Successfully merging this pull request may close these issues.

3 participants