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.
This commit is contained in:
Peter Johanson
2021-03-29 00:59:15 +00:00
committed by Pete Johanson
parent b52835ffbf
commit 5e6634d2e5
9 changed files with 14827 additions and 6594 deletions

View File

@@ -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,