Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: sudo npm i -g markdownlint-cli2@latest
- name: Run markdownlint-cli2 to check Markdown files
run: markdownlint-cli2 '**.md'
- name: Install MkDocs and PySpelling
- name: Install Zensical and PySpelling
id: python
if: always() && steps.clone.outcome == 'success'
uses: actions/setup-python@v6
Expand All @@ -36,7 +36,7 @@ jobs:
- name: Build DietPi-Docs
id: build
if: always() && steps.python.outcome == 'success'
run: mkdocs build -sd build/docs
run: zensical build -c
- name: Install Aspell
id: aspell
if: always() && steps.build.outcome == 'success'
Expand Down
1 change: 1 addition & 0 deletions .wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -857,6 +857,7 @@ YDNS
yescrypt
ympd
youtube
Zensical
Zeroconf
ZeroPi
ZeroTier
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@
## Introduction

This is the source code repository for the [DietPi Documentation website](https://dietpi.com/docs/).
It uses extended Markdown, as implemented by [MkDocs](https://www.mkdocs.org/).
It uses extended Markdown, as implemented by [Zensical](https://zensical.org/).

[![CodeFactor](https://www.codefactor.io/repository/github/michaing/dietpi-docs/badge)](https://www.codefactor.io/repository/github/michaing/dietpi-docs)

## Building the documentation

- Install/update dependencies: `python3 -m pip install -Ur requirements.txt`
- From the root directory, run: `python3 -m mkdocs serve`
- From the root directory, run: `python3 -m zensical serve`

It builds the static HTML pages into a temporary directory and starts a local web server at `http://localhost:8000`. If you have troubles accessing the MkDocs website, you could also listen on a specific IP address or all IP addresses, e.g. `mkdocs serve -a 0.0.0.0:8000`.
It builds the static HTML pages into a temporary directory and starts a local web server at `http://localhost:8000`. If you have troubles accessing the Zensical website, you could also listen on a specific IP address or all IP addresses, e.g. `zensical serve -a 0.0.0.0:8000`.

## Contributing

Expand Down
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ repo_name: DietPi-Docs
repo_url: https://github.com/MichaIng/DietPi-Docs
edit_uri: edit/dev/docs/
docs_dir: docs
site_dir: build/docs
watch:
- snippet-includes

Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
mkdocs>=1.4.2
mkdocs-material>=9.0.4
zensical>=0.0.23
mkdocs-material>=9.7.2
mkdocs-minify-plugin>=0.6.2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
??? info "Using `<hostname>.local` instead of using `<your.IP>` (Avahi-Daemon)"

By installing Avahi-Daemon, the web interface can be accessed with `<hostname>.local` (default: `dietpi.local`) instead of using `<your.IP>`. See the [Avahi-Daemon documentation](./advanced_networking.md/#avahi-daemon) for details.
By installing Avahi-Daemon, the web interface can be accessed with `<hostname>.local` (default: `dietpi.local`) instead of using `<your.IP>`. See the [Avahi-Daemon documentation](advanced_networking.md/#avahi-daemon) for details.
Loading