From 807848b6bbbd848b062814d8630b8e25b751c798 Mon Sep 17 00:00:00 2001 From: stefanprodan Date: Tue, 23 Jun 2020 11:44:22 +0300 Subject: [PATCH] Add git repositories and kustomizations docs --- .github/workflows/docs.yaml | 2 ++ mkdocs.yml | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 158b258a..c5a6f8b2 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -16,7 +16,9 @@ jobs: run: | cp install/tk.sh docs/install.sh curl https://raw.githubusercontent.com/fluxcd/source-controller/master/docs/api/source.md > docs/components/source/api.md + curl https://raw.githubusercontent.com/fluxcd/source-controller/master/docs/spec/v1alpha1/gitrepositories.md > docs/components/source/gitrepositories.md curl https://raw.githubusercontent.com/fluxcd/kustomize-controller/master/docs/api/kustomize.md > docs/components/kustomize/api.md + curl https://raw.githubusercontent.com/fluxcd/kustomize-controller/master/docs/spec/v1alpha1/kustomization.md > docs/components/kustomize/kustomization.md - name: Deploy docs uses: mhausenblas/mkdocs-deploy-gh-pages@master env: diff --git a/mkdocs.yml b/mkdocs.yml index 36a68a52..e701e2c0 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -39,9 +39,11 @@ nav: - Get Started: get-started/index.md - Toolkit Components: - Source Controller: components/source/controller.md - - Source API: components/source/api.md + - GitRepository CRD: components/source/gitrepositories.md + - Source API Reference: components/source/api.md - Kustomize Controller: components/kustomize/controller.md - - Kustomize API: components/kustomize/api.md + - Kustomization CRD: components/kustomize/kustomization.md + - Kustomize API Reference: components/kustomize/api.md - Toolkit CLI: - Bootstrap: cmd/tk_bootstrap.md - Check: cmd/tk_check.md