From efa03d6af6dc9fede36bc7e29eeb88d0b4a98ae6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Edouard=20Br=C3=A9t=C3=A9ch=C3=A9?= Date: Fri, 27 Oct 2023 18:53:34 +0200 Subject: [PATCH] chore: remove blog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Charles-Edouard Brétéché --- pkg/commands/serve/command.go | 2 +- website/docs/blog/index.md | 3 --- website/mkdocs.base.yaml | 2 -- website/mkdocs.yaml | 2 -- website/nav.gotmpl | 2 -- 5 files changed, 1 insertion(+), 10 deletions(-) delete mode 100644 website/docs/blog/index.md diff --git a/pkg/commands/serve/command.go b/pkg/commands/serve/command.go index ba6370ea..06ee328c 100644 --- a/pkg/commands/serve/command.go +++ b/pkg/commands/serve/command.go @@ -24,7 +24,7 @@ func Command(parents ...string) *cobra.Command { cmd.Flags().BoolVar(&command.ginFlags.log, "gin-log", true, "enable gin logger") cmd.Flags().BoolVar(&command.ginFlags.cors, "gin-cors", true, "enable gin cors") cmd.Flags().IntVar(&command.ginFlags.maxBodySize, "gin-max-body-size", 2*1024*1024, "gin max body size") - // // cluster flags + // cluster flags clientcmd.BindOverrideFlags(&command.clusterFlags.kubeConfigOverrides, cmd.Flags(), clientcmd.RecommendedConfigOverrideFlags("kube-")) return cmd } diff --git a/website/docs/blog/index.md b/website/docs/blog/index.md deleted file mode 100644 index d45a72bd..00000000 --- a/website/docs/blog/index.md +++ /dev/null @@ -1,3 +0,0 @@ -# Blog - -TODO diff --git a/website/mkdocs.base.yaml b/website/mkdocs.base.yaml index 050766f1..360ee365 100644 --- a/website/mkdocs.base.yaml +++ b/website/mkdocs.base.yaml @@ -74,8 +74,6 @@ plugins: - tags: enabled: true tags_file: catalog/index.md -- blog: - post_url_format: "{slug}" markdown_extensions: - attr_list diff --git a/website/mkdocs.yaml b/website/mkdocs.yaml index 8c3fdc16..4844d196 100644 --- a/website/mkdocs.yaml +++ b/website/mkdocs.yaml @@ -43,5 +43,3 @@ nav: - catalog/policies/ecs/policy-1.md - Playground: - playground.md -- Blog: - - blog/index.md diff --git a/website/nav.gotmpl b/website/nav.gotmpl index babc7809..dc67d757 100644 --- a/website/nav.gotmpl +++ b/website/nav.gotmpl @@ -44,5 +44,3 @@ nav: {{- end }} - Playground: - playground.md -- Blog: - - blog/index.md