Skip to content

Releases: andamira/docima

v.0.5.0

18 Aug 18:03
Compare
Choose a tag to compare
  • change the default of overwrite to true.
  • add new features:
    • not_default_overwrite changes the default for overwrite to false.
    • build_when_doc will only build the images when the doc feature is used.
    • doc to indicate when the docs are being built, use with build_when_doc.
  • ignore all doc tests directly from the cargo manifest.

v0.4.1

17 Aug 10:26
Compare
Choose a tag to compare
  • remove the example sub-crate.
    • move its build.rs to docima itself.
    • also move its [build-dependencies] section from the Cargo.toml.
  • remove project_root dependency & include the functionality.
  • add utils modules.
  • update readme & docs.

v0.4.0

16 Aug 10:36
Compare
Choose a tag to compare
  • replace image crate with png crate.
  • replace DocimaError::ImageError variant with DocimaError::PngEncodingError.
  • remove deprecated generate_image function.

v0.3.0

16 Aug 10:08
Compare
Choose a tag to compare
  • new Image builder struct for image generation.
  • deprecate generate_image function and hide in the documentation.
  • new DocimaError::MissingField variant.
  • update the example adding style attributes and an anchor tag.

v0.2.0

14 Aug 15:25
Compare
Choose a tag to compare

add a new parameter overwrite to the generate_image function to avoid generating the image when the output file already exists.

v0.1.1

14 Aug 14:33
Compare
Choose a tag to compare
fix function name; improve docs