Skip to content

Commit 7a0c615

Browse files
yajoadrian-gierakowski
authored andcommitted
docs: add missing titles and fix index logo
1 parent f77ac98 commit 7a0c615

File tree

7 files changed

+19
-3
lines changed

7 files changed

+19
-3
lines changed

docs/content/_index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
Kubernetes management with Nix
44

5-
<p align="center" style="margin: 2em auto;">
6-
<img src="./docs/static/logo.svg" alt="nixos logo in kubernetes blue" width="350"/>
7-
</p>
5+
{{< figure src="/logo.svg" alt="nixos logo in kubernetes blue" width="350" class="text-center" >}}
86

97
> **WARN**: this is a work in progress, expect breaking [changes](https://github.com/hall/kubenix/blob/main/CHANGELOG.md)
108

docs/content/examples/deployment/_index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
title: "Deployment"
3+
---
4+
15
As a more complete example, let's define some high-level variables and then split our module out into another file as we start to grow.
26

37
{{< source "default.nix" >}}

docs/content/examples/helm/_index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
title: "Helm"
3+
---
4+
15
To define a Helm release, use the {{< option "kubernetes.helm.releases" >}} option.
26

37
{{< source "default.nix" >}}

docs/content/examples/image/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
title: "Image"
23
weight: 30
34
---
45

docs/content/examples/namespaces/_index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
title: "Namespaces"
3+
---
4+
15
This example demonstrates the use of kubenix submodules, which are built atop of nixos submodule system, to create resources in multiple namespaces.
26

37
{{< source "default.nix" >}}

docs/content/examples/pod/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
title: "Pod"
23
weight: 10
34
---
45

docs/content/examples/testing/_index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
title: "Testing"
3+
---
4+
15
Testing is still very much in flux (contributions welcome!) but here's a rough example.
26

37
{{< source "default.nix" >}}

0 commit comments

Comments
 (0)