Hexdoc

Latest version: v1!0.1.0a21

Safety actively analyzes 688578 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

10.1.0a21

Fixed

* Fix broken environment variable loading by adding a dependency exclusion for Pydantic Settings v2.6.0 (see [pydantic/pydantic-settings445](https://github.com/pydantic/pydantic-settings/issues/445)).

10.1.0a20

Added

* New Jinja template filter: `hexdoc_smart_var`
* Can be used to allow runtime variable lookups based on values in `props.template.args`. This is currently used by the [custom navbar links](https://hexdoc.hexxy.media/docs/guides/template/#navbar) feature.

Changed

* A GitHub link is now added to the navbar by default (fixes [26](https://github.com/hexdoc-dev/hexdoc/issues/26)). See the [docs](https://hexdoc.hexxy.media/docs/guides/template/#navbar) for more info.

Fixed

* Fix the root-level redirect not being generated in cases where there are no versioned books and no book exists for the default branch.
* Fix crash on startup by adding a dependency exclusion for Pydantic v2.9.0 (see [pydantic/pydantic10345](https://github.com/pydantic/pydantic/issues/10345)).

10.1.0a19

Added

* Allow adding custom links to the web book navbar ([docs](https://hexdoc.hexxy.media/docs/guides/template)).

10.1.0a18

Fixed

* Add missing handler for nested list styles (`$(li2)`, `$(li3)`, etc).
* Fix book links to other extension books on 1.19 and below (also fixes [75](https://github.com/hexdoc-dev/hexdoc/issues/75))

10.1.0a17

Fixed

* Localize the "please don't sue us Microsoft" page footer (previously was hardcoded).
* Disable showing local variables in Typer pretty exceptions, since it produces a really absurd amount of output. Set a non-empty value for the environment variable `HEXDOC_TYPER_EXCEPTION_LOCALS` to reenable it if you really want to.

Contributions

* Update `zh_cn` translations, by ChuijkYahus in [74](https://github.com/hexdoc-dev/hexdoc/pull/74).

10.1.0a16

Added

* The internal hexdoc CI now automatically generates and deploys JSON Schema definitions for several Patchouli file types. See the [documentation](https://hexdoc.hexxy.media/docs/guides/standalone/patchouli-schemas) for more details.

Changed

* The `hexdoc.toml` field `textures.missing` can now be set to `missing = "*"`, allowing all textures to be missing. No other string values are currently supported.
* The command `hexdoc merge` now creates an empty `.nojekyll` file in the site root to disable Jekyll on GitHub Pages (since it's not necessary for hexdoc). Fixes [68](https://github.com/hexdoc-dev/hexdoc/issues/68).
* Tentatively reenable Typer's [pretty exceptions](https://typer.tiangolo.com/tutorial/exceptions/). Please open an issue if you notice any weird behaviour.
* Change the JSON Schema output path from `/schema/hexdoc` to `/schema`.
* Several documentation improvements/fixes.

Fixed

* The command `hexdoc render-models` was accidentally configured to take a list of models as an option instead of an argument.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.