1.1.0 • Published 5 years ago

autodoc_compiler v1.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

#Autodoc Compiler

Compiles inline docs to markdown

##Usage

autodoc_compile will compile all docs in current and child directories and output markdown in PWD.

Currently only supports the .liquid extension.

Params

autodoc_compile [ relative directory to read || . ] [ relative directory to write the file to || . ] [ filename to write to || $pwd_liquid.md ] [ header text for the docs || "###Docs for dir's files in subdir ending in .liquid " ]

##Inline documentation format

{% comment %} // just so this doesn't show in liquid
    start_autodoc // signals that the following JSON object is a definition
    {
        "name": "advice_guidance_text", // name of the content chunk
        "description": "Text for the advice and guidance section", // what the content chunk is for, where it shows, how fields are to be used.
        "fields": [ "title", "text" ] // required fields (optional, can be detailed if you want)
    }
    stop_autodoc // signals that the definition is complete
{% endcomment %} // end comment

If JSON is invalid compilation will fail. Be sure to escape protected characters.

1.1.0

5 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago