aboutsummaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2021-02-26Add tools/parseTimings.pl.John MacFarlane
A script to help pin down which modules take the most time and memory to compile.
2021-02-21Fix changelog-helper.shJohn MacFarlane
2020-03-15make changes_github: use details tag to make changelog collapsible.John MacFarlane
2020-03-13tools: delete Lua documentation helper cruftAlbert Krewinkel
The tools were useful to generate documentation from the Lua sources. However, most Lua functions are defined in Haskell, and the even documentation of functions written in Lua has been updated manually for quite a while now. The unused helper scripts, which have bit-rot to the point that they now produce broken links, are therefore removed.
2019-12-10Fix README.md so that relative links from manual become absolute.John MacFarlane
Previously they'd be broken links when viewed on GitHub or Hackage. So we add the base URL for the pandoc manual.
2019-11-27Generate Emoji module with TH.John MacFarlane
- Add Text.Pandoc.Emoji.TH. - Replace long literal list in Text.Pandoc.Emoji with one-liner generating it from data/emoji.json using TH. - Add Makefile target to download data/emoji.json. - Remove tools/emoji.hs.
2019-11-22Fix extract-changes.hs to use new changelog.md format.John MacFarlane
2019-11-22Fix extract-changes.hs so it uses stack as interpreter.John MacFarlane
2019-07-29Update emoji list in Text.Pandoc.Emoji.John MacFarlane
Done using tools/emojis.hs, which uses the list from the gem GitHub uses. Future updates can be done with this tool. Closes #5666.
2019-07-17Fix diff-zip.sh so it works on Darwin.John MacFarlane
BSD find is slightly different and doesn't have -regextype option.
2019-07-12Update diff-zip to support windows (#5641)Agustín Martín Barbero
Trying to use this script on windows (git-bash) gave several errors: - *mktemp* complained about missing XXXs in the template (fixed by adding XXX) - *find* didn't understand the -E switch (fixed by using the equivalent arguments) - *terminal codes* were not being recognized by the console (-e added to echo)
2019-07-10Improve diff-docx.sh -> diff-zip.sh.John MacFarlane
It now can be used on odts, docx, or epubs.
2019-07-10Add diff-docx.sh to tools.John MacFarlane
2019-01-07tools/changelog-helper.sh: use %aN instead of %an to respect .mailmapAlexander Krotov
2019-01-07tools/changelog-helper.sh: remove [[ bashismAlexander Krotov
2018-10-02Added tools/changelog-helper.sh.John MacFarlane
2018-04-22New README template, take in/out formats from manual.John MacFarlane
2017-12-30Fixed small bug in README generation.John MacFarlane
2017-12-29Generate README.md from template and MANUAL.txt.John MacFarlane
`make README.md` will generate the README.md after changes to MANUAL.txt have been made.
2017-12-29Update tool which generates lua module docsAlbert Krewinkel
All "helper functions" are not part of the Lua code for module pandoc, but are added in Haskell. The respective documentation section must therefore be excluded from automatic regeneration.
2017-12-28Update lua-filters.md and the tool that generates it.John MacFarlane
2017-12-01lua-filters.md: add documentation for pandoc.ListAlbert Krewinkel
2017-11-03pandoc-template-mode.el: Improve.Vaclav Haisman
Avoid highlighting of "strings" by deriving from `text-mode-syntax-table`. This fixes missing highlighting in default.html5 tag attributes. Define comment starting and ending sequences to allow use of M-q (auto-fill) on comments.
2017-10-22Support comments in Pandoc templates in Emacs pandoc-template-mode.Vaclav Haisman
2017-09-30Provide make target to update lua module docs (#3946)Albert Krewinkel
The pandoc module documentation in doc/lua-filters.md was automatically generated from `data/pandoc.lua`. A make target is provided which uses a lua filter to update the documentation.
2017-09-16Moved ldoc.ltp from doc to tools.John MacFarlane
doc should be reserved for actual documents, I think. @tarleb - will this cause a problem?
2017-09-06Add simple Emacs mode to help with Pandoc templates editing. (#3889)Václav Haisman
tools/pandoc-template-mode.el
2017-03-04Makefile: Separate refactor and reformat targets.John MacFarlane
Removed tools/refactor.sh.
2017-03-04Added 'make refactor' using hlint, stylish-haskell.John MacFarlane
2017-01-25Moved extract-changes.hs and github-upload.sh to tools/.John MacFarlane