Skip to content

Releases: iagobalmeida/scalar_doc

v0.2.0

16 Nov 14:11

Choose a tag to compare

v0.2.0 Pre-release
Pre-release

ChangeLog

Major Changes
  • fix: prioritizing scalar_doc.toml over pyproject.toml in cli usage
    • scalar_doc.toml was being ignored when there was a pyproject.toml file.
  • [fix: contemplating [scalar_doc.theme] logo_url & [scalar_doc.theme] logo_url_dark in cli usage]
    (4ce3d0e)
    • There was no way of setting the logo_url using only configuration files.
  • fix: using self.theme.logo_url if ScalarHeader is not defined
    • There was no usage of the ScalarTheme.logo_url property
  • refactor: unifying ScalarDoc.to_html()
    • Previously, the lib used two different mechanisms to resolve the rendered HTML: one for spec="url" and another for spec="json". This inconsistency also affected how configuration arguments were passed to Scalar on the JavaScript layer, resulting in unexpected behavior.
    • Both spec types now share the same HTML-resolution path, ensuring that all required configuration arguments are applied consistently and correctly.
Features
Minor Changes
Docs