2023-08-16 17:44:51 +02:00
|
|
|
# Void-desktop
|
|
|
|
|
|
|
|
Guides and configuration files of my desktop Void install.
|
|
|
|
|
2023-08-16 18:00:57 +02:00
|
|
|
To begin go to the [wiki](https://git.bijl.us/lnco/void-desktop-guide/wiki)!
|
2023-08-16 21:06:54 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Prerequisites
|
|
|
|
|
|
|
|
Install `mkdocs` through pip:
|
|
|
|
|
|
|
|
```
|
|
|
|
# xbps-install -Sy python3-devel python3-pip
|
2023-08-16 21:22:57 +02:00
|
|
|
$ pip install mkdocs mkdocs-material
|
2023-08-16 21:06:54 +02:00
|
|
|
```
|
|
|
|
|
2023-08-16 22:44:11 +02:00
|
|
|
This will put an executable in `~/.local/lib/python3.11/site-packages/mkdocs/__main__.py`
|
2023-08-16 21:06:54 +02:00
|
|
|
|
|
|
|
I would recommended creating an alias for using it. For example:
|
|
|
|
|
|
|
|
```
|
|
|
|
alias mkdocs="python ~/.local/lib/python3.11/site-packages/mkdocs/__main__.py"
|
|
|
|
```
|
|
|
|
|
2023-08-16 21:14:15 +02:00
|
|
|
## Building
|
2023-08-16 21:06:54 +02:00
|
|
|
|
2023-08-16 21:14:15 +02:00
|
|
|
Build the website through:
|
|
|
|
|
|
|
|
```
|
|
|
|
$ mkdocs build
|
|
|
|
```
|
|
|
|
|
|
|
|
And preview it with:
|
|
|
|
|
|
|
|
```
|
|
|
|
$ mkdocs serve
|
|
|
|
```
|
|
|
|
|
2023-08-16 21:22:57 +02:00
|
|
|
This will host the website locally on [http://127.0.0.1:8000/](http://127.0.0.1:8000/).
|