Skip to content

v0.2 - Theme Maker

Compare
Choose a tag to compare
@pietroppeter pietroppeter released this 06 Nov 17:27
· 84 commits to main since this release
df345bc

this release aims to simplify creating Nimib themes such as nimibook.

It does this through the following changes:

  • instead of creating and injecting multiple variables
    (nbDoc, nbBlock, nbHomeDir, ...), nimib now only injects a nb variable
    that is a NbDoc. Some aliases are provided to minimize breakage.
  • handling of paths (srcDir and homeDir) is changed and is based on the presence
    of a new config file nimib.toml
  • command line options are now processed and can be used to skip/override the config process.
    Run any nimib file with option --nbHelp to see available options.
  • note in particular new --nbShow option which will automatically open the file in your default browser.
  • nbPostInit and nbPreSave customization mechanism based on includes are now removed
  • documentation has been updated to reflect the above changes and also to add other Nimib references (NimConf video, nimibook, getting-started, ...)