Commit ed88d5d8 authored by kirk's avatar kirk

Embed script content in documentation page

parent f25b102d
Pipeline #93218558 passed with stages
in 30 seconds
......@@ -13,6 +13,8 @@ Install [Apache][] server.
[config-apache2.sh][]
{{< code file="/static/rpi-config/config-apache2.sh" >}}
## Usage
```bash
......
......@@ -13,6 +13,8 @@ Install [certbot][] certificate into Apache web server.
[config-certbot.sh][]
{{< code file="/static/rpi-config/config-certbot.sh" >}}
## Usage
./config-certbot.sh
......
......@@ -13,6 +13,8 @@ Install and configure [minidlna][] media server.
[config-dlna.sh][]
{{< code file="/static/rpi-config/config-dlna.sh" >}}
## Usage
```bash
......
......@@ -13,6 +13,8 @@ Install and configure [Docker][] container engine.
[config-docker.sh][]
{{< code file="/static/rpi-config/config-docker.sh" >}}
## Usage
```bash
......
......@@ -14,6 +14,8 @@ Set up a dynamic DNS cron job using domain name and access token from
[config-duckdns.sh][]
{{< code file="/static/rpi-config/config-duckdns.sh" >}}
## Usage
```bash
......
......@@ -13,6 +13,8 @@ Install and configure [emacs][], [markdown-mode][] and [pandoc][].
[config-emacs.sh][]
{{< code file="/static/rpi-config/config-emacs.sh" >}}
## Usage
```bash
......
......@@ -13,6 +13,8 @@ Install *exfat* file system support via [exfat-fuse][].
[config-exfat.sh][]
{{< code file="/static/rpi-config/config-exfat.sh" >}}
## Usage
```bash
......
......@@ -13,6 +13,8 @@ Mount an *exfat* drive automatically using the UUID displayed by `blkid`.
[automount-exfat.sh][]
{{< code file="/static/rpi-config/automount-exfat.sh" >}}
## Usage
```bash
......
......@@ -13,6 +13,8 @@ Install and configure [Hugo][]
[config-hugo.sh][]
{{< code file="/static/rpi-config/config-hugo.sh" >}}
## Usage
```bash
......@@ -23,10 +25,6 @@ Install and configure [Hugo][]
You must first install [snapd][]. See [Snap][snap-page] for details.
```bash
sudo snap install snap-store
```
[config-hugo.sh]: /rpi-config/config-hugo.sh
[snapd]: https://snapcraft.io/
[hugo]: https://gohugo.io/
......
......@@ -13,6 +13,8 @@ Install [mosquitto][] MQTT broker.
[config-mosquitto.sh][]
{{< code file="/static/rpi-config/config-mosquitto.sh" >}}
## Usage
```bash
......
......@@ -13,6 +13,8 @@ Install the [OpenZWave][] driver library.
[config-openzwave.sh][]
{{< code file="/static/rpi-config/config-openzwave.sh" >}}
## Usage
```bash
......
......@@ -13,6 +13,8 @@ Install and configure [samba][] file server.
[config-samba.sh][]
{{< code file="/static/rpi-config/config-samba.sh" >}}
## Usage
```bash
......
......@@ -13,6 +13,8 @@ Install and configure [snapd][]
[config-snap.sh][]
{{< code file="/static/rpi-config/config-snap.sh" >}}
## Usage
```bash
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment