aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-01-16Require OTP-21+ and remove erlang:get_stacktrace/0 usageHEADmasterLoïc Hoguin
2020-03-28Test against OTP-20+Loïc Hoguin
2019-03-08Only test Windows on OTP-21+ to avoid weird failuresLoïc Hoguin
2019-03-06Use mklink on Windows for the groff testsLoïc Hoguin
This fixes errors due to long paths I get in BuildKite.
2018-08-16Fix warnings evidenced by the groff testsLoïc Hoguin
2018-08-16Run groff against projects that use Asciideck for their manualLoïc Hoguin
2018-08-14Fix compilation for OTP 21Loïc Hoguin
2018-06-27Fix table and line breaks in man pagesLoïc Hoguin
2018-06-27Ensure explicit line breaks are at end of lineLoïc Hoguin
2018-06-27Remove the 99s stylesheet from generated HTMLLoïc Hoguin
2018-06-27Add missing "asciidoc" table styleLoïc Hoguin
2018-06-13Update .gitignore0.2.0Loïc Hoguin
2018-06-13Make passthrough blocks verbatimLoïc Hoguin
2018-06-13Rename a functionLoïc Hoguin
2018-06-13Add numbered lists in the HTML outputLoïc Hoguin
2018-06-13Add mailto linksLoïc Hoguin
2018-06-12Add passthrough blocks for HTMLLoïc Hoguin
2018-06-12Add forced line breaksLoïc Hoguin
2018-06-12Support --no-header-footer option in scripts/asciidocLoïc Hoguin
2018-06-12Parse table cols specs and add caption if anyLoïc Hoguin
2018-06-12Fix table cells containing blocksLoïc Hoguin
2018-06-12Fix a Dialyzer warningLoïc Hoguin
2018-06-11Many fixes based on reading the HTML renders of Cowboy docsLoïc Hoguin
2018-06-11Make scripts/asciidoc output UnicodeLoïc Hoguin
2018-06-11Add source-highlight support to HTML outputLoïc Hoguin
2018-06-11Add scripts/asciidoc ad-hoc replacement and HTML outputLoïc Hoguin
This allows me to build ninenines.eu using Asciideck and while the results are not perfect yet things are looking pretty, pretty good. Adding source-highlight support, showing images and fixing a few minor issues should bring me to the point where I can drop Asciidoc.
2018-06-08Rewrite the projectLoïc Hoguin
The new code is much more readable and easier to extend. I took inspiration from Haskell's Parsec project which seems to only write the happy-path and applied the idea to Erlang's exceptions. When the parser tries to parse, say, a list, and crashes, it tries with a table next, and so on until something matches. Normal paragraphs always match so there can be no parsing failures. The parser now has a number of passes: first the block parser, then lists and tables passes to build a proper tree out of them and finally an inline pass to apply inline formatting. The resulting AST can then be modified at will and passed on to translator modules which output a different format. The man page translator was also rewritten and has been tested against both Cowboy and Gun. Numerous issues were fixed as a result of this rewrite.
2016-12-02Fix a small issue with labeled listsLoïc Hoguin
2016-12-02Add .erlang.mk to gitignoreLoïc Hoguin
2016-11-26Fix an issue in Ranch manualLoïc Hoguin
Solution is a hack for now, unfortunately.
2016-11-23Add syntax links to the READMELoïc Hoguin
2016-11-05Add HiPE and ErLLVM testingLoïc Hoguin
2016-11-05Fix labeled lists containing unsorted listsLoïc Hoguin
2016-11-04Unescape pipes when parsing table cellsLoïc Hoguin
2016-11-04Remove an io:formatLoïc Hoguin
2016-11-02Allow numbers in man page names when building linksLoïc Hoguin
2016-11-02Ignore comments inside paragraphsLoïc Hoguin
2016-11-02Handle labeled lists the same as normal listsLoïc Hoguin
Including support for lists continuations.
2016-11-02Fix an issue with line continuationsLoïc Hoguin
2016-11-01Add CILoïc Hoguin
2016-11-01Fix version number and add .app fileLoïc Hoguin
2016-10-31Add a check for mandatory name section for man pagesLoïc Hoguin
2016-10-31Make extra man page fields configurableLoïc Hoguin
2016-10-31Add compress and outdir options to man translatorLoïc Hoguin
2016-10-18Fix the AST and add tests for formattingLoïc Hoguin
Also opened the way to making configurable quoted text elements, like the original Asciidoc allows. We could potentially end up allowing users to define different types of quotes producing custom AST.
2016-10-17Temporarily remove the .app fileLoïc Hoguin
Seems to be some issues with building otherwise.
2016-10-17Initial commitLoïc Hoguin
This is still very much in a proof of concept state, though the project should be in a good enough state that future additions are relatively painless. Text formatting nodes are not using the proper form in the AST at the moment. They should not be relied upon just yet.