Changelog¶
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]¶
Added¶
show_privateoption to include non-exported (private) symbols in documentationshow_attributionoption with "Generated with mkdocstrings-nim" footer (enabled by default)source_urlandsource_refoptions for clickable source links to GitHub/GitLab- Auto-detection of
source_reffrom current git branch - Configuration validation with warnings for malformed
source_url exportedfield tracking for Nim symbols (detects*export marker)- Documentation for source links, private symbols, and all handler options
Changed¶
- Cache now invalidates when source files are modified (fixes live reload with
mkdocs serve) - Documented objects now appear in right-side TOC using mkdocstrings heading filter
- Handler options from
mkdocs.ymlare now properly applied
Fixed¶
- Live reload now works correctly when Nim source files change
- TOC integration: documented procs/types now appear in table of contents
- Config options cascade correctly: defaults < config < directive options
Testing¶
- Expanded test suite from 25 to 45 tests (87% coverage)
- Added tests for config validation, git branch detection, and error handling
- Added tests for collector edge cases (JSON extraction, module parsing)
- Added tests for docstring edge cases (empty, malformed, multi-paragraph)
[0.1.0] - 2025-11-30¶
Added¶
- Initial release
- Nim source file parsing using compiler AST
- Docstring style support: RST, Google, NumPy, Epydoc, and Auto detection
- Parameter and return value documentation
- Raises pragma extraction and display
- Material theme templates
- Markdown rendering in docstrings
- Compile-time caching of Nim extractor binary
- Module, proc, func, iterator, template, macro, type, and const support
- CI integration with GitHub Actions
- Comprehensive test suite (24 tests)