Skip to content

Commit

Permalink
Merge branch 'main' into mkdocs
Browse files Browse the repository at this point in the history
Signed-off-by: Charles-Edouard Brétéché <[email protected]>
  • Loading branch information
eddycharly committed Oct 6, 2023
2 parents b53b43c + fb2114f commit c7bfce0
Show file tree
Hide file tree
Showing 99 changed files with 8,046 additions and 754 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.tools
.gopath
kyverno-json
site
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,14 @@ codegen-jp-docs: ## Generate JP docs
@rm -rf docs/user/jp && mkdir -p docs/user/jp
@go run ./hack/docs/jp/main.go > docs/user/jp/functions.md

.PHONY: codegen-mkdocs
codegen-mkdocs: ## Generate mkdocs website
@echo Generate mkdocs website... >&2
@pip3 install mkdocs
@pip3 install --upgrade pip
@pip3 install -U mkdocs-material mkdocs-redirects mkdocs-minify-plugin mkdocs-include-markdown-plugin lunr mkdocs-rss-plugin
@mkdocs build -f ./website/mkdocs.yaml

.PHONY: codegen-docs
codegen-docs: codegen-api-docs-md codegen-cli-docs codegen-jp-docs ## Generate docs

Expand Down
Binary file added docs/.DS_Store
Binary file not shown.
Loading

0 comments on commit c7bfce0

Please sign in to comment.