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): allow activeBaseTest in NavLink #2690

Merged
merged 10 commits into from
May 17, 2020
Merged

feat(v2): allow activeBaseTest in NavLink #2690

merged 10 commits into from
May 17, 2020

Conversation

nebrelbug
Copy link
Contributor

Motivation

See #2683 and #2574

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

Serving the Docusaurus v2 site works as expected. Adding activeBaseTest: 'docs\\/(next|2\\.0\\.0\\-alpha\\.50)' to the "Docs" link in docusaurus.config.js results in the "Docs" link only being highlighted on the "next" and "alpha.50" versions.

@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Apr 28, 2020
@docusaurus-bot
Copy link
Contributor

docusaurus-bot commented Apr 28, 2020

Deploy preview for docusaurus-2 ready!

Built with commit 6839fa0

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

website/docs/theme-classic.md Outdated Show resolved Hide resolved
website/docs/theme-classic.md Outdated Show resolved Hide resolved
Copy link
Contributor

@lex111 lex111 left a comment

Choose a reason for hiding this comment

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

Some improvements docs.

website/docs/theme-classic.md Outdated Show resolved Hide resolved
website/docs/theme-classic.md Outdated Show resolved Hide resolved
@nebrelbug
Copy link
Contributor Author

Any chance this could be merged? I'm looking forward to using this in my documentation website :)

@lex111
Copy link
Contributor

lex111 commented May 17, 2020

friendly ping @yangshun

@yangshun yangshun added the pr: new feature This PR adds a new API or behavior. label May 17, 2020
@yangshun yangshun merged commit daafd2f into facebook:master May 17, 2020
@yangshun
Copy link
Contributor

Thanks @nebrelbug! Much appreciated!

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.

5 participants