docs: no mdbook-alerts (#4026)
This commit is contained in:
4
.github/workflows/gh-pages-mdbook.yml
vendored
4
.github/workflows/gh-pages-mdbook.yml
vendored
@@ -23,8 +23,8 @@ jobs:
|
|||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
shell: bash
|
shell: bash
|
||||||
run: sudo apt-get install -y libwayland-dev libxkbcommon-dev # Required for winit
|
run: sudo apt-get install -y libwayland-dev libxkbcommon-dev # Required for winit
|
||||||
- name: Install mdbook-alerts, mdbook-mermaid
|
- name: Install mdbook-mermaid
|
||||||
run: cargo install mdbook-alerts mdbook-mermaid
|
run: cargo install mdbook-mermaid
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: docs/mdbook
|
working-directory: docs/mdbook
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
## Build Locally
|
## Build Locally
|
||||||
|
|
||||||
Get the `mdbook` utility as well as [`mdbook-alerts`](https://github.com/lambdalisue/rs-mdbook-alerts) and [`mdbook-mermaid`](https://github.com/badboy/mdbook-mermaid), see https://rust-lang.github.io/mdBook/guide/installation.html
|
Get the `mdbook` utility as well as [`mdbook-mermaid`](https://github.com/badboy/mdbook-mermaid), see https://rust-lang.github.io/mdBook/guide/installation.html
|
||||||
|
|
||||||
```
|
```
|
||||||
cargo install mdbook mdbook-alerts mdbook-mermaid
|
cargo install mdbook mdbook-mermaid
|
||||||
```
|
```
|
||||||
|
|
||||||
Run
|
Run
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
[book]
|
[book]
|
||||||
authors = ["MapLibre Contributors"]
|
authors = ["MapLibre Contributors"]
|
||||||
language = "en"
|
language = "en"
|
||||||
multilingual = false
|
|
||||||
src = "src"
|
src = "src"
|
||||||
title = "MapLibre Native Developer Documentation"
|
title = "MapLibre Native Developer Documentation"
|
||||||
|
|
||||||
@@ -9,7 +8,5 @@ title = "MapLibre Native Developer Documentation"
|
|||||||
additional-css = ["diff.css"]
|
additional-css = ["diff.css"]
|
||||||
additional-js = []
|
additional-js = []
|
||||||
|
|
||||||
[preprocessor.alerts]
|
|
||||||
|
|
||||||
[preprocessor.mermaid]
|
[preprocessor.mermaid]
|
||||||
command = "mdbook-mermaid"
|
command = "mdbook-mermaid"
|
||||||
|
|||||||
Reference in New Issue
Block a user