Repository navigation
docmd v0.1.2
✨ Features and Improvements
Added
- New assets management system:
- Added support for a root-level
assets/folder that gets automatically copied to the output directory - User assets now take precedence over docmd's built-in assets with the same name
docmd initnow creates anassets/directory with css, js, and images subdirectories
- Added support for a root-level
- New documentation:
- Added dedicated documentation for assets management
- Improved custom CSS and JS documentation
- Added cross-references between related documentation pages
Changed
- Build process improvements:
- Added
--preserveflag to keep existing asset files when needed - Improved the build process to only clean HTML files and sitemap.xml, preserving all other files
- Reduced console output verbosity in development mode
- Added
- Project initialization:
- Enhanced
initcommand to create assets directory structure - Improved handling of existing files during initialization
- Better console output during initialization
- Enhanced
- Development server:
- Added support for watching the root
assets/directory for changes - Improved console output to hide internal implementation details
- Added DOCMD_DEV environment variable for development mode
- Enhanced browser auto-refresh with WebSocket reconnection and polling fallback
- Improved browser compatibility for Safari and other browsers
- Added support for watching the root
🐞 Bug Fixes
- Fixed issue where all file creation was skipped if user chose not to override existing files
- Fixed issue where directories were listed in the warning about existing files
- Fixed issue where existing assets were wiped during build process
- Fixed GitHub Pages deployment compatibility issues with assets
- Fixed dev server not detecting changes in user assets directory
- Fixed browser auto-refresh not working reliably in Safari and other browsers
- Fixed excessive console output during development mode
❤️ Support the Project – Buy me a coffee ☕.
This is a beta release. While we've tested extensively, you may encounter unexpected issues. Please report them to help improve future releases.