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

Macros: explain sidebars & cross reference links. remove quicklinks lingo #31689

Merged
merged 17 commits into from
Jan 17, 2024

Conversation

estelle
Copy link
Member

@estelle estelle commented Jan 12, 2024

Follow up to #31248

Note re: create a sidebar section::

I removed the "how to create a sidebar" as people should not be creating one-off sidebars. I changed the lingo to "temporarily include a new sidebar". I think it's helpful to have it documented so that main contributors have something to look at and play with as they develop new sections of content. i am clear that it won't be approved. But I will be playing with "quick_links" as i create the A11y section sidebar, and will keep it around until such sidebar is merged into yari.

@estelle estelle requested a review from a team as a code owner January 12, 2024 22:16
@estelle estelle requested review from hamishwillee and removed request for a team January 12, 2024 22:16
@github-actions github-actions bot added the Content:Meta Content in the meta docs label Jan 12, 2024

{{ListSubpagesForSidebar("/en-US/docs/MDN/Writing_guidelines/Page_structures/Macros", 1)}}

## Cross-reference links
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we switch both H2 section, putting Cross-reference links first.

XRef macros are much more used and I think their docs are more likely to be what users are looking for.

Copy link
Member Author

Choose a reason for hiding this comment

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

I put it in this order because this section is shorter, a quick read, and way easier to get through. Would not be upset if someone inverted them, but i find it easier to read this way, so prefer keeping it like this.

estelle and others added 2 commits January 16, 2024 12:43
Co-authored-by: Jean-Yves Perrier <jypenator@gmail.com>
Co-authored-by: Jean-Yves Perrier <jypenator@gmail.com>
@estelle estelle requested a review from teoli2003 January 16, 2024 20:47
Copy link
Contributor

@teoli2003 teoli2003 left a comment

Choose a reason for hiding this comment

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

👍

@teoli2003 teoli2003 merged commit 137a960 into mdn:main Jan 17, 2024
8 checks passed
@estelle estelle deleted the macros branch March 26, 2024 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:Meta Content in the meta docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants