docs: Max chars per line enforcement #1625
Labels
No labels
Blocked
Bug
Changelog
Added
Changelog
Missing
Changelog
None
Cherry-picking
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/E2EE
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Matrix/T&S
Merge
Merge/Manual
Merge/Squash
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
Wont fix
old/ci/cd
old/rust
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
continuwuation/continuwuity#1625
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
There should be consensus on max chars per line in docs which is then somehow enforceable (i.e. by prek?). I've been writing single-lined Markdowns but this doesn't render well in raw, and can complicate docs reviews.
80 char per line
80 is madness, we're not reading on CRTs anymore.
I suggest following the rust style guide, which says "The maximum width for a line is 100 characters." (this is technically for code, but I suggest following it for docs as well)
The style guide that I would prefer (and have used when writing docs) has lines at a max of 100 chars, but when forced to wrap, wrapping at 80 chars. This is because re-wrapping creates line noise in a git diff, which I would prefer to avoid.
I'm not sure if there is tooling which correctly enforces this. Suggestions welcome.
I agree with the 100/80 enforcement, I believe something like markdownlint could work? It has configurable line lengths