docudart 0.1.0
docudart: ^0.1.0 copied to clipboard
A static documentation generator for Dart, powered by Jaspr.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
Unreleased #
0.1.0 — 2026-03-11 #
Added #
- Theme system redesign with 3 presets (
classic,material3,shadcn), seed colors, and full customization - Preset-specific color schemes and CSS variations
Colorobjects accepted asseedColorin Theme constructors- Build-time syntax highlighting with Opal (replaced highlight.js)
- dart.dev code theme colors for
classicpreset - Mobile sidebar drawer with toggle button
docsBuilderconfig field for custom doc page layouts- Table of contents for the changelog page
- Horizontal scrolling for mobile nav links
- Theme-aware asset system with light/dark logo variants
- LICENSE file parsing to extract copyright holder for footer
- Layout primitives (
Padding,Container,Center,Wrap) with per-component theme classes - Documentation site at docudart.dev with GitHub Pages deployment
- Improved responsive layout for header and footer
- Configurable project folder name (
docudart create [name], default:docudart/) - Remix Icon family (~3,228 icons) — 7 icon families total (~52k icons)
- Skip-to-content accessibility link in generated sites
aria-expandedattribute on sidebar ExpansionTile for screen readers- Dynamic ARIA labels on theme toggle (reflects current mode)
- Unicode support in heading anchor IDs (internationalization)
Changed #
- Wrapper
<div>elements eliminated in layout primitives via.apply()style merging Changelogmodel introduced for structured changelog data- Footer layout spacing improved
- Generated templates simplified to read from
contextinstead of constructor params seedColortype narrowed fromObjecttoColor- Modern Dart 3 idioms applied across codebase
- Mobile menu button replaced with composable components
- IconButton gains padding customization
- Audit findings resolved across codebase
- Reduced public API surface — internal utilities no longer exported from
docudart.dart - Replaced bare
print()withCliPrinteracross generators and processing code - Renamed
CustomThemetoLoadedThemefor clarity - Moved
DocPage/DocFoldermodels fromprocessing/tomodels/ - Silent catch blocks now log warnings via
CliPrinter
Fixed #
- Code theme colors corrected for accurate syntax highlighting
- Icon button size and padding adjusted for visual consistency
- Max-width constraints removed from header and footer
- Code block indentation normalized with improved spacing
- CSS
filloverride no longer breaks stroke-based icons (Lucide, Tabler) - Distinct light/dark default logos with user assets preserved on regenerate
- Content max width increased to 1200px
- Unnecessary padding reset removed when sidebar is absent
- XSS and path traversal vulnerabilities patched
_escapeForDart()now handles\rand\tcharacters- CRLF line endings in frontmatter parser (Windows compatibility)
dart formatexit code was silently ignored in project generator
0.0.1 — 2026-02-05 #
Added #
- CLI commands:
create,build,serve,version,update - Markdown documentation with YAML frontmatter
- Collapsible sidebar with
_expandedsuffix convention - Light/dark theme with system preference detection
- Icon system with 6 families (~49k icons)
- Live reload during
docudart serve - Type-safe asset paths (
Assets.logo.logo_webp) - Auto-discovered custom pages
ProjectProvider+context.projectfor accessing pubspec data- Component library: Layout, Row, Column, Link, Logo, Copyright, etc.
configure()pattern withBuildContextfor type-safe config