Skip to content
This repository has been archived by the owner on Sep 24, 2022. It is now read-only.

Commit

Permalink
Add optional revision-history and decision-log sections to base-template
Browse files Browse the repository at this point in the history
  • Loading branch information
Cameron Shorter committed Jul 4, 2021
1 parent 436d935 commit b383bd1
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 13 deletions.
30 changes: 19 additions & 11 deletions base/base-guide.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# {Doctype} guide

This {doctype}-guide provides extra writing tips for each of the sections within the {doctype}-template.
This {doctype}-guide provides extra writing tips describing **HOW** to fill in each of the sections within the {doctype}-template.

**Version:** {MAJOR.MINOR.PATCH}

Expand All @@ -15,11 +15,13 @@ To make the best use of this guide, it helps if you have a working knowledge of:

## {Doctype} content
### Hero description
The hero description stands alone, just under the title. It is sometimes referred to as the "TL;DR statement", short for: Too Long; Dont Read" and is written as:
The hero description stands alone, just under the title. It is sometimes referred to as the "TL;DR statement", short for: Too Long; Dont Read" and is sometimes written as:
```
TL;DR: {Hero description.}
```

We recommend against including the "TL;DR" acronym as some readers might not be familiar with it.

It should be very short so that a reader will naturally want to read it. Its purpose is to quickly help the reader decide whether they should read any further.

It should concisely explain what this document covers, and the type of person who will be interested in reading it.
Expand Down Expand Up @@ -115,18 +117,10 @@ _(TBD: Discuss/improve recommendations for [schema.org](https://schema.org/) met

## {Sections and subsections}


* Include standard headings applicable for this template’s `doctype`.
* Where applicable, provide standard text for relevant sections.
* Include tips for doc authors.
* Some sections will be optional and include an "optional" tip to the doc author.
}

{Doc author tip:

* Optionally include this section if {some condition}.

}
* Some sections will be optional and so should include the "optional" tip to the doc author.

## What’s next

Expand All @@ -145,6 +139,20 @@ This section is optional.

}

## Revision history

This section is optional, and typically should not be included.

It is typically only include for formal or impportant documents where readers are likely to be interested in the document's change history.

It typically should only list major, public facing updates.

## Decision log

This section is optional, and typically should not be included, or should be included in an accompanying document.

It is typically only included for business process documents where readers may challenge the reasoning behind a decision.

## Acknowledgements

* This section is optional.
Expand Down
36 changes: 34 additions & 2 deletions base/base-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{Tip:

* This {doctype}-template captures the structure and common text that should be included in all {doctype} documents.
* This `{doctype}-template` captures the structure and common text that should be included in a `{doctype}` document.
* It includes tips (such as this) and variables inside curly brackets. These tips and variables should be replaced or removed from the final document.

}
Expand Down Expand Up @@ -54,6 +54,7 @@ It is designed to help {persona or personas} to achieve/learn {some goal}.

{Tip:

* Optionally include this section if {some condition}.
* {Section specific tip 1.}
* {Section specific tip 2.}

Expand All @@ -63,6 +64,7 @@ It is designed to help {persona or personas} to achieve/learn {some goal}.

{Tip:

* Optionally include this section if {some condition}.
* {Subsection specific tip 1.}
* {Subsection specific tip 2.}

Expand All @@ -75,9 +77,39 @@ Refer to:
* {[Some doc title](https://example.com/somedoc.html) for {similar concepts}.}
* {[Some doc title](https://example.com/somedoc.html) for {background theory}.}

## Revision history

{Tip:
* This section is optional or can be combined with the ```decision log``` section if needed.

}

The following table describes the history of {all/major} decisions and revisions made to this {document} over time.

This guide uses the Major.Minor.Patch [semantic versioning](https://semver.org/) convention.

Edition | Date | Lead Author(s) | Link to Repository Commit/Tag
------- | ---- | -------------- | -----------------------------
0.2 | {YYYY-MM-DD} | {Your name here} | Customised for this project's needs
0.1 | {YYYY-MM-DD} | {Your name here} | Initial [{doctype}-template {version}](https://github.com/thegooddocsproject/templates/tree/main/{doctype}) from The Good Docs Project.


## Decision log

{Tip:
* This section is optional or can be combined with the ```revision history``` section if needed.

}

The following table describes the history of all decisions made to this {document} over time:

Ref | Date | Description | Agreed to by
--- | ---- | ----------- | ------------
1 | {YYYY-MM-DD} | {Explain the decision that was made here} | {Name or role}

## Acknowledgements

This document draws inspiration from:

* [The Good Docs Project](https://thegooddocsproject.dev) templates, version {MAJOR.MINOR.PATH}.
* ...
* {...}

0 comments on commit b383bd1

Please sign in to comment.