aboutsummaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2022-10-17Add tools/latex-package-dependencies.lua.John MacFarlane
2022-10-04More build-arm.sh fixes.John MacFarlane
2022-10-04Fix typo in build-arm.sh.John MacFarlane
2022-10-04moduledeps.lua: avoid duplicates when multiple ROOTs.John MacFarlane
2022-10-04Better 'make moduledeps' target.John MacFarlane
ROOT can now be multiple modules, and the complete transitive dependencies of all of them will be printed. make moduledeps ROOT="Text.Pandoc.Class Text.Pandoc.Parsing"
2022-10-01Makefile: add moduledeps target.John MacFarlane
make moduledeps ROOTNODE=T.P.Parsing
2022-10-01Makefile target to get module dependeny subgraphs.John MacFarlane
E.g. what depends on Text.Pandoc.Parsing? make modules.pdf ROOTNODE=T.P.Parsing This is helpful for figuring out what we can split out as separate packages.
2022-08-22build-arm.sh: remove reference to docker.log.John MacFarlane
2022-08-03Convert tool/extract-changes.hs to a Lua filter.John MacFarlane
2022-02-07Lua docs: fix typos, missing linksAlbert Krewinkel
2022-02-06Lua: add module `pandoc.layout` to format and layout textAlbert Krewinkel
2022-02-05Lua docs: allow to auto-generate Lua module documentationsAlbert Krewinkel
No documentations are generated for now, this just adds the necessary code and auto-formats file `doc/lua-filters.md`.
2022-01-17Omit --enable-doc in the cabal haddock invocation.John MacFarlane
tools/build-and-upload-api-docs.sh. I'm not sure what this was supposed to do but it seems undocumented.
2022-01-17Update build-and-upload-api-docs.sh.John MacFarlane
Using the template at https://hackage.haskell.org/upload It still fails because of a missing doc-index.json for Glob?
2022-01-07Add tools/build-and-upload-api-docs.sh.John MacFarlane
2021-07-03Upgrade Debian 10 AMI for build-arm.sh.John MacFarlane
2021-03-18build-arm.sh : remove strict checking on first ssh accessJohn MacFarlane
2021-03-08ARM build script: more reliable detection of completion.John MacFarlane
Previously we downloaded the tar.gz before it was complete.
2021-03-08build-arm.sh: fix elapsed time.John MacFarlane
2021-03-07build-arm.sh: env variable for ARTIFACTS.John MacFarlane
2021-03-07build-arm.sh: print total build timeJohn MacFarlane
2021-03-07Fixed build-arm script.John MacFarlane
Use environment variables which can be set to use different AMIs, keys, or instance types. Correctly detect successful build.
2021-03-07build-arm.sh: retrieve build artifacts after success.John MacFarlane
2021-03-07Add script to build an ARM binary on AWS.John MacFarlane
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?