aboutsummaryrefslogtreecommitdiff
path: root/v2/src/development
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xv2/src/development/dynmake.sh3
-rwxr-xr-xv2/src/development/genhtml.sh5
2 files changed, 2 insertions, 6 deletions
diff --git a/v2/src/development/dynmake.sh b/v2/src/development/dynmake.sh
index 033cbc3..126c211 100755
--- a/v2/src/development/dynmake.sh
+++ b/v2/src/development/dynmake.sh
@@ -74,5 +74,6 @@ printf 'pastebins.md = \\\n'
pastebins | varlist
printf '\n'
-pastebins | sed 's/^\(.*\)\.md$/\1.html: \1.entry-content/'
pastebins | sed 's/^\(.*\)\.md$/\1.html: \1.entry-env/'
+pastebins | sed 's/^\(.*\)\.md$/\1.html: \1.entry-content/'
+pastebins | sed 's/^\(.*\)\.md$/\1.entry-content: \1.entry-env/'
diff --git a/v2/src/development/genhtml.sh b/v2/src/development/genhtml.sh
index f1ccf43..4c10703 100755
--- a/v2/src/development/genhtml.sh
+++ b/v2/src/development/genhtml.sh
@@ -105,10 +105,6 @@ slugify_once() {
fi
}
-add_preamble() {
- printf '%s\n%s\n' "$PREAMBLE" "$(cat -)"
-}
-
markdown_to_html() {
md2html
}
@@ -204,7 +200,6 @@ add_headings_anchors() {
emit_body() {
cat "${FILENAME%.md}.entry-content" |
- add_preamble |
markdown_to_html |
extract_plaintext_snippets |
add_line_numbers |