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

v2: Add themeConfig.noIndex option #3528

Closed
slorber opened this issue Oct 2, 2020 · 2 comments · Fixed by #3573
Closed

v2: Add themeConfig.noIndex option #3528

slorber opened this issue Oct 2, 2020 · 2 comments · Fixed by #3573
Labels
feature This is not a bug or issue with Docusausus, per se. It is a feature request for the future. good first issue If you are just getting started with Docusaurus, this issue should be a good place to begin. hacktoberfest help wanted Asking for outside help and/or contributions to this particular issue or PR.

Comments

@slorber
Copy link
Collaborator

slorber commented Oct 2, 2020

Feature

v1 had a noIndex option: https://docusaurus.io/docs/en/site-config#noindex-boolean

Let's add it to v2 too!

Also need to:

There are scripts to easily test the migration cli, look at scripts yarn test:v1Migration:migrate && yarn test:v1Migration:start

@slorber slorber added bug An error in the Docusaurus core causing instability or issues with its execution hacktoberfest good first issue If you are just getting started with Docusaurus, this issue should be a good place to begin. help wanted Asking for outside help and/or contributions to this particular issue or PR. feature This is not a bug or issue with Docusausus, per se. It is a feature request for the future. and removed bug An error in the Docusaurus core causing instability or issues with its execution labels Oct 2, 2020
@imskr
Copy link
Contributor

imskr commented Oct 2, 2020

I can fix this! @slorber

@slorber
Copy link
Collaborator Author

slorber commented Oct 5, 2020

Yes @imskr thanks

hamzahamidi added a commit to hamzahamidi/Docusaurus that referenced this issue Oct 11, 2020
@slorber slorber linked a pull request Oct 12, 2020 that will close this issue
hamzahamidi added a commit to hamzahamidi/Docusaurus that referenced this issue Oct 12, 2020
slorber pushed a commit that referenced this issue Oct 14, 2020
* feat(v2): Add themeConfig.noIndex option #3528

* feat(v2): Add themeConfig.noIndex optionthrough ssrTemplate

* feat(v2): Include themeConfig.noIndex in CLI migration v1 to v2

* feat(v2): Remove themeConfig.noIndex from env dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This is not a bug or issue with Docusausus, per se. It is a feature request for the future. good first issue If you are just getting started with Docusaurus, this issue should be a good place to begin. hacktoberfest help wanted Asking for outside help and/or contributions to this particular issue or PR.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants