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

feat(v2): version dropdown before/after items + move site "All Versions" link #3548

Merged
merged 3 commits into from
Oct 7, 2020

Conversation

slorber
Copy link
Collaborator

@slorber slorber commented Oct 7, 2020

Motivation

Our own site navbar is becoming crowded.

Nesting the "All Versions" link inside the dropdown permits to remove more easily a useless navbar element.

image

I also see this as a possible way to link to older archived versions that are not in Docusaurus site anymore.

For example, the RN website has 64+ versions, but it's not manageable to keep so much versions, so we can only keep recent versions in Docusaurus, but still be able to link to older ones (published as standalone immutable sites).

cc @lex111 @Simek

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

Preview + dogfooding

@slorber slorber requested a review from lex111 as a code owner October 7, 2020 13:08
@slorber slorber changed the title feat(v2): version dropdown before/after items + move site "All Versions" link here feat(v2): version dropdown before/after items + move site "All Versions" link Oct 7, 2020
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Oct 7, 2020
@slorber slorber added pr: new feature This PR adds a new API or behavior. CLA Signed Signed Facebook CLA and removed CLA Signed Signed Facebook CLA labels Oct 7, 2020
@docusaurus-bot
Copy link
Contributor

docusaurus-bot commented Oct 7, 2020

Deploy preview for docusaurus-2 ready!

Built with commit 743ea33

https://deploy-preview-3548--docusaurus-2.netlify.app

@lex111 lex111 merged commit 649882d into master Oct 7, 2020
@lex111 lex111 deleted the slorber/version-dropdown-items branch October 7, 2020 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: new feature This PR adds a new API or behavior.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants