Contribute to these docs
Every page on this site is written in Markdown in a public repository, and a correction from somebody who hit the problem is worth more than a page written by somebody who did not. There is nothing to sign and no account to request beyond a GitLab one.
Fix one page
Section titled “Fix one page”Scroll to the bottom of the page that is wrong and use Edit this page. GitLab forks the repository for you, commits the change and opens the merge request. For a typo, a stale command or a broken external link, that is the whole process.
Write something larger
Section titled “Write something larger”git clone https://gitlab.com/outpostplatform/docs.gitcd docsnvm usenpm cinpm run devThe site runs at http://localhost:4321 with a mock of the support API next to
it, so search and the feedback widget work without the Go server. Pages reload
as you save them.
Then:
- Branch from
mainasdocs/<topic>. - Pick the template that matches what you are writing.
- Check it with
npm run lintandnpm run build. - Open a merge request titled
area: change.
The full version of that, including the front matter every page needs, is in CONTRIBUTING.md.
The rules the linter enforces
Section titled “The rules the linter enforces”STYLE.md is the style guide. The parts that catch people out:
- Second person, present tense, and the outcome before the instruction.
- No em dashes and no en dashes, in the body or the front matter.
- Sentence case headings, the title as the only H1, and the body starting at H2.
- Every code fence names its language.
- Internal links are root relative and end with a slash.
- Placeholders look like
<depot-host>, and example hosts are underexample.com.
The templates
Section titled “The templates”| Shape | Use it for | File |
|---|---|---|
| Concept | What something is and why it exists | concept.md |
| How-to | One task, start to finish | how-to.md |
| Reference | A list somebody looks one row up in | reference.md |
| Troubleshooting | One symptom and its causes | troubleshooting.md |
| Release note | What changed in one version | release-note.md |
A page with a Stub badge is an outline nobody has written yet. Its front matter and its list of intended sections are already there, so picking one up is filling in a shape rather than starting from nothing. They are the best place to start.
Licensing
Section titled “Licensing”By opening a merge request you license your contribution under CC BY 4.0 for content and MIT for code. You keep the copyright in what you write. Outpost trademarks are not licensed by either.
Reporting instead of fixing
Section titled “Reporting instead of fixing”- Something wrong, missing, or a broken link: open an issue and pick the matching template.
- A security problem: do not open an issue. See reporting a vulnerability.
Content is licensed CC BY 4.0. Code samples are MIT. Outpost and the Outpost mark are trademarks of Outpost Business Solutions, PBC and are not covered by either licence.