Skip to content

Commit 1bbeebe

Browse files
authored
Add documentation (#20)
1 parent f8f0276 commit 1bbeebe

43 files changed

Lines changed: 2327 additions & 1686 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: CI
22
on:
33
pull_request:
44
branches: [main]
5+
paths-ignore:
6+
- 'docs/**'
57
workflow_dispatch:
68
inputs:
79
run_integration:

.github/workflows/deploy-docs.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Deploy Docs
2+
on:
3+
push:
4+
branches:
5+
- main
6+
permissions:
7+
contents: write
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-python@v4
14+
with:
15+
python-version: 3.x
16+
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
17+
- uses: actions/cache@v3
18+
with:
19+
key: mkdocs-material-${{ env.cache_id }}
20+
path: .cache
21+
restore-keys: |
22+
mkdocs-material-
23+
- run: pip install mkdocs-material
24+
- run: make docs-deploy

.nojekyll

Whitespace-only changes.

Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,15 @@ check-fmt:
9898
build-ci: check-fmt lint-ci gosec
9999

100100
test-ci: test
101+
102+
@PHONY: docs-install
103+
docs-install:
104+
@brew install mkdocs-material
105+
106+
@PHONY: docs-serve
107+
docs-serve:
108+
@mkdocs serve
109+
110+
@PHONY: docs-deploy
111+
docs-deploy:
112+
@mkdocs gh-deploy --force

0 commit comments

Comments
 (0)