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): add baseUrlIssueBanner configuration to disable banner #3802

Merged
merged 2 commits into from
Nov 23, 2020

Conversation

slorber
Copy link
Collaborator

@slorber slorber commented Nov 23, 2020

Motivation

Better naming refactor + add option to disable the baseUrl help banner.

This banner is not compatible with users with strict CSP policies (#3584 (comment))

@slorber slorber added the pr: new feature This PR adds a new API or behavior. label Nov 23, 2020
@slorber slorber requested a review from lex111 as a code owner November 23, 2020 16:49
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Nov 23, 2020
@netlify
Copy link

netlify bot commented Nov 23, 2020

Deploy preview for docusaurus-2 ready!

Built with commit 130e211

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

@github-actions
Copy link

github-actions bot commented Nov 23, 2020

Size Change: +190 B (0%)

Total Size: 154 kB

Filename Size Change
website/build/main.********.js 110 kB +195 B (0%)
ℹ️ View Unchanged
Filename Size Change
website/build/blog/2017/12/14/introducing-docusaurus/index.html 20.7 kB +2 B (0%)
website/build/docs/introduction/index.html 180 B 0 B
website/build/index.html 5.86 kB -1 B
website/build/styles.********.css 17.3 kB -6 B (0%)

compressed-size-action

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.

LGTM, some nits below.

@lex111 lex111 merged commit 746a19f into master Nov 23, 2020
@lex111
Copy link
Contributor

lex111 commented Nov 23, 2020

@slorber thanks!

@lex111 lex111 added this to the v2.0.0-alpha.69 milestone Nov 23, 2020
*/

.baseUrlIssueBanner {
display: none;

Choose a reason for hiding this comment

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

Curious as to why this was hidden from view? Getting this error and it never showed which caused me to come here :/

@slorber
Copy link
Collaborator Author

slorber commented Dec 23, 2020 via email

@slorber slorber deleted the slorber/baseUrlIssueBanner branch August 17, 2021 17:59
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.

None yet

4 participants