docs: use make docs to re-generate the docs

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi 2021-06-08 18:57:45 -07:00
parent 940d9ccfee
commit 6d5142aa67
2 changed files with 8 additions and 8 deletions

View File

@ -38,7 +38,7 @@ jobs:
- name: Lint
run: |
make shellcheck cuelint check-buildkit-version universelint
make shellcheck cuelint check-buildkit-version docslint
- name: Markdown Lint
uses: nosborn/github-action-markdown-cli@v1.1.1

View File

@ -30,7 +30,7 @@ shellcheck:
shellcheck ./tests/*.bats ./tests/*.bash
.PHONY: lint
lint: shellcheck cuelint golint check-buildkit-version universelint
lint: shellcheck cuelint golint check-buildkit-version docslint
.PHONY: check-buildkit-version
check-buildkit-version:
@ -50,15 +50,15 @@ integration: dagger-debug
install: dagger
go install ./cmd/dagger
.PHONY: universe
universe: dagger
.PHONY: docs
docs: dagger
./cmd/dagger/dagger doc --output ./docs/reference/universe --format md
.PHONY: universelint
universelint: universe
.PHONY: docslint
docslint: docs
@test -z "$$(git status -s . | grep -e "^ M" | grep docs/reference/universe | cut -d ' ' -f3 | tee /dev/stderr)"
.PHONY: docs
docs:
.PHONY: web
web:
yarn --cwd "./website" install
yarn --cwd "./website" start