-
Notifications
You must be signed in to change notification settings - Fork 23
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
find "Abstract" and make it a link target "#abstract" (fixes #24) #25
base: main
Are you sure you want to change the base?
Conversation
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.
The syntax needs to be fixed to avoid deprecation warning. See how similar regexes now look on main
.
Also, might want to handle these sections as well, for parity with what the HTML format has:
- About This Document
- Note to the RFC Editor
- Status of This Memo
- Copyright Notice
- Table of Contents
Is the deprecation related to not using the Raw String Notation? In which case it's fixed now. Regarding the other sections; I'll check. They may have no explicit anchor assigned by xml2rfc (except for the implied "n-...", which I believe we should not rely on). So this might require changes in xml2rfc as well. |
Datatracker says:
|
You also need to wrap this in |
FWIW, the whole code uses the deprecated notation. The changes are consistent with the existing code, Wouldn't it make sense to separate these kinds of changes into separate tickets, and to apply the changes to the complete codebase? |
That may make sense, but then this should be done uniformly through the whole codebase, no? |
Agreed. Let's see what xml2rfc currently generates: apparently hard-wired and could be relied on
under author's control
getting auto-generated anchors based on text contents
ProposalStick with the change for "abstract" for now. Raise issues for xml2rfc to generate stable anchors for the other sections, and once they are agreed upon, generate them here as well. |
Are you sure you are up to date with |
Likely not. Will check. |
Co-authored-by: Lars Eggert <[email protected]>
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.
LGTM but the RPC should check whether this works for them as well.
@reschke - just rediscovered this request - it fell through the cracks, apologies. will vet with the RPC. |
No description provided.