move monitoring docs close to source
|
@ -71,6 +71,8 @@ in stdenv.mkDerivation {
|
|||
|
||||
nativeBuildInputs = [ nixos-render-docs ];
|
||||
|
||||
# We include the parent so we get the documentation inside the root
|
||||
# modules/ and demo/ folders.
|
||||
src = ./..;
|
||||
|
||||
buildPhase = ''
|
||||
|
@ -78,6 +80,7 @@ in stdenv.mkDerivation {
|
|||
|
||||
mkdir -p demo
|
||||
cp -t . -r ../demo
|
||||
cp -t . -r ../modules
|
||||
|
||||
mkdir -p out/media
|
||||
mkdir -p out/highlightjs
|
||||
|
|
|
@ -8,7 +8,7 @@ preface.md
|
|||
```
|
||||
|
||||
```{=include=} chapters html:into-file=//blocks-monitoring.html
|
||||
blocks/monitoring/default.md
|
||||
modules/blocks/monitoring/docs/default.md
|
||||
```
|
||||
|
||||
```{=include=} chapters html:into-file=//demo-homeassistant.html
|
||||
|
|
Before Width: | Height: | Size: 233 KiB After Width: | Height: | Size: 233 KiB |
Before Width: | Height: | Size: 246 KiB After Width: | Height: | Size: 246 KiB |
Before Width: | Height: | Size: 444 KiB After Width: | Height: | Size: 444 KiB |
Before Width: | Height: | Size: 441 KiB After Width: | Height: | Size: 441 KiB |
Before Width: | Height: | Size: 628 KiB After Width: | Height: | Size: 628 KiB |
Before Width: | Height: | Size: 267 KiB After Width: | Height: | Size: 267 KiB |
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |