Skip to content

Templates and miscellaneous tooling to help with writing and maintaining docs.

Notifications You must be signed in to change notification settings

canonical/data-platform-doc-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Data Platform documentation tools

Templates and miscellaneous tooling to help with writing and maintaining Data Platform Charmhub docs:

Generate release notes

Create formatted release notes from GitHub commits for a range of revisions.

Usage

Fill in the config.yaml file with the relevant charm parameters, then run generate.py.

$ cd release_notes_formatter

$ nano config.yaml
app: postgresql
substrate: vm
last_revision: 351

amd_22_04: 363
amd_20_04: 
arm_22_04: 364
arm_20_04: 

$ python3 generate.py
Requesting commits from GitHub API: https://api.github.com/repos/canonical/postgresql-k8s-operator/compare/rev351...rev364
Formatted release notes for PostgreSQL K8s revisions dict_values([363, 0, 364, 0]) saved to 'postgresql-k8s-release-notes.md'

Documentation review

To start a documentation review process:

  1. Create a new branch (use Jira ticket ID when applicable)
  2. Create a new markdown file in your charm's directory, ignoring Diataxis groups. Use the discourse slug as the filename. E.g. postgresql-k8s/h-deploy-gke.md

Note

Ignore the navigation hierarchy; no need to create intermediate directories like postgresql-k8s/how-to/set-up/h-deploy.gke.md

  1. Submit your PR and add reviewers
  2. Once the review process is over, copy the reviewed page onto discourse
  3. Close the PR without merging.

About

Templates and miscellaneous tooling to help with writing and maintaining docs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published