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

[compression-dictionary] Use <xref section> to avoid needing a new reference for each deep link. #2871

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

jyasskin
Copy link
Contributor

This makes it clearer what standard is being depended on, while still deep-linking to the right section of that standard.

This generates citations like "see Part RequestDestination of [FETCH]". The "RequestDestination" part is free text in the section attribute. I don't see a way to change the "Part" text. We can use the sectionFormat attribute to rearrange it to "see [FETCH], Part RequestDestination)" if y'all prefer.

@pmeenan
Copy link
Contributor

pmeenan commented Aug 27, 2024

Great, thanks for the PR. It's a lot cleaner than a bunch of independent references.

@pmeenan pmeenan merged commit d3225bc into httpwg:main Aug 27, 2024
1 check passed
@jyasskin jyasskin deleted the references-for-deep-links branch August 27, 2024 19:23
Copy link
Contributor

@martinthomson martinthomson left a comment

Choose a reason for hiding this comment

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

@pmeenan have you asked the WHATWG folks for stable anchors to those sections?

See https://whatwg.org/working-mode#anchors for details of how to do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants