Skip to content

Commit

Permalink
docs: remove frontmatter
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas Servén Marín <[email protected]>
  • Loading branch information
squat committed Mar 9, 2020
1 parent 4e72d02 commit 72f5107
Show file tree
Hide file tree
Showing 16 changed files with 40 additions and 47 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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' $@
Expand Down
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
---
id: introduction
title: Introduction
hide_title: true
custom_edit_url: https://github.com/squat/kilo/edit/master/README.md
---

<p align="center"><img src="./kilo.svg" width="150" /></p>

# Kilo
Expand Down
6 changes: 0 additions & 6 deletions docs/annotations.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
5 changes: 0 additions & 5 deletions docs/kgctl.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
---
id: kgctl
hide_title: true
---

# kgctl

Kilo provides a command line tool for inspecting and interacting with clusters: `kgctl`.
Expand Down
6 changes: 0 additions & 6 deletions docs/multi-cluster-services.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
6 changes: 0 additions & 6 deletions docs/topology.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
---
id: topology
title: Topology
hide_title: true
---

# Topology

Kilo allows the topology of the encrypted network to be customized.
Expand Down
6 changes: 0 additions & 6 deletions docs/vpn-server.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
6 changes: 0 additions & 6 deletions docs/vpn.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion website/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/node_modules

# Production
/docs
/docs/*.md
/build
/static/img/graphs

Expand Down
6 changes: 6 additions & 0 deletions website/docs/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
id: introduction
title: Introduction
hide_title: true
custom_edit_url: https://github.com/squat/kilo/edit/master/README.md
---
5 changes: 5 additions & 0 deletions website/docs/annotations
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
id: annotations
title: Annotations
hide_title: true
---
4 changes: 4 additions & 0 deletions website/docs/kgctl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: kgctl
hide_title: true
---
5 changes: 5 additions & 0 deletions website/docs/multi-cluster-services
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
id: multi-cluster-services
title: Multi-cluster Services
hide_title: true
---
5 changes: 5 additions & 0 deletions website/docs/topology
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
id: topology
title: Topology
hide_title: true
---
5 changes: 5 additions & 0 deletions website/docs/vpn
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
id: vpn
title: VPN
hide_title: true
---
5 changes: 5 additions & 0 deletions website/docs/vpn-server
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
id: vpn-server
title: VPN Sever
hide_title: true
---

0 comments on commit 72f5107

Please sign in to comment.