| Age | Commit message (Collapse) | Author |
|
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 <edwin@etorok.net>
|
|
The validator just prints errors, but always exited with nonzero.
Signed-off-by: Edwin Török <edwin@etorok.net>
|
|
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 <edwin@etorok.net>
|
|
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 <edwin@etorok.net>
|
|
These generate "no matching global declaration" so they can't
be validated.
|
|
We only need look at xml files in word.
|
|
|
|
|
|
This checks files other than document.xml in a docx container.
Thanks to @edwintorok.
|
|
|
|
The documentation in the Haskell sources has been updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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"
|
|
make moduledeps ROOTNODE=T.P.Parsing
|
|
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.
|
|
|
|
|
|
|
|
|
|
No documentations are generated for now, this just adds the necessary
code and auto-formats file `doc/lua-filters.md`.
|
|
tools/build-and-upload-api-docs.sh. I'm not sure what
this was supposed to do but it seems undocumented.
|
|
Using the template at https://hackage.haskell.org/upload
It still fails because of a missing doc-index.json for Glob?
|
|
|
|
|
|
|
|
Previously we downloaded the tar.gz before it was complete.
|
|
|
|
|
|
|
|
Use environment variables which can be set to use different
AMIs, keys, or instance types.
Correctly detect successful build.
|
|
|
|
|
|
A script to help pin down which modules take the most time
and memory to compile.
|
|
|
|
|
|
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.
|
|
Previously they'd be broken links when viewed on GitHub or Hackage.
So we add the base URL for the pandoc manual.
|
|
- 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.
|
|
|
|
|
|
Done using tools/emojis.hs, which uses the list from the
gem GitHub uses. Future updates can be done with this tool.
Closes #5666.
|
|
BSD find is slightly different and doesn't have -regextype option.
|
|
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)
|