aboutsummaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2024-07-08lua-filters.md: Partially autogenerate docs for module "pandoc"Albert Krewinkel
The documentation system isn't powerful enough to generate the full documentation automatically.
2024-07-05tools/update-translations.py: translation scriptStephen Huan
2024-06-09lua-filters: auto-generate docs for `pandoc.layout` module.Albert Krewinkel
2024-06-07doc/lua-filters: autogenerate docs for module pandoc.templateAlbert Krewinkel
2024-05-04tools/update-lua-module-docs.lua: cleanup, fix codeAlbert Krewinkel
2024-05-04tools/update-lua-module-docs.lua: improve script-internal docsAlbert Krewinkel
2024-05-04Lua: fix generated docs.Albert Krewinkel
Update and fix docs for `pandoc.types.Version` and `pandoc.utils.type`.
2024-02-05fix(ci): explicitly choose a .Net versionEdwin Török
Upstream OOXML-Validator has added support for building with .Net 8.0 in commit 29af1086b5c78b6a213e70d2e1cb8da2a8e5b876. But that means OOXML-Validator can now be built for both .Net 6.0 and 8.0, so we need to pick which one we want when running, otherwise we get an error: ``` Unable to run your project Your project targets multiple frameworks. Specify which framework to run using '--framework'. ``` Signed-off-by: Edwin Török <[email protected]>
2023-12-19ci(validate-docx-golden-tests2): fail on errorsEdwin Török
The validator just prints errors, but always exited with nonzero. Signed-off-by: Edwin Török <[email protected]>
2023-12-18fix(docx): fix OOXMLValidator error on KeywordTok outputEdwin Török
xmllint doesn't warn about this (maybe because the tag is empty?), but the order doesn't match wml.xsd: ``` <w:rPr> <w:color w:val="007020"/> <w:b/> </w:rPr> ``` And OOXMLValidatorCLI does warn about it: ``` { "Description": "The element has unexpected child element 'http://schemas.openxmlformats.org/wordprocessingml/2006/main:b'.", "Path": { "NamespacesDefinitions": [ "xmlns:w=\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\"" ], "Namespaces": { }, "XPath": "/w:styles[1]/w:style[40]/w:rPr[1]", "PartUri": "/word/styles.xml" }, "Id": "Sch_UnexpectedElementContentExpectingComplex", "ErrorType": "Schema" } ``` Signed-off-by: Edwin Török <[email protected]>
2023-12-18test(Makefile): add validate-docx-golden-test2Edwin Török
Add a validation rule based on OOXML-Validator which uses the Open-XML-SDK shipped and maintained as part of dotnet. This catches a few more issues compared to the .xsd. Unfortunately currently this executable always exits with 0 even when validation failed. That can be fixed later by invoking it from a script. Signed-off-by: Edwin Török <[email protected]>
2023-12-18validate-docx.sh - revert checking of _rels.John MacFarlane
These generate "no matching global declaration" so they can't be validated.
2023-12-18Fix bug in validate-docx.sh.John MacFarlane
We only need look at xml files in word.
2023-12-18Modify validate-docx.sh to check ALL xml files in the docx container.John MacFarlane
2023-12-18validate-docx.sh: print list of files that fail validation.John MacFarlane
2023-12-18Add custom validate-docx.sh script.John MacFarlane
This checks files other than document.xml in a docx container. Thanks to @edwintorok.
2023-03-20lua-filters: auto-generate docs for `pandoc.system` module.Albert Krewinkel
2023-03-20lua-filters.md: Generate docs for pandoc.utilsAlbert Krewinkel
The documentation in the Haskell sources has been updated.
2023-03-19lua-filters.md: auto-generate docs for more modulesAlbert Krewinkel
2023-03-19Lua: add info on when functions became available in pandocAlbert Krewinkel
2023-03-19lua-filters.md: generate docs from Haskell for pandoc.structureAlbert Krewinkel
2023-03-19lua-filters.md: autogenerate parts of the Lua API docsAlbert Krewinkel
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.