osmosis-labs / beaker

Beaker helps streamlining CosmWasm development workflow.
Apache License 2.0
106 stars 30 forks source link

Configuration reference #43

Closed iboss-ptk closed 2 years ago

iboss-ptk commented 2 years ago

The idea here is to get the config struct documentation at runtime to generate md file that has details


struct Docs(Vec<Doc>);

struct DataDoc {
  ident: String,
  desc: Vec<String>,
  sub_docs: Vec<DataDoc>
};

trait GetDataDocs {
  get_data_docs() -> Vec<DataDoc>;
}