mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-26 06:12:06 +01:00
Update README of docs directory
This commit is contained in:
parent
7bff3128cb
commit
0d23809524
1 changed files with 9 additions and 1 deletions
|
@ -17,7 +17,15 @@ To build:
|
||||||
$ make {html|epub|latexpdf}
|
$ make {html|epub|latexpdf}
|
||||||
```
|
```
|
||||||
|
|
||||||
Note: Building diagrams from source requires `mermaid-cli` to be installed.
|
Note: Diagrams are currently not built from source.
|
||||||
|
Instead, pre-built image files are used directly, because there are issues with mermaid in CLI systems.
|
||||||
|
|
||||||
|
If you want to build the diagrams from source, you need `mermaid-cli` to be installed on your system.
|
||||||
```shell
|
```shell
|
||||||
$ npm install -g @mermaid-js/mermaid-cli
|
$ npm install -g @mermaid-js/mermaid-cli
|
||||||
```
|
```
|
||||||
|
|
||||||
|
You can then use `mmdc` to build/update single diagram files like this:
|
||||||
|
```shell
|
||||||
|
mmdc --theme default --width 1600 --backgroundColor transparent -i ecosystem_dia.md -o ecosystem_dia.svg
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue