use version file in generated manual (#362)
This commit is contained in:
parent
ec80a93e05
commit
7a10a805c2
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.load.js
|
||||
|
||||
substituteInPlace ./manual.md \
|
||||
--replace \
|
||||
'@VERSION@' \
|
||||
${builtins.readFile ../VERSION}
|
||||
|
||||
substituteInPlace ./options.md \
|
||||
--replace \
|
||||
'@OPTIONS_JSON@' \
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Self Host Blocks Manual {#self-host-blocks-manual}
|
||||
|
||||
## Version 0.0.1
|
||||
## Version @VERSION@
|
||||
|
||||
|
||||
```{=include=} preface
|
||||
|
|
|
|||
Loading…
Reference in a new issue