To install dependencies, run
npm installTo serve the website and watch for changes, run
npm run watchTo add a new tutorial:
- Create a folder under fmdeps/micro-docs/content/docs/
- Add a foo.vfile with the content, and afoo.11tydata.jsonfile with metadata: the title is used at the top of the document, andtags/requires/providesare metadata that is not used yet.
The .v files are converted to HTML by using syntax highlighting on the Rocq code.
Comments using (*| Markdown Text with LiquidJS Tags |*) are converted to paragraphs
"outside" the code blocks; probably avoid such comments "inside" Rocq sentences,
the output is odd.
The syntax can use Liquid Tags http://liquidjs.com/tags/overview.html.
You can also hide Rocq code from the output as follows:
(*@HIDE@*)
... whole Rocq sentences to hide from output.
(*@END-HIDE@*)