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

improve editability of inclusion of attribute classes into ST #2647

Merged
merged 1 commit into from
Jan 12, 2025

Conversation

sydb
Copy link
Member

@sydb sydb commented Jan 1, 2025

On trying to explain attribute specification inclusion on #2643, it occurred to me that it would be more useful to future editors to have the explanation in ST (the "tei" module) itself. While I was there I also re-arranged the order of attribute class inclusions, hopefully in a way that is easier to understand. No changes to prose or schema, just re-arranged the sequence of attribute specifications and added comments to explain it.

This necessitated one minor change in the tests, as the order of Schematron constraints (some of which are specified in the attribute classes) is now a bit different.

Note to potential reviewers: I think passing tests is probably sufficient (and they all pass in my Docker). But if you look at the files themselves, definitely hide whitespace differences.

attribute class inclusions in ST (the "tei" module). No
changes to prose or schema, just re-arranged the sequence
of attribute specifications and added comments to explain
it.
@sydb sydb added this to the Guidelines 4.9.0 milestone Jan 1, 2025
@sydb sydb requested a review from sabineseifert January 1, 2025 00:25
@ebeshero ebeshero self-requested a review January 12, 2025 03:26
Copy link
Member

@ebeshero ebeshero left a comment

Choose a reason for hiding this comment

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

This passes tests and doesn't break the build for me locally. Also the big table in ST just looks a lot better and is organized more logically in the resulting build of the Guidelines, though I think that might be paired with another recent update in Stylesheets on my dev branch.


Within each set classes are specified in alpahabetic
order.
-->
Copy link
Member

Choose a reason for hiding this comment

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

Thanks, @sydb ! This comment is super helpful "future proofing" for editors of this page. :-)

@ebeshero ebeshero merged commit ecc61c8 into dev Jan 12, 2025
2 checks passed
@ebeshero ebeshero deleted the sydb_make_DSTECAT_more_comprehensible branch January 12, 2025 03:38
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.

2 participants