Skip to content

holly-evans/docs

 
 

Repository files navigation

Website

This website is built using Docusaurus 2, a modern static website generator.

Styleguide

Check out STYLEGUIDE.md for writing tips when contributing to our documentation.

Installation

$ yarn

Local Development

$ yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

By default, you won't be able to see images while running the docs locally. This is because they're stored in Github LFS (Large File Storage). To see images locally, you'll need to run:

brew install git-lfs
git lfs install

And then:

git lfs pull --include=[filename.png]

Or if you feel like taking a really long coffee break, skip the include flag to pull everything.

Build

$ yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Generate Provider Registry Docs

We use some templating to generate provider registry docs from the definitions in github.com/common-fate/common-fate/accesshandler/providerregistry

Run an update of provider docs

Update Common Fate repo dependency

go get github.com/common-fate/common-fate@<tag>

Generate the docs

go run cmd/docscli/main.go generate --version=<latest approvals version>

Make a PR with the generate files

About

Common Fate documentation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 41.2%
  • JavaScript 39.4%
  • CSS 16.9%
  • HTML 2.5%