mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-12-05 22:46:32 +01:00
docs(schema): publish versioned schema docs to lgug2z.com
This commit is contained in:
1 parent
1cb3327395
commit
1e71cb7d92
9 files changed
+2282
-5
No files matched your search
@@ -51,6 +51,19 @@ docgen:
|
||||
jsonschema:
|
||||
cargo run --package komorebic -- static-config-schema > schema.json
|
||||
cargo run --package komorebic -- application-specific-configuration-schema > schema.asc.json
|
||||
cargo run --package komorebi-bar -- --schema > schema.bar.json
|
||||
|
||||
version := `cargo metadata --format-version 1 --no-deps | jq -r '.packages[] | select(.name == "komorebi") | .version'`
|
||||
|
||||
schemagen:
|
||||
mkdir -p komorebi-schema
|
||||
schemars-docgen schema.json -o komorebi-schema/komorebi.html
|
||||
schemars-docgen schema.bar.json -o komorebi-schema/bar.html
|
||||
cp schema.json komorebi-schema/komorebi.{{ version }}.schema.json
|
||||
cp schema.bar.json komorebi-schema/komorebi.bar.{{ version }}.schema.json
|
||||
|
||||
schemapub:
|
||||
wrangler pages deploy --project-name komorebi-for-mac --branch main ./komorebi-schema
|
||||
|
||||
depgen:
|
||||
cargo deny check
|
||||
|
||||
Reference in new issue
Block a user