tealrdocgen

This tool is meant to be used together with tealr and is used to generate online documentation for lua/teal apis created with tealr

Rendered Example

https://lenscas.github.io/tealsql/

Features:

How to get the json

The json file needed to generate the documentation can easily be gotten using ```rs use tealr::{ TypeWalker, };

fn main() { let types = TypeWalker::new() .processtype::() .processtype();

let json = serde_json::to_string_pretty(&types).unwrap();
println!("{}",json); //save to a file

} ```

Install

To install, simply run cargo install tealr_doc_gen Cargo will do the rest.

After it is installed, generating the online documentation is done by running tealr_doc_gen --json path/to/json/file --name yourApiName

Arguments

Required arguments