-
Notifications
You must be signed in to change notification settings - Fork 493
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
Make all heading levels consistent #1080
base: master
Are you sure you want to change the base?
Conversation
Concept ACK Seems like you should also specify this requirement in the CONTRIBUTING.md Also this is the type of thing you probably need a GitHub workflow to enforce, it's hard to review PR's at a glance and ensure they meet this requirement |
Thanks, @ProofOfKeags , good ideas. I will look into it. |
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.
Concept ACK a59746d
a59746d
to
8c9d4a5
Compare
Changes:
|
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.
ACK. Thanks for the cleanup and infrastructure to maintain it 🪴
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.
ACK c1f8a9d
c1f8a9d
to
cc542cc
Compare
Rebased. Linter run: https://github.com/jirijakes/bolts/actions/runs/9318710058/job/25651599958 |
cc542cc
to
d2c96d9
Compare
Previously, levels of headings were used inconsistently across the documents, which made automated export to other formats complicated. With this change, all documents have single level 1 heading (title of the document) and all other headings are at least level 2.
Commit introduces initial set of rules for checking formatting of markdown files as part of GitHub workflow. The rules are: - first line is top-level heading - there is only one top-level heading in the document
d2c96d9
to
76859f5
Compare
Rebased and included BOLT12. Linter run: https://github.com/jirijakes/bolts/actions/runs/11215057123/job/31171445815 |
With this change, all documents have a single level-1 heading (document title), all other headings are at least level 2.
Additionally, linter is introduced to enforce the heading consistency.
Rationale
I wish to export documents to other formats (using pandoc). Unfortunately, levels of headings were used inconsistently across the documents, which made automated export quite complicated. This change makes all headings consistent with 00-introduction.md and 01-messaging.md.
Headings were shifted down by one level, a few did not require any change. Links to sections remain the same, therefore no references to the bolts and their sections should be broken.