Fix syntax highlighting and remove CI code tests

This commit is contained in:
mycognosist 2020-10-22 13:37:09 +01:00
parent b447da8991
commit 746f8a7b59
4 changed files with 10 additions and 8 deletions

View File

@ -13,4 +13,4 @@ before_script:
- cargo install-update -a - cargo install-update -a
script: script:
- mdbook build && mdbook test - mdbook build

View File

@ -10,8 +10,10 @@ Download the latest Debian Buster preview image for RPi3 and flash it to an SD c
Note: Be sure to use the correct device location in the `dd` command, otherwise you risk wiping another connected USB device. `sudo dmesg | tail` can be run after plugging in the SD card to determine the correct device location: Note: Be sure to use the correct device location in the `dd` command, otherwise you risk wiping another connected USB device. `sudo dmesg | tail` can be run after plugging in the SD card to determine the correct device location:
`wget https://raspi.debian.net/verified/20200831_raspi_3.img.xz` ```bash
`xzcat 20190628_raspberry-pi-3_buster_PREVIEW.img.xz | sudo dd of=/dev/mmcblk0 bs=64k oflag=dsync status=progress` wget https://raspi.debian.net/verified/20200831_raspi_3.img.xz
xzcat 20190628_raspberry-pi-3_buster_PREVIEW.img.xz | sudo dd of=/dev/mmcblk0 bs=64k oflag=dsync status=progress
```
On Mac OS, use the following command to flash the SD card: On Mac OS, use the following command to flash the SD card:
@ -40,7 +42,7 @@ nano /etc/wpa_supplicant/wpa_supplicant.conf
[ Add the following two lines to top of file ] [ Add the following two lines to top of file ]
```bash ```plaintext
ctrl_interface=/run/wpa_supplicant ctrl_interface=/run/wpa_supplicant
update_config=1 update_config=1
``` ```
@ -54,7 +56,7 @@ nano /etc/network/interfaces
[ Add the following lines to the file ] [ Add the following lines to the file ]
```bash ```plaintext
auto lo auto lo
iface lo inet loopback iface lo inet loopback

View File

@ -18,7 +18,7 @@ The `--iface` argument is used to define the network interface from which to ret
`peach-monitor [FLAGS] [OPTIONS]` `peach-monitor [FLAGS] [OPTIONS]`
``` ```bash
FLAGS: FLAGS:
-d, --daemon Run daemon -d, --daemon Run daemon
-h, --help Prints help information -h, --help Prints help information
@ -35,7 +35,7 @@ OPTIONS:
`~/.local/share/peachcloud` `~/.local/share/peachcloud`
``` ```bash
. .
└── net └── net
├── alert.json // programatically-defined alert flags ├── alert.json // programatically-defined alert flags

View File

@ -4,7 +4,7 @@
The configuration file for `nginx` can be found at `/etc/nginx/sites-available/peach.conf`. The contents are as follows: The configuration file for `nginx` can be found at `/etc/nginx/sites-available/peach.conf`. The contents are as follows:
``` ```nginx
server { server {
listen 80; listen 80;
server_name peach www.peach; server_name peach www.peach;