-
Notifications
You must be signed in to change notification settings - Fork 22.5k
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
Conversation
Co-authored-by: dawei-wang <dawei-wang@users.noreply.github.com>
|
||
{{ListSubpagesForSidebar("/en-US/docs/MDN/Writing_guidelines/Page_structures/Macros", 1)}} | ||
|
||
## Cross-reference links |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
files/en-us/mdn/writing_guidelines/page_structures/links/index.md
Outdated
Show resolved
Hide resolved
files/en-us/mdn/writing_guidelines/page_structures/links/index.md
Outdated
Show resolved
Hide resolved
files/en-us/mdn/writing_guidelines/page_structures/links/index.md
Outdated
Show resolved
Hide resolved
files/en-us/mdn/writing_guidelines/page_structures/links/index.md
Outdated
Show resolved
Hide resolved
files/en-us/mdn/writing_guidelines/page_structures/links/index.md
Outdated
Show resolved
Hide resolved
files/en-us/mdn/writing_guidelines/page_structures/links/index.md
Outdated
Show resolved
Hide resolved
files/en-us/mdn/writing_guidelines/page_structures/links/index.md
Outdated
Show resolved
Hide resolved
files/en-us/mdn/writing_guidelines/page_structures/links/index.md
Outdated
Show resolved
Hide resolved
files/en-us/mdn/writing_guidelines/page_structures/links/index.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Jean-Yves Perrier <jypenator@gmail.com>
Co-authored-by: Jean-Yves Perrier <jypenator@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
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.