Commit Graph
342 Commits
Author SHA1 Message Date
Martin Donath 85fdd54817 Merge pull request #561 from zensical/chore/update-ui
Chore/update UI
2026-04-21 10:52:28 +02:00
squidfunk 2461bd6931 fix: update ui to v0.0.14
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2026-04-21 10:51:01 +02:00
squidfunk e69b87b22a chore: add updated uv.lock
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2026-04-21 10:50:05 +02:00
Martin Donath eacb402ead chore: calling Markdown::render can lead to race condition in Python
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2026-04-18 17:18:47 +02:00
Martin Donath 8f5f584b9a feature: update configuration parser to TOML v1.1.0
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2026-04-18 17:17:59 +02:00
Martin Donath 50aa8a5eb8 refactor: update to zrx to v0.0.21
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2026-04-18 12:21:23 +02:00
Florian Scheuner 670834fb04 fix: inhibit instant previews on footnote backrefs
Signed-off-by: Florian Scheuner <github@florian-scheuner.de>
2026-04-18 11:43:52 +02:00
Timothée Mazzucotelli adad1faeb2 fix: detect snippets block syntax (#526)
Signed-off-by: Timothée Mazzucotelli <dev@pawamoy.fr>
2026-04-16 19:46:20 +02:00
Martin Donath f5df5e805b chore: update GitHub Actions workflows
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2026-04-16 18:13:03 +02:00
squidfunk c6e63b2b88 chore: fix clippy warning
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2026-04-16 18:10:07 +02:00
squidfunk d175d98a42 chore: update GitHub Actions workflows
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2026-04-16 18:06:31 +02:00
Timothée Mazzucotelli 111e1ebf95 fix: use a regex to detect snippets (#526)
Signed-off-by: Timothée Mazzucotelli <dev@pawamoy.fr>
2026-04-15 19:41:39 +00:00
Martin Donath 7251f08f39 chore: update dependencies to latest
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2026-04-15 12:23:46 +02:00
Timothée Mazzucotelli d24ba8ac37 fix: always rebuild pages containing snippets (#526)
Signed-off-by: Timothée Mazzucotelli <dev@pawamoy.fr>
2026-04-15 10:06:09 +00:00
Timothée Mazzucotelli 7076f8d4b3 fix: update README.html links to index.html links when directory URLs aren't set (#531)
Signed-off-by: Timothée Mazzucotelli <dev@pawamoy.fr>
2026-04-15 09:55:35 +00:00
Timothée Mazzucotelli 3593ecc44d chore: remove unused import
Signed-off-by: Timothée Mazzucotelli <dev@pawamoy.fr>
2026-04-15 09:49:15 +00:00
Martin Donath 4b9ed877e3 fix: don't consider non-root index.md a homepage, like MkDocs (#476)
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2026-04-15 11:33:23 +02:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 25f9ad6b30 fix: bump rand to 0.9.4 to mitigate CVE
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-14 13:11:38 +02:00
Martin Donath 5af6512054 chore: release v0.0.33
## Summary

This version updates our official [Docker image] to be based on Alpine Linux for better compatibility and ease of use. It also adds all recommended Markdown Extensions to the generated `zensical.toml` file when bootstrapping a project with `zensical new`, ensuring a smoother setup experience. Additionally, the [user interface] is updated to [v0.0.13], which includes two bug fixes for anchor links in the table of contents.

[Docker image]: https://hub.docker.com/r/zensical/zensical
[user interface]: https://github.com/zensical/ui
[v0.0.13]: https://github.com/zensical/ui/releases/tag/v0.0.13

Signed-off-by: squidfunk <martin.donath@squidfunk.com>
v0.0.33
2026-04-14 13:00:12 +02:00
Martin Donath bb8a7e5372 fix: update ui to v0.0.13
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2026-04-14 12:52:51 +02:00
Alexander Voss bb58c5d5e2 fix: out of date help message (#524)
Signed-off-by: alexvoss <alex@corealization.com>
2026-04-13 18:32:20 -04:00
my1e5 20d94ade33 refactor: update GitHub workflows to Node 24 (#522)
Signed-off-by: my1e5 <10064103+my1e5@users.noreply.github.com>
2026-04-13 16:45:18 +02:00
Martin Donath a694f4b026 chore: update pull_request_template.md
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2026-04-13 14:09:10 +02:00
Martin Donath 015919156f chore: add pull_request_template.md
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2026-04-13 14:00:33 +02:00
Martin Donath 492456b739 chore: add community guides
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2026-04-13 13:46:51 +02:00
Niklas Wagner 4eb05a2672 feature!: switch base image to Alpine Linux for ease of use (#510)
Signed-off-by: Niklas Wagner <Skaro@Skaronator.com>
2026-04-09 18:23:32 +02:00
Martin Donath 9bff25ac68 fix: add missing configuration for default Markdown Extensions
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2026-04-09 13:35:35 +02:00
Martin Donath 6871d33339 feature: add default Markdown Extensions to bootstrapped zensical.toml
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2026-04-08 14:48:45 +02:00
Martin Donath ce00f3863b chore: release v0.0.32
## Summary

This version fixes a bug where Markdown files used as snippets were included into auto-generated navigation, and a bug with prefix stripping when the site URL contains a path component. Additionally, the Pygments dependency was updated to mitigate a vulnerability.

Signed-off-by: squidfunk <martin.donath@squidfunk.com>
v0.0.32
2026-04-07 13:33:21 +02:00
Timothée Mazzucotelli ca5d2d5c23 fix: strip base URL prefix as URL segment, not string (#499)
Signed-off-by: Timothée Mazzucotelli <dev@pawamoy.fr>
2026-04-07 10:55:28 +00:00
Martin Donath 3a2358a7db fix: update to latest Pygments to mitigate vulnerability (#485)
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2026-04-03 18:42:24 +02:00
Timothée Mazzucotelli 92b5622532 fix: only collect markdown pages in docs directory (#490)
Signed-off-by: Timothée Mazzucotelli <dev@pawamoy.fr>
2026-04-03 12:40:20 +00:00
Martin Donath 62ca63b6f7 chore: release v0.0.31
## Summary

This version updates the [user interface] to [v0.0.12], which includes the [removal of 19 brand icons] due to the update of Lucide to v1, and the addition of 166 new icons, most of them in SimpleIcons and FontAwesome. Additionally, there are bug fixes related to the latest changes of the table of contents in the modern theme and instant navigation on anchor links.

[user interface]: https://github.com/zensical/ui
[v0.0.12]: https://github.com/zensical/ui/releases/tag/v0.0.12
[removal of 19 brand icons]: https://lucide.dev/guide/version-1

Signed-off-by: squidfunk <martin.donath@squidfunk.com>
v0.0.31
2026-04-01 13:21:43 +02:00
Martin Donath 198c1d658f fix: update ui to v0.0.12
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2026-04-01 13:14:21 +02:00
Timothée Mazzucotelli 24be9abba9 fix: support pymdownx blocks tab extension's slugify function (#483)
Signed-off-by: Timothée Mazzucotelli <dev@pawamoy.fr>
2026-03-31 18:10:24 +00:00
Martin Donath 76d87b9036 chore: release v0.0.30
## Summary

This version adds support for [mike], a tool for managing multiple versions of MkDocs projects on GitHub Pages. We created [a tailored fork of mike] for Zensical – all mike commands should work as expected. See the [mike documentation] for usage instructions.

Note that this is a temporary solution. Zensical will ship [native support for versioning] in the near future, which will remove the GitHub Pages constraint and offer more flexibility in how versions are deployed and served.

The [user interface] is updated to [v0.0.11], which adds a floating table of contents for mobile to the modern theme. The toggle sits at the bottom of the screen for easy thumb access, and the sidebar scrolls to accommodate arbitrarily long tables of contents. This release also includes several improvements: snappier sidebar animations, better tooltip readability, and improved inline code block sizing.

[mike]: https://github.com/jimporter/mike
[a tailored fork of mike]: https://github.com/squidfunk/mike
[native support for versioning]: https://zensical.org/about/roadmap/#versioning
[mike documentation]: https://github.com/jimporter/mike#readme
[user interface]: https://github.com/zensical/ui
[v0.0.11]: https://github.com/zensical/ui/releases/tag/v0.0.11

Signed-off-by: squidfunk <martin.donath@squidfunk.com>
v0.0.30
2026-03-28 18:49:44 +01:00
Martin Donath 97cdbc864b fix: update ui to v0.0.11
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2026-03-28 18:29:55 +01:00
Martin Donath 77a08d987f feature: add support for mike
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2026-03-28 12:35:07 +01:00
Timothée Mazzucotelli 25e8c5390b fix: validate docs-directory and custom-theme-directory (#475)
Signed-off-by: Timothée Mazzucotelli <dev@pawamoy.fr>
2026-03-27 16:06:53 +01:00
Martin Donath b8f21fb1e7 chore: release v0.0.29
## Summary

This version fixes an issue with absolute paths in links, as well as changed files not being picked up by Zensical on Windows 11.

Signed-off-by: squidfunk <martin.donath@squidfunk.com>
v0.0.29
2026-03-24 14:29:43 +01:00
Timothée Mazzucotelli c1860cab1e fix: leave absolute links untouched (#466)
We match MkDocs' behavior by leaving absolute links untouched (no scheme, no netloc but starting with /). We do not prepend the configured site URL to these links, as users might rely on this behavior.

Signed-off-by: Timothée Mazzucotelli <dev@pawamoy.fr>
2026-03-24 12:42:24 +01:00
Timothée Mazzucotelli 6775b75545 fix: canonicalize watched paths (#451)
Signed-off-by: Timothée Mazzucotelli <dev@pawamoy.fr>
2026-03-23 22:14:40 +01:00
Martin Donath 990a020eb4 chore: release v0.0.28
## Summary

This version updates the [user interface] to [v0.0.10], which fixes a couple of bugs related to search and code annotation rendering. Additionally, it adds support for version selectors in the modern theme, paving the way for adding support for [mike] to manage multiple versions of documentation on GitHub Pages.

In addition, this release adds new configuration options for the file watcher to improve compatibility in certain environments.

### File watcher

You can now opt into using a **polling-based file watcher**, which is particularly useful when running Docker on Windows, where filesystem event limitations (e.g., inotify constraints) can cause issues.

To enable the polling watcher:

``` bash
export ZENSICAL_POLL_WATCHER=1
```

The polling interval is configurable and defaults to `500` milliseconds (aligned with MkDocs behavior):

``` bash
export ZENSICAL_POLL_INTERVAL=500
```

[user interface]: https://github.com/zensical/ui
[v0.0.10]: https://github.com/zensical/ui/releases/tag/v0.0.10
[mike]: https://github.com/jimporter/mike

Signed-off-by: squidfunk <martin.donath@squidfunk.com>
v0.0.28
2026-03-19 15:19:58 +01:00
Alexander Voss 5196cdbf54 fix: invalid setup of MathJax in bootstrapped zensical.toml
Signed-off-by: alexvoss <alex@corealization.com>
2026-03-19 15:14:37 +01:00
Martin Donath b710744a38 fix: update ui to v0.0.10
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2026-03-19 15:10:09 +01:00
Martin Donath e0629b9376 chore: update actions in workflows
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2026-03-19 15:00:49 +01:00
Martin Donath f0144250c0 fix: auto-reload not working for Docker on Windows (#340) (#446)
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2026-03-15 13:50:50 +01:00
Martin Donath a4354cac35 chore: update action to attest build provenance
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2026-03-13 18:56:43 +01:00
Martin Donath 83cd642724 chore: release v0.0.27
## Summary

This version fixes a reload loop for when auto-appended snippets are located inside of the `docs` directory, and auto-reload for pages with Chinese path segments.

Signed-off-by: squidfunk <martin.donath@squidfunk.com>
v0.0.27
2026-03-13 18:48:02 +01:00
Martin Donath 062a972cc3 fix: printed URLs of built pages shouldn't be percent-encoded
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
2026-03-13 18:42:47 +01:00