summaryrefslogtreecommitdiff
path: root/mkdoc
diff options
context:
space:
mode:
authorKurt Jung <kurt.w.jung@gmail.com>2015-10-20 12:26:10 -0400
committerKurt Jung <kurt.w.jung@gmail.com>2015-10-20 12:26:10 -0400
commite2d935b7215daa9476f1ca385a15227f5f5a7011 (patch)
tree56b837702a1d3b036e081506513d79913389875f /mkdoc
parent26baf7d305543d6afe39d38f0b2c30054c9fa4e3 (diff)
parentf45e5e9196bb313883f36e0ccc72f052f46aa37e (diff)
Merge pull request #49 from jung-kurt/compare-reference-pdf
Compare example PDFs with reference copies
Diffstat (limited to 'mkdoc')
-rwxr-xr-xmkdoc6
1 files changed, 4 insertions, 2 deletions
diff --git a/mkdoc b/mkdoc
index 301c39f..71294d7 100755
--- a/mkdoc
+++ b/mkdoc
@@ -1,3 +1,5 @@
+#!/bin/bash
+
# https://github.com/jimmyfrasche/autoreadme
autoreadme -f -template README.md.template
# Improve the appearance of the markdown document with features unavailable in godoc
@@ -16,5 +18,5 @@ cat README.md | tr '\n' '\v' | sed \
-e 's/test.coverage.(\(https:\/\/blog\.golang\.org\/cover\))/[test coverage](\1)/g' \
-e 's/Pull.requests.(\(https:\/\/help\.github\.com\/articles\/using\-pull\-requests\/\))/[Pull requests](\1)/g' \
-e 's/Your change should\v/Your change should\v\v/g' \
- | tr '\v' '\n' > 0
-mv 0 README.md
+ | tr '\v' '\n' > _0
+mv _0 README.md