Skip to content

Modo🧯 v0.10.0

Choose a tag to compare

@mlange-42 mlange-42 released this 02 Feb 16:36
· 62 commits to main since this release
83fbd35

Modo🧯 v0.10.0

Modo🧯 is a documentation generator (DocGen) for the Mojo🔥 programming language.
It generates Markdown for static site generators (SSGs) from mojo doc JSON output.

Release highlights

Modo🧯 v0.10.0 brings some major usability improvements:

  • Command init now analyzes the structure of the Mojo project and sets everything up to work instantly.
  • Flag --watch introduces a watch mode, so that edits can be reviewer in a web browser instantly.
  • Flag --report-missing reports missing docstrings and a documentation coverage percentage.
  • Command clean cleans up a project from Markdown and test files generated by Modo.

Changelog

Features

  • Adds flag/config entry report-missing to report missing docstrings and coverage (#136, #137)
  • Command init tries to find packages to set up an instantly working project (#141)
  • Command init adds pre- and post-processing scripts to modo.yaml file (#141)
  • Command init creates a docs directory with sub-directories reflecting the recommended structure (#141)
  • Command init has flag --docs to change the intended documentation directory (#142)
  • Command init has flag --no-folders to skip creation of directories (#143)
  • Command init writes a .gitignore file to the docs folder (#145)
  • With format hugo, set up site with hugo.yaml and go.mod (#155)
  • Adds flag --watch to re-build on changes (#174)
  • Adds command clean to remove Markdown and test files generated by Modo (#178)

Documentation

  • Restructures docs/ to serve as full Hugo example that uses all features (#134)
  • Rewrites the user guide for the new workflow with batteries-included init (#161)
  • Adds a sub-sction on CLI flags to the user guide (#175)
  • Adds a user guide section on CLI commands (#179)

Other

  • Includes fn/def and @staticmethod in function and method signatures (#139)
  • Improves message on script errors with hint to flag --bare (#144)
  • Checks that user template directories actually exist (#157)
  • mdBook config and CSS files are written by command init instead of build (#158)
  • Disables post-processing scripts on dry-run (#175)