mirror of
https://github.com/semver/semver.git
synced 2026-07-11 04:52:47 -05:00
[GH-ISSUE #792] Proposed addendum: How MAJOR.MINOR.PATCH applies to docs #6512
Reference in New Issue
Block a user
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?
Originally created by @camerons on GitHub (Jan 3, 2022).
Original GitHub issue: https://github.com/semver/semver/issues/792
Within the tech writing space, we would benefit from a common understanding about what MAJOR, MINOR, and PATCH means when applied to documentation.
As a tech writer, I'm personally motivated to try and solve this and work with others toward a solution. Immediate needs I'm aware of:
We've drafted a possible semantic versioning addendum for documents, and are looking for:
@ljharb commented on GitHub (Jan 3, 2022):
Why does documentation need a way to convey breakage?
@camerons commented on GitHub (Jan 4, 2022):
@ljharb
Some, but not all documentation types can break backwards compatibility. An update to a blog or news post typically won't break compatibility. Doc types which may break backward compatibility include:
@ljharb commented on GitHub (Jan 4, 2022):
It seems like you just answered your own question then?
@camerons commented on GitHub (Jan 5, 2022):
@ljharb
It is possible you haven't yet read the proposed semantic versioning addendum for documents? Yes, we have a proposed interpretation of MAJOR.MINOR.PATCH for docs.
Our goal is to establish a widely recognized and acknowledged standard for semantic versioning as applied to documentation. Ideally, this would done in conjunction with, and with the blessing and support of the https://semver.org/ community, and would complement and extend https://semver.org/ rather than compete with it.
What would be next steps to collaborate with the https://semver.org/ community? Would it help to start with an initial video conference call?
@ljharb commented on GitHub (Jan 5, 2022):
Ah, thanks, I’d misunderstood the purpose of this issue.
@jwdonahue commented on GitHub (Jan 10, 2022):
@camerons This seems like the right approach to me.
Proposed 6.1 e & f have the word "addition" in them, implying in my mind that a minor bump should apply. Notes, cross references and metadata are document features, as such, adding any of these is adding a feature to the document. There may even be situations where adding a document author or license could be a breaking change.
Proposed 7.1 d raises the similar concerns, particularly if a less restrictive license is removed where a more restrictive license would then be in force.
Proposed 8.1 SHOULD is weaker than the SemVer spec's MUST wrt incompatible changes.
@spaceChRiS commented on GitHub (Feb 26, 2022):
I wonder if it would make sense to add information how a document's versioning should be handled if it has a close lifecycle to a software, e.g. a user manual for the software. In this case, it may make sense that the major number belongs to the software revision but the patchlevel belongs purely to the document changes. For the minor number, I am not sure which makes more sense.
@jwdonahue commented on GitHub (Feb 27, 2022):
The document version and the product version need not sync up at all. The document my be labeled "Rev H" or just "YYYY-MM-DD. It's presence in the product packaging is one linkage to the product, the other might be the embedded product version somewhere in the document (title/sub-title).
@ahenket commented on GitHub (May 13, 2022):
Thanks. Read it and added a comment