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. ...@@ -13,6 +13,8 @@ Install [Apache][] server.
[config-apache2.sh][] [config-apache2.sh][]
{{< code file="/static/rpi-config/config-apache2.sh" >}}
## Usage ## Usage
```bash ```bash
......
...@@ -13,6 +13,8 @@ Install [certbot][] certificate into Apache web server. ...@@ -13,6 +13,8 @@ Install [certbot][] certificate into Apache web server.
[config-certbot.sh][] [config-certbot.sh][]
{{< code file="/static/rpi-config/config-certbot.sh" >}}
## Usage ## Usage
./config-certbot.sh ./config-certbot.sh
......
...@@ -13,6 +13,8 @@ Install and configure [minidlna][] media server. ...@@ -13,6 +13,8 @@ Install and configure [minidlna][] media server.
[config-dlna.sh][] [config-dlna.sh][]
{{< code file="/static/rpi-config/config-dlna.sh" >}}
## Usage ## Usage
```bash ```bash
......
...@@ -13,6 +13,8 @@ Install and configure [Docker][] container engine. ...@@ -13,6 +13,8 @@ Install and configure [Docker][] container engine.
[config-docker.sh][] [config-docker.sh][]
{{< code file="/static/rpi-config/config-docker.sh" >}}
## Usage ## Usage
```bash ```bash
......
...@@ -14,6 +14,8 @@ Set up a dynamic DNS cron job using domain name and access token from ...@@ -14,6 +14,8 @@ Set up a dynamic DNS cron job using domain name and access token from
[config-duckdns.sh][] [config-duckdns.sh][]
{{< code file="/static/rpi-config/config-duckdns.sh" >}}
## Usage ## Usage
```bash ```bash
......
...@@ -13,6 +13,8 @@ Install and configure [emacs][], [markdown-mode][] and [pandoc][]. ...@@ -13,6 +13,8 @@ Install and configure [emacs][], [markdown-mode][] and [pandoc][].
[config-emacs.sh][] [config-emacs.sh][]
{{< code file="/static/rpi-config/config-emacs.sh" >}}
## Usage ## Usage
```bash ```bash
......
...@@ -13,6 +13,8 @@ Install *exfat* file system support via [exfat-fuse][]. ...@@ -13,6 +13,8 @@ Install *exfat* file system support via [exfat-fuse][].
[config-exfat.sh][] [config-exfat.sh][]
{{< code file="/static/rpi-config/config-exfat.sh" >}}
## Usage ## Usage
```bash ```bash
......
...@@ -13,6 +13,8 @@ Mount an *exfat* drive automatically using the UUID displayed by `blkid`. ...@@ -13,6 +13,8 @@ Mount an *exfat* drive automatically using the UUID displayed by `blkid`.
[automount-exfat.sh][] [automount-exfat.sh][]
{{< code file="/static/rpi-config/automount-exfat.sh" >}}
## Usage ## Usage
```bash ```bash
......
...@@ -13,6 +13,8 @@ Install and configure [Hugo][] ...@@ -13,6 +13,8 @@ Install and configure [Hugo][]
[config-hugo.sh][] [config-hugo.sh][]
{{< code file="/static/rpi-config/config-hugo.sh" >}}
## Usage ## Usage
```bash ```bash
...@@ -23,10 +25,6 @@ Install and configure [Hugo][] ...@@ -23,10 +25,6 @@ Install and configure [Hugo][]
You must first install [snapd][]. See [Snap][snap-page] for details. 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 [config-hugo.sh]: /rpi-config/config-hugo.sh
[snapd]: https://snapcraft.io/ [snapd]: https://snapcraft.io/
[hugo]: https://gohugo.io/ [hugo]: https://gohugo.io/
......
...@@ -13,6 +13,8 @@ Install [mosquitto][] MQTT broker. ...@@ -13,6 +13,8 @@ Install [mosquitto][] MQTT broker.
[config-mosquitto.sh][] [config-mosquitto.sh][]
{{< code file="/static/rpi-config/config-mosquitto.sh" >}}
## Usage ## Usage
```bash ```bash
......
...@@ -13,6 +13,8 @@ Install the [OpenZWave][] driver library. ...@@ -13,6 +13,8 @@ Install the [OpenZWave][] driver library.
[config-openzwave.sh][] [config-openzwave.sh][]
{{< code file="/static/rpi-config/config-openzwave.sh" >}}
## Usage ## Usage
```bash ```bash
......
...@@ -13,6 +13,8 @@ Install and configure [samba][] file server. ...@@ -13,6 +13,8 @@ Install and configure [samba][] file server.
[config-samba.sh][] [config-samba.sh][]
{{< code file="/static/rpi-config/config-samba.sh" >}}
## Usage ## Usage
```bash ```bash
......
...@@ -13,6 +13,8 @@ Install and configure [snapd][] ...@@ -13,6 +13,8 @@ Install and configure [snapd][]
[config-snap.sh][] [config-snap.sh][]
{{< code file="/static/rpi-config/config-snap.sh" >}}
## Usage ## Usage
```bash ```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