From 004907f4f229b4aff2ca9c2a96b694251b51cce9 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 15 Mar 2020 11:23:55 -0700 Subject: make changes_github: use details tag to make changelog collapsible. --- Makefile | 2 +- tools/changes_template.html | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 tools/changes_template.html diff --git a/Makefile b/Makefile index 72d7eabb8..ff18b0c77 100644 --- a/Makefile +++ b/Makefile @@ -55,7 +55,7 @@ fix_spacing: for f in $(SOURCEFILES); do printf '%s\n' "`cat $$f`" | sed -e 's/ *$$//' > $$f.tmp; mv $$f.tmp $$f; done changes_github: - pandoc --filter tools/extract-changes.hs changelog.md -t gfm --wrap=none | sed -e 's/\\#/#/g' | pbcopy + pandoc --filter tools/extract-changes.hs changelog.md -t gfm --wrap=none --template tools/changes_template.html | sed -e 's/\\#/#/g' | pbcopy dist: man/pandoc.1 cabal sdist diff --git a/tools/changes_template.html b/tools/changes_template.html new file mode 100644 index 000000000..a1cb46e2e --- /dev/null +++ b/tools/changes_template.html @@ -0,0 +1,6 @@ +
+ Click to expand changelog + +$body$ + +
-- cgit v1.2.3