forked from k8sgpt-ai/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: AnaisUrlichs <[email protected]>
- Loading branch information
1 parent
2f8874c
commit 16a30df
Showing
9 changed files
with
45 additions
and
7 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,11 @@ | ||
k8sgpt | ||
|
||
k8sgptdocs | ||
|
||
K8sGPT | ||
|
||
helm | ||
|
||
Kubernetes | ||
|
||
kubectl |
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,16 @@ | ||
name: typos | ||
|
||
on: | ||
pull_request: | ||
paths-ignore: | ||
- '*.md' | ||
|
||
jobs: | ||
build: | ||
name: Detect typos | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Run typo checks | ||
run: make typos |
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 |
---|---|---|
@@ -1,6 +1,17 @@ | ||
MKDOCS_IMAGE := ghcr.io/k8sgpt-ai/k8sgptdocs:dev | ||
MKDOCS_PORT := 8000 | ||
|
||
.PHONY: mkdocs-serve | ||
mkdocs-serve: | ||
docker build -t $(MKDOCS_IMAGE) -f docs/build/Dockerfile docs/build | ||
docker run --name mkdocs-serve --rm -v $(PWD):/docs -p $(MKDOCS_PORT):8000 $(MKDOCS_IMAGE) | ||
docker run --name mkdocs-serve --rm -v $(PWD):/docs -p $(MKDOCS_PORT):8000 $(MKDOCS_IMAGE) | ||
|
||
.PHONY: typos | ||
typos: | ||
which codespell || pip install codespell | ||
codespell -S _examples,.tfsec,.terraform,.git,go.sum --ignore-words .codespellignore -f | ||
|
||
.PHONY: fix-typos | ||
fix-typos: | ||
which codespell || pip install codespell | ||
codespell -S .terraform,go.sum --ignore-words .codespellignore -f -w -i1 |
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
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