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

chore(macros/LearnSidebar): add MathML tutorial #6953

Merged
merged 1 commit into from
Sep 6, 2022

Conversation

fred-wang
Copy link
Contributor

@fred-wang fred-wang commented Aug 24, 2022

Summary

MDN learn pages [1] have a sidebar to quickly access various sections (HTML, CSS, JavaScript, etc). This PR adds the corresponding ones for the MathML tutorial added in [2]. Fixes #6952.

[1] https://developer.mozilla.org/en-US/docs/Learn
[2] mdn/content#19467

Problem

MathML tutorial is not accessible from the learn sidebar, so users cannot find it from the Learn pages.

Solution

Add links for the MathML tutorial to existing sidebar.

Screenshots

Before

yarn-before

After

yarn-after

How did you test this change?

I used yarn dev and opened a few subpages of http://localhost:3000/en-US/docs/Learn ; checking the added MathML sections properly display in the sidebar and that the links are not broken, and that one can fold/unfold the "MathML first steps" subsections by clicking on it.

@github-actions github-actions bot added the macros tracking issues related to kumascript macros label Aug 24, 2022
@fred-wang fred-wang mentioned this pull request Aug 24, 2022
3 tasks
@caugner caugner changed the title Add MathML tutorial for the learn sidebar. chore(macros/LearnSidebar): add MathML tutorial Aug 25, 2022
@caugner
Copy link
Contributor

caugner commented Aug 25, 2022

Blocked by: mdn/content#19467

@caugner caugner marked this pull request as draft August 29, 2022 19:50
@fred-wang fred-wang marked this pull request as ready for review September 6, 2022 05:06
fred-wang added a commit to fred-wang/yari that referenced this pull request Sep 6, 2022
@caugner caugner merged commit e2eb40e into mdn:main Sep 6, 2022
@fred-wang fred-wang deleted the sidebar-mathml-tutorial branch September 6, 2022 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
macros tracking issues related to kumascript macros
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add MathML tutorial to the learn sidebar
2 participants