Skip to content
Snippets Groups Projects
  1. Sep 21, 2023
    • Hugo Hörnquist's avatar
      Remove ParserFormatter's constructor. · 1816bf46
      Hugo Hörnquist authored
      All state held in that class is apparently now moved to the
      ParserCombinator which uses the serialized output
      
      Possibly change all methods in the class to be class/static methods
      instead in the future.
      1816bf46
  2. Sep 20, 2023
  3. Sep 19, 2023
  4. Jul 08, 2023
    • Hugo Hörnquist's avatar
      Replace handling of Puppet code. · 6b5c4286
      Hugo Hörnquist authored
      Previously the the input json was directly mapped into the output
      strings, through different formatters. This changes it so we instead
      first build a proper AST of python objects, which is later mapped to
      output strings (still through formatters).
      
      This gives us much better type information, and will give way to much
      more advanced formatters in the future.
      
      This includes some regressions:
      * Docstrings aren't handled as well
      * The code lacks any form of hyperlinks.
      6b5c4286
  5. Jul 03, 2023
  6. Jul 01, 2023
  7. Jun 26, 2023
    • Hugo Hörnquist's avatar
      Change markdown implementation. · 4ece6b0d
      Hugo Hörnquist authored
      Python-commonmark is deprecated, and recommends markdown-it-py instead.
      
      This commit also introduces an abstract muppet.markdown module to allow
      easier switching in the future, and enables id's for all headers in the
      generated HTML.
      4ece6b0d
  8. Jun 17, 2023
  9. Jun 04, 2023
  10. Jun 03, 2023
  11. Jun 01, 2023
    • Hugo Hörnquist's avatar
      Major work · 7de2c36e
      Hugo Hörnquist authored
      - Moved most datatypes to own modules
      - changed output to take a generator instance for multiple output forms
      - Wrote tests for the "parser"
      - fixed some bugs revealed in the parser while writing those tests.
      7de2c36e
  12. May 30, 2023
  13. May 29, 2023
  14. May 25, 2023
  15. May 23, 2023
  16. May 22, 2023
  17. May 20, 2023
Loading