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: add option to remove site switcher from header #1132

Merged
merged 2 commits into from
Jun 8, 2021

Conversation

vpicone
Copy link
Collaborator

@vpicone vpicone commented Jun 7, 2021

Closes #1131

Adds isSwitcherEnabled theme option to control Switcher button/menu inclusion (defaults to true)

@vpicone vpicone requested review from a team, aledavila and sstrubberg and removed request for a team June 7, 2021 18:14
@vercel
Copy link

vercel bot commented Jun 7, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/carbon-design-system/gatsby-theme-carbon/GnX4Myzxtm29GN8tnE5B6XyYSxgX
✅ Preview: https://gatsby-theme-c-git-fork-vpicone-switcher-option-carbon-d-aae7b3.vercel.app

@vpicone vpicone changed the title docs: add documentation for switcher disabling feat: add option to remove site switcher from header Jun 7, 2021
@@ -259,9 +259,8 @@ plugins: [

- `mdxExtensions` – change the file extensions processed by `gatsby-mdx`
(default ['.mdx', '.md']).
- `pngCompressionSpeed` - a speed/quality trade-off from 1 (brute-force) to 10
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This option doesn't work any more, removing the documentation ahead of actually removing it in the next major.

@vpicone vpicone merged commit 06ab644 into carbon-design-system:main Jun 8, 2021
@vpicone vpicone deleted the switcher-option branch June 8, 2021 15:21
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.

Provide option to turn off/disable Switcher
2 participants