use version file in generated manual
This commit is contained in:
parent
ec80a93e05
commit
5a3eb7ab5f
2 changed files with 6 additions and 1 deletions
|
|
@ -120,6 +120,11 @@ in stdenv.mkDerivation {
|
||||||
${nmdsrc}/static/highlightjs/highlight.min.js \
|
${nmdsrc}/static/highlightjs/highlight.min.js \
|
||||||
${nmdsrc}/static/highlightjs/highlight.load.js
|
${nmdsrc}/static/highlightjs/highlight.load.js
|
||||||
|
|
||||||
|
substituteInPlace ./manual.md \
|
||||||
|
--replace \
|
||||||
|
'@VERSION@' \
|
||||||
|
${builtins.readFile ../VERSION}
|
||||||
|
|
||||||
substituteInPlace ./options.md \
|
substituteInPlace ./options.md \
|
||||||
--replace \
|
--replace \
|
||||||
'@OPTIONS_JSON@' \
|
'@OPTIONS_JSON@' \
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Self Host Blocks Manual {#self-host-blocks-manual}
|
# Self Host Blocks Manual {#self-host-blocks-manual}
|
||||||
|
|
||||||
## Version 0.0.1
|
## Version @VERSION@
|
||||||
|
|
||||||
|
|
||||||
```{=include=} preface
|
```{=include=} preface
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue