docs: Update docs

This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2023-01-11 10:24:01 +01:00
parent 9cfc6276db
commit 946517257f
No known key found for this signature in database
GPG key ID: BC5E2BD907F9A8EC
3 changed files with 15 additions and 1 deletions

View file

@ -30,7 +30,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: Build docs - name: Build docs
uses: docker://ghcr.io/bjw-s/mdbook:0.4.25 uses: docker://ghcr.io/bjw-s/mdbook:0.4.25@sha256:0374aa3022448dbd061d731e489c5f7492e39a7df33234bdc94b901fe6c05b83
with: with:
args: mdbook build docs args: mdbook build docs

View file

@ -38,3 +38,11 @@ assets_version = "2.0.0" # do not edit: managed by `mdbook-admonish install`
[preprocessor.emojicodes] [preprocessor.emojicodes]
after = [ "links" ] after = [ "links" ]
[preprocessor.toc]
command = "mdbook-toc"
renderer = ["html"]
[preprocessor.regex]
after = [ "links" ]
patterns = "replace-patterns.json"

View file

@ -0,0 +1,6 @@
[
{
"pattern" : "\n### 📖 Docs[\\s\\S\n]*?---\n",
"template" : ""
}
]