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

feat: improvements to structure output #232

Merged
merged 1 commit into from
Nov 14, 2024
Merged

Conversation

kmill
Copy link
Contributor

@kmill kmill commented Nov 13, 2024

- Now the precise list of parent structures is shown, now that Lean records this information. Closes #223
- Fixes an issue where fields of a structure wouldn't be shown. Closes #229
- Grays out inherited fields and gives them a link to their definitions.
- Fixes an issue where inherited fields would have an id attribute with a synthetic name, which could cause links to go to the wrong place. Now inherited fields don't have an id attribute.
@hargoniX hargoniX merged commit 365c77b into main Nov 14, 2024
1 check passed
kmill added a commit that referenced this pull request Nov 14, 2024
Pretty prints parents in the `extends` clause to include parameters.

Fixes a whitespace bug for the `extends` list. Now it's `extends A, B, C` instead of `extends A , B , C`. Also fixes a bug introduced in #232 where the links to inherited fields were incorrect.
hargoniX pushed a commit that referenced this pull request Nov 14, 2024
Pretty prints parents in the `extends` clause to include parameters.

Fixes a whitespace bug for the `extends` list. Now it's `extends A, B, C` instead of `extends A , B , C`. Also fixes a bug introduced in #232 where the links to inherited fields were incorrect.
@kmill kmill deleted the kmill_structureinfo branch November 14, 2024 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants