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

Monkey patch sphinx SortIDs transform to sort our own IDs #503

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Jun 17, 2024

This fixes some anchoring inconsistencies and also makes link check correctly work for section id <-> other id collisions, see 3cf79ed which CI did not catch so far, now it will. cc ferrocene/ferrocene#699 which broke because of the collision

exts/ferrocene_spec/__init__.py Outdated Show resolved Hide resolved
exts/ferrocene_spec/__init__.py Outdated Show resolved Hide resolved
@Veykril Veykril force-pushed the sort-id-fix branch 2 times, most recently from f16c00e to c39b2ac Compare June 19, 2024 11:42
@Veykril
Copy link
Member Author

Veykril commented Jun 19, 2024

CI fails due to #505

@pietroalbini
Copy link
Member

I'm not too thrilled with the monkey patching approach. If we want to guarantee that the FLS ID is always the first ID, we should add our own transform that moves it to the front.

Copy link
Member

@pietroalbini pietroalbini left a comment

Choose a reason for hiding this comment

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

bors merge

@bors-ferrocene
Copy link
Contributor

bors-ferrocene bot commented Jul 3, 2024

Build succeeded:

  • CI

@bors-ferrocene bors-ferrocene bot merged commit f0e299f into main Jul 3, 2024
2 checks passed
@bors-ferrocene bors-ferrocene bot deleted the sort-id-fix branch July 3, 2024 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants