Skip to content

v0.2.0

Latest

Choose a tag to compare

@Thunderbottom Thunderbottom released this 16 Mar 09:11
2caa4b5

What's New in nix-options-doc v0.2.0

Full Changelog

New Features

  • Added support for admonition blocks in documentation with GitHub-compatible rendering
  • Added --replace KEY=VALUE CLI argument for variable substitution in option names and descriptions
  • Added --strip-prefix option to remove common prefix from option names
  • Added --out-prefix option to customize file paths in generated documentation
  • Added --progress flag to show a progress bar during processing
  • Added --follow-symlinks option for traversing symbolic links during directory scanning
  • Enhanced filtering capabilities:
    • --filter-by-prefix to filter options by name prefix
    • --filter-by-type to filter options by type
    • --search to find options using regex pattern matching
    • --has-default to only show options with default values
    • --has-description to only show options with descriptions
  • Improved HTML output with better styling and alert support
  • Added parallel file processing using Rayon

Bug Fixes

  • Fixed handling of options with duplicate names
  • Improved parsing of literalExpression wrappers
  • Fixed line number calculation in source files
  • Added proper escaping of special characters in markdown and HTML output
  • Enhanced CSV generation with better error handling

Refactoring

  • Enhanced custom dedent function to preserve line formatting and indentation
  • Improved error handling with thiserror
  • Added unit tests for core functionality

CI/Infrastructure

  • cargo build --release: Added configuration for LTO and optimization levels