See ./policies
folder for text (markdown). This repo can be installed as an NPM package with a single default export, it contains the text of each policy as an array to be parsed downstream.
- Edit the markdown content of the relevant file in
./policies
- DO NOT remove the "front-matter" at the beginning of each file. (Bounded by three dashes
---
). DO NOT edit theid
field in existing policies. - Edit the "front-matter" to reflect the new
version
number (if wanted) and list any previousequivalentVersions
which, if the user has agreed to, should prevent them from being forced to agree to changes in the current version. If changes may be made without updating the version, users should not be prompted to agree again. - Submit your changes as a PR to this repo.
- Once merged here,
kbase/ui
must be updated to reference the most recent commit from this repo. To do so, a dev can runnpm install git+https://github.com/kbase/policies.git@latest
.
- Add a new
.md
file in./policies
. - Add the following front-matter to the markdown file, replacing the ID and title:
---
id: POLICY-ID
title: POLICY-TITLE
version: 1
equivalentVersions: []
---
- Add your text below that front-matter block.
- Edit
./index.ts
to import your new.md
file, and then add it to thepolicies
object. - Submit your changes as a PR to this repo.
- Once merged here,
kbase/ui
must be updated to reference the most recent commit from this repo. To do so, a dev can runnpm install git+https://github.com/kbase/policies.git@latest
.