Commit Graph
60 Commits
Author SHA1 Message Date
Albert Krewinkel 8346cfad4c lua-filters: auto-generate docs for pandoc.system module. 2023-03-20 16:06:19 +01:00
Albert Krewinkel a53a6edfa5 lua-filters.md: Generate docs for pandoc.utils
The documentation in the Haskell sources has been updated.
2023-03-20 08:30:04 +01:00
Albert Krewinkel a37eda9713 lua-filters.md: auto-generate docs for more modules 2023-03-19 22:39:15 +01:00
Albert Krewinkel 7743c5287a Lua: add info on when functions became available in pandoc 2023-03-19 15:09:23 +01:00
Albert Krewinkel 07c56322c2 lua-filters.md: generate docs from Haskell for pandoc.structure 2023-03-19 13:35:02 +01:00
Albert Krewinkel ec1a06f5ef lua-filters.md: autogenerate parts of the Lua API docs 2023-03-19 12:33:04 +01:00
John MacFarlane 4de3a9c2ca Add tools/latex-package-dependencies.lua. 2022-10-17 21:59:44 -07:00
John MacFarlane 11d010c455 More build-arm.sh fixes. 2022-10-04 13:16:19 -07:00
John MacFarlane 05505df2f0 Fix typo in build-arm.sh. 2022-10-04 13:16:19 -07:00
John MacFarlane a50765b3e4 moduledeps.lua: avoid duplicates when multiple ROOTs. 2022-10-04 12:30:03 -07:00
John MacFarlane 11ec70cfeb Better 'make moduledeps' target.
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-04 10:17:33 -07:00
John MacFarlane 89e7e9b636 Makefile: add moduledeps target.
make moduledeps ROOTNODE=T.P.Parsing
2022-10-01 12:46:30 -07:00
John MacFarlane 20f82b0a8b Makefile target to get module dependeny subgraphs.
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-10-01 12:34:27 -07:00
John MacFarlane 3040c2c42c build-arm.sh: remove reference to docker.log. 2022-08-22 11:11:09 -07:00
John MacFarlane 0f80284c3d Convert tool/extract-changes.hs to a Lua filter. 2022-08-03 23:59:39 -07:00
Albert Krewinkel 7d3db1dd2d Lua docs: fix typos, missing links 2022-02-07 09:30:12 +01:00
Albert Krewinkel 49f1e7608e Lua: add module pandoc.layout to format and layout text 2022-02-06 16:01:24 -08:00
Albert Krewinkel 3169367475 Lua docs: allow to auto-generate Lua module documentations
No documentations are generated for now, this just adds the necessary
code and auto-formats file `doc/lua-filters.md`.
2022-02-05 13:32:02 +01:00
John MacFarlane d2a9562554 Omit --enable-doc in the cabal haddock invocation.
tools/build-and-upload-api-docs.sh.  I'm not sure what
this was supposed to do but it seems undocumented.
2022-01-17 21:03:25 -08:00
John MacFarlane 5811baf80f Update build-and-upload-api-docs.sh.
Using the template at https://hackage.haskell.org/upload

It still fails because of a missing doc-index.json for Glob?
2022-01-17 21:03:25 -08:00
John MacFarlane 4a2a068a8b Add tools/build-and-upload-api-docs.sh. 2022-01-07 11:50:02 -08:00
John MacFarlane 40a78ea05d Upgrade Debian 10 AMI for build-arm.sh. 2021-07-03 11:38:04 -07:00
John MacFarlane 0012750c42 build-arm.sh : remove strict checking on first ssh access 2021-03-18 10:22:49 -07:00
John MacFarlane cac796e1ab ARM build script: more reliable detection of completion.
Previously we downloaded the tar.gz before it was complete.
2021-03-08 14:51:03 -08:00
John MacFarlane 7683912591 build-arm.sh: fix elapsed time. 2021-03-08 11:57:52 -08:00
John MacFarlane 459085c642 build-arm.sh: env variable for ARTIFACTS. 2021-03-07 20:58:36 -08:00
John MacFarlane f8e848094c build-arm.sh: print total build time 2021-03-07 19:02:36 -08:00
John MacFarlane 7eb4662df4 Fixed build-arm script.
Use environment variables which can be set to use different
AMIs, keys, or instance types.

Correctly detect successful build.
2021-03-07 18:06:38 -08:00
John MacFarlane 75d4bca862 build-arm.sh: retrieve build artifacts after success. 2021-03-07 13:27:55 -08:00
John MacFarlane d560038342 Add script to build an ARM binary on AWS. 2021-03-07 13:10:27 -08:00
John MacFarlane e798db14e8 Add tools/parseTimings.pl.
A script to help pin down which modules take the most time
and memory to compile.
2021-02-26 23:52:28 -08:00
John MacFarlane aae1e617a6 Fix changelog-helper.sh 2021-02-21 19:02:28 -08:00
John MacFarlane 004907f4f2 make changes_github: use details tag to make changelog collapsible. 2020-03-15 11:23:55 -07:00
Albert Krewinkel 9ffa8100d7 tools: delete Lua documentation helper cruft
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.
2020-03-13 14:22:23 +01:00
John MacFarlane a0df2f676c Fix README.md so that relative links from manual become absolute.
Previously they'd be broken links when viewed on GitHub or Hackage.
So we add the base URL for the pandoc manual.
2019-12-10 14:46:33 -08:00
John MacFarlane 0d0ec98dd5 Generate Emoji module with TH.
- 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-27 21:31:53 -08:00
John MacFarlane 415ddbe228 Fix extract-changes.hs to use new changelog.md format. 2019-11-22 09:42:04 -08:00
John MacFarlane 36f02e1673 Fix extract-changes.hs so it uses stack as interpreter. 2019-11-22 09:33:32 -08:00
John MacFarlane c7c7664403 Update emoji list in Text.Pandoc.Emoji.
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-29 11:17:22 -07:00
John MacFarlane 4d65bbf0df Fix diff-zip.sh so it works on Darwin.
BSD find is slightly different and doesn't have -regextype option.
2019-07-17 09:22:07 -07:00
Agustín Martín Barbero 6134616352 Update diff-zip to support windows (#5641)
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-12 09:08:27 -07:00
John MacFarlane 83a0104d5b Improve diff-docx.sh -> diff-zip.sh.
It now can be used on odts, docx, or epubs.
2019-07-10 20:53:40 -07:00
John MacFarlane 2c2d4e2138 Add diff-docx.sh to tools. 2019-07-10 20:28:21 -07:00
Alexander Krotov c0e4f66eb3 tools/changelog-helper.sh: use %aN instead of %an to respect .mailmap 2019-01-07 09:18:11 +03:00
Alexander Krotov a92d6fa5be tools/changelog-helper.sh: remove [[ bashism 2019-01-07 09:17:21 +03:00
John MacFarlane 9df4c7f57b Added tools/changelog-helper.sh. 2018-10-02 22:41:41 -07:00
John MacFarlane 72bdac3036 New README template, take in/out formats from manual. 2018-04-22 11:36:47 -07:00
John MacFarlane d5d6c9876d Fixed small bug in README generation. 2017-12-30 10:46:08 -08:00
John MacFarlane 81b0b20827 Generate README.md from template and MANUAL.txt.
`make README.md` will generate the README.md after changes
to MANUAL.txt have been made.
2017-12-29 16:41:51 -08:00
Albert Krewinkel 7fa286fff1 Update tool which generates lua module docs
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-29 10:04:55 +01:00