Self-documenting docs site built with sukr itself (dogfooding): Core changes: - Rename package from nrd-sh to sukr - Move personal site to sites/nrd.sh/ - Update AGENTS.md and README.md Documentation site (docs/): - Add site.toml with sukr.io base URL - Create docs-specific templates with sidebar navigation - Add dark theme CSS with syntax highlighting colors - Document all features: templates, sections, syntax highlighting, mermaid diagrams, and LaTeX math rendering Bug fixes: - Render individual pages for all sections (not just blog type) - Add #[source] error chaining for Tera template errors - Print full error chain in main() for better debugging
29 lines
593 B
TOML
29 lines
593 B
TOML
[formatter.nixfmt]
|
|
command = "nixfmt"
|
|
excludes = ["build/Cargo.nix"]
|
|
includes = ["*.nix"]
|
|
options = []
|
|
|
|
[formatter.shfmt]
|
|
command = "shfmt"
|
|
excludes = []
|
|
includes = ["*.sh", ".envrc"]
|
|
options = []
|
|
|
|
[formatter.taplo]
|
|
command = "taplo"
|
|
excludes = []
|
|
includes = ["*.toml", ".cargo/config.toml"]
|
|
options = ["fmt", "-o", "align_entries=true", "-o", "reorder_keys=true"]
|
|
|
|
[formatter.prettier]
|
|
command = "prettier"
|
|
excludes = ["*/sources.json"]
|
|
includes = ["*.json", "*.md", "*.yaml", "*.yml"]
|
|
options = ["--write"]
|
|
|
|
[formatter.rustfmt]
|
|
command = "rustfmt"
|
|
excludes = []
|
|
includes = ["*.rs"]
|