make changes_github: use details tag to make changelog collapsible.
This commit is contained in:
parent
e23554cec1
commit
004907f4f2
2 changed files with 7 additions and 1 deletions
2
Makefile
2
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
|
||||
|
|
6
tools/changes_template.html
Normal file
6
tools/changes_template.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
<details>
|
||||
<summary>Click to expand changelog</summary>
|
||||
|
||||
$body$
|
||||
|
||||
</details>
|
Loading…
Reference in a new issue