blob: d480d5ee48f8ecb36e504c262f0197ce4bbd2313 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- a/manual/book.toml
+++ b/manual/book.toml
@@ -14,6 +14,3 @@ git-repository-url = "https://github.com/wilfred/difftastic"
[output.html.playground]
copyable = false
-
-[preprocessor.replace-version-placeholder]
-command = "./replace_version_placeholder.sh"
--- a/manual/replace_version_placeholder.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-
-DFT_VERSION=$(cargo read-manifest | jq -r .version)
-
-jq .[1] | jq '.sections[0].Chapter.content |= sub("DFT_VERSION_HERE"; "'$DFT_VERSION'")'
|