Skip to content

Commit

Permalink
move monitoring docs close to source
Browse files Browse the repository at this point in the history
  • Loading branch information
ibizaman authored and ibizaman committed Dec 8, 2023
1 parent 25462c6 commit f417372
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,16 @@ 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 = ''
cd docs
mkdir -p demo
cp -t . -r ../demo
cp -t . -r ../modules
mkdir -p out/media
mkdir -p out/highlightjs
Expand Down
2 changes: 1 addition & 1 deletion docs/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
File renamed without changes
File renamed without changes.

0 comments on commit f417372

Please sign in to comment.