From 72f5107979281076a32fb1639d135db6bf89ac80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Serv=C3=A9n=20Mar=C3=ADn?= Date: Tue, 10 Mar 2020 00:36:18 +0100 Subject: [PATCH] docs: remove frontmatter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lucas Servén Marín --- Makefile | 8 ++++---- README.md | 7 ------- docs/annotations.md | 6 ------ docs/kgctl.md | 5 ----- docs/multi-cluster-services.md | 6 ------ docs/topology.md | 6 ------ docs/vpn-server.md | 6 ------ docs/vpn.md | 6 ------ website/.gitignore | 2 +- website/docs/README | 6 ++++++ website/docs/annotations | 5 +++++ website/docs/kgctl | 4 ++++ website/docs/multi-cluster-services | 5 +++++ website/docs/topology | 5 +++++ website/docs/vpn | 5 +++++ website/docs/vpn-server | 5 +++++ 16 files changed, 40 insertions(+), 47 deletions(-) create mode 100644 website/docs/README create mode 100644 website/docs/annotations create mode 100644 website/docs/kgctl create mode 100644 website/docs/multi-cluster-services create mode 100644 website/docs/topology create mode 100644 website/docs/vpn create mode 100644 website/docs/vpn-server diff --git a/Makefile b/Makefile index 1b5fb61..fe8a3ec 100644 --- a/Makefile +++ b/Makefile @@ -201,12 +201,12 @@ header: .header fi website/docs/README.md: README.md - rm -rf website/docs - mkdir website/docs - find docs -type f -name '*.md' | xargs -I{} ln {} website/{} rm -rf website/static/img/graphs + find docs -type f -name '*.md' | xargs -I{} sh -c 'cat $(@D)/$$(basename {} .md) > website/{}' + find docs -type f -name '*.md' | xargs -I{} sh -c 'cat {} >> website/{}' + cat $(@D)/$$(basename $@ .md) > $@ + cat README.md >> $@ cp -r docs/graphs website/static/img/ - cp README.md website/docs/ sed -i 's/\.\/docs\///g' $@ find $(@D) -type f -name '*.md' | xargs -I{} sed -i 's/\.\//\/img\//g' {} sed -i 's/graphs\//\/img\/graphs\//g' $@ diff --git a/README.md b/README.md index a0cf28f..9997c3f 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,3 @@ ---- -id: introduction -title: Introduction -hide_title: true -custom_edit_url: https://github.com/squat/kilo/edit/master/README.md ---- -

# Kilo diff --git a/docs/annotations.md b/docs/annotations.md index 7373da6..cd80b9d 100644 --- a/docs/annotations.md +++ b/docs/annotations.md @@ -1,9 +1,3 @@ ---- -id: annotations -title: Annotations -hide_title: true ---- - # Annotations The following annotations can be added to any Kubernetes Node object to configure the Kilo network. diff --git a/docs/kgctl.md b/docs/kgctl.md index fe8145e..734f1ea 100644 --- a/docs/kgctl.md +++ b/docs/kgctl.md @@ -1,8 +1,3 @@ ---- -id: kgctl -hide_title: true ---- - # kgctl Kilo provides a command line tool for inspecting and interacting with clusters: `kgctl`. diff --git a/docs/multi-cluster-services.md b/docs/multi-cluster-services.md index b6552be..de3d410 100644 --- a/docs/multi-cluster-services.md +++ b/docs/multi-cluster-services.md @@ -1,9 +1,3 @@ ---- -id: multi-cluster-services -title: Multi-cluster Services -hide_title: true ---- - # Multi-cluster Services Just as Kilo can connect a Kubernetes cluster to external services over WireGuard, it can connect multiple independent Kubernetes clusters. diff --git a/docs/topology.md b/docs/topology.md index 7f21f21..f563388 100644 --- a/docs/topology.md +++ b/docs/topology.md @@ -1,9 +1,3 @@ ---- -id: topology -title: Topology -hide_title: true ---- - # Topology Kilo allows the topology of the encrypted network to be customized. diff --git a/docs/vpn-server.md b/docs/vpn-server.md index e008826..a18a44b 100644 --- a/docs/vpn-server.md +++ b/docs/vpn-server.md @@ -1,9 +1,3 @@ ---- -id: vpn-server -title: VPN Sever -hide_title: true ---- - # VPN Server The cluster VPN created by Kilo can also be used by peers as a gateway to access the Internet. diff --git a/docs/vpn.md b/docs/vpn.md index 776d111..b23f15e 100644 --- a/docs/vpn.md +++ b/docs/vpn.md @@ -1,9 +1,3 @@ ---- -id: vpn -title: VPN -hide_title: true ---- - # VPN Kilo enables peers outside of a Kubernetes cluster to connect to the created WireGuard network. diff --git a/website/.gitignore b/website/.gitignore index a6570ba..95da180 100644 --- a/website/.gitignore +++ b/website/.gitignore @@ -2,7 +2,7 @@ /node_modules # Production -/docs +/docs/*.md /build /static/img/graphs diff --git a/website/docs/README b/website/docs/README new file mode 100644 index 0000000..3cd6603 --- /dev/null +++ b/website/docs/README @@ -0,0 +1,6 @@ +--- +id: introduction +title: Introduction +hide_title: true +custom_edit_url: https://github.com/squat/kilo/edit/master/README.md +--- diff --git a/website/docs/annotations b/website/docs/annotations new file mode 100644 index 0000000..d2d448e --- /dev/null +++ b/website/docs/annotations @@ -0,0 +1,5 @@ +--- +id: annotations +title: Annotations +hide_title: true +--- diff --git a/website/docs/kgctl b/website/docs/kgctl new file mode 100644 index 0000000..f242b5f --- /dev/null +++ b/website/docs/kgctl @@ -0,0 +1,4 @@ +--- +id: kgctl +hide_title: true +--- diff --git a/website/docs/multi-cluster-services b/website/docs/multi-cluster-services new file mode 100644 index 0000000..c9feace --- /dev/null +++ b/website/docs/multi-cluster-services @@ -0,0 +1,5 @@ +--- +id: multi-cluster-services +title: Multi-cluster Services +hide_title: true +--- diff --git a/website/docs/topology b/website/docs/topology new file mode 100644 index 0000000..6ad1881 --- /dev/null +++ b/website/docs/topology @@ -0,0 +1,5 @@ +--- +id: topology +title: Topology +hide_title: true +--- diff --git a/website/docs/vpn b/website/docs/vpn new file mode 100644 index 0000000..d7e1a8c --- /dev/null +++ b/website/docs/vpn @@ -0,0 +1,5 @@ +--- +id: vpn +title: VPN +hide_title: true +--- diff --git a/website/docs/vpn-server b/website/docs/vpn-server new file mode 100644 index 0000000..49e8b81 --- /dev/null +++ b/website/docs/vpn-server @@ -0,0 +1,5 @@ +--- +id: vpn-server +title: VPN Sever +hide_title: true +---