-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: user documentation on github pages (#195)
* docs: user documentation on github pages Notice: This is more like an initial documentation site * Documentation site is powered by Docusaurus. * gRPC documentation is generated with `protoc-gen-doc`. * Getting started documentation is the as the quick-start guide, but with separate files, so it's easye to navigate and digest the content. It really needs a refactoring and we have to write a real user Getting Started docoument. * Enabled `blog` for now, we can turn it off if we don't want to use it. Created an example blog post about the v0.1.0-alpha.1 release. * CNAME: docs.flintlock.dev Docusaurus: https://docusaurus.io/ protoc-gen-doc: https://github.com/pseudomuto/protoc-gen-doc Fixes #85 * GitHub action to build (check) and deploy documentation * Apply suggestions from code review * Update proto + readme based on feedback * Remove ADR from the footer * Minor doc changes Co-authored-by: Claudia <[email protected]> Co-authored-by: Richard Case <[email protected]>
- Loading branch information
1 parent
f8622b6
commit 1984d32
Showing
53 changed files
with
21,972 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Documentation | ||
|
||
on: | ||
pull_request: | ||
branches: [main] | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
checks: | ||
if: github.event_name != 'push' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '14.x' | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.17' | ||
- name: Build docs | ||
run: make docs-build | ||
release: | ||
if: github.event_name != 'pull_request' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '14.x' | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.17' | ||
- uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.FLINTLOCK_DOCS_WEAVEWORKS_DOCS_BOT_DEPLOY_KEY }} | ||
- name: Release to GitHub Pages | ||
env: | ||
USE_SSH: true | ||
GIT_USER: git | ||
DEPLOYMENT_BRANCH: gh-pages | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "weaveworks-docs-bot" | ||
make docs-deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,4 @@ lint: | |
- PACKAGE_DIRECTORY_MATCH | ||
- PACKAGE_SAME_DIRECTORY | ||
breaking: | ||
use: | ||
use: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.