mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-19 23:28:34 +01:00
Add functionality to generate an index.html file after running the JSON Schema Test Suite integration tests, providing easy navigation of generated documentation. Features: - Use Tera template (test_index.html) for consistent styling - Display statistics: total schemas, test files, with/without content - Annotate each schema with content status (has properties/$defs or not) - Show JSON Schema features/keywords used in each test schema - Include build information: git commit hash, dirty status, timestamps - Group schemas by source test file for easy navigation
35 lines
685 B
TOML
35 lines
685 B
TOML
[package]
|
|
name = "schemars-docgen"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
description = "Generate HTML documentation from schemars::Schema objects"
|
|
license-file = "LICENSE.md"
|
|
|
|
[lib]
|
|
name = "schemars_docgen"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "schemars-docgen"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
schemars = "1"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
tera = "1"
|
|
pulldown-cmark = "0.13"
|
|
clap = { version = "4", features = ["derive"] }
|
|
thiserror = "2"
|
|
struct_iterable = "0.1"
|
|
|
|
[build-dependencies]
|
|
lightningcss = "1.0.0-alpha.68"
|
|
struct_iterable = "0.1"
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
[dev-dependencies]
|
|
regex = "1"
|
|
rayon = "1"
|
|
chrono = "0.4"
|