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

User guide: do not enable mermaid and scripts globally #1590

Merged
merged 1 commit into from
Jun 26, 2023

Conversation

deining
Copy link
Collaborator

@deining deining commented Jun 22, 2023

Currently, mermaid scripts are globally enabled in the user guide. This confuses users, as seen in #1588. This PR corrects this so that mermaid scripts are only inserted for pages that actually contain mermaid code blocks.

Note: Globally enabling mermaid scripts is due to legacy code (hugo < v0.93.0). We should do some cleanup here. I will open a separate issue for this.

@deining deining added user guide Improvements to user guide e0-minutes Effort < 60 min labels Jun 22, 2023
@deining deining requested review from chalin and LisaFC June 22, 2023 14:46
@chalin
Copy link
Collaborator

chalin commented Jun 26, 2023

Thanks!

@chalin chalin merged commit b5b8de3 into google:main Jun 26, 2023
6 checks passed
@deining deining deleted the ug-scripts-mermaid branch June 26, 2023 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e0-minutes Effort < 60 min user guide Improvements to user guide
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants