diff options
author | Peter Johanson <peter@peterjohanson.com> | 2021-03-29 00:59:15 +0000 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2021-09-11 00:50:36 -0400 |
commit | 5e6634d2e522289c5169b22a2a0d8b600a0e008d (patch) | |
tree | 8d4d314585a1ec02b9027233648cdcedf65199cf /docs/docusaurus.config.js | |
parent | b52835ffbf1c47ab854d491dac9bb5ffbb15e80f (diff) |
feat(docs): Add TS type gen, metadata JSON gen
* Generate TS types from new hardware metadata schema.
* Aggregate all hw metadata YAML into one aggregate JSON
file for consumption by others.
Diffstat (limited to 'docs/docusaurus.config.js')
-rw-r--r-- | docs/docusaurus.config.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index ffc4cd6..6eba9fc 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -8,7 +8,11 @@ module.exports = { favicon: "img/favicon.ico", organizationName: "zmkfirmware", // Usually your GitHub org/user name. projectName: "zmk", // Usually your repo name. - plugins: [path.resolve(__dirname, "src/docusaurus-tree-sitter-plugin")], + plugins: [ + path.resolve(__dirname, "src/docusaurus-tree-sitter-plugin"), + path.resolve(__dirname, "src/hardware-metadata-collection-plugin"), + path.resolve(__dirname, "src/hardware-schema-typescript-plugin") + ], themeConfig: { colorMode: { respectPrefersColorScheme: true, |