-
Notifications
You must be signed in to change notification settings - Fork 384
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
CLDR-18001 site: fix link in ToC to entire page, fix some titles #4126
Conversation
- if the first H1 is the same as the title, change the href in the ToC to go to the entire page - If there isn't a redundant H1 , synthesize an entry in the ToC
✨ deployed to https://cf52a071.cldr.pages.dev |
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.
Looks good.
BTW
- We definitely need a page explaining the title requirements. Not part of GFM and not documented that quotes are required. (What happens if they aren't there??)
- I think we need to drop the first line of the contents; I'd added that to https://unicode-org.atlassian.net/browse/CLDR-18017. But that can be later.
- related to CLDR-18017 - suppress redundant h1 (#), but add centered title - suppress title from ToC. Hide ToC if empty.
if not there the PR may reject or it may truncate. I updated the doc
Sorry, inflight merge conflict. - the same instant you were reviewing, I was reading and implementing CLDR-18017 which dropped your review. |
✨ deployed to https://34c47ec7.cldr.pages.dev |
CLDR-18001
suppress link to title in ToC, hide ToC if empty
suppress title h1 entirely, add centered title
shift ToC over to the left one
This PR completes the ticket.
ALLOW_MANY_COMMITS=true
Review Notes