Timothée Mazzucotelli 18b9fe78bb fix: cache autorefs data for cross-ref resolution across rebuilds (#805)
On a first build without cache, pages are built and cross-references resolved thanks to the autorefs data retrieved from the Python interpreter.

On a second build, if a page changed, the cache is not reused, so the page is rebuilt and cross-references within it must be resolved again, but if the target symbols were rendered in other, already cached pages, the Python interpreter doesn't hold the necessary data to resolve these cross-references.

We fix this by caching autorefs data. We still need to update the data retrieved from the cache with the data retrieved from the Python interpreter, to give precedence to autorefs data for pages that were rebuilt. This solution still has the issue that stale data is never removed from the cache (for example, symbols that were completely deleted from the sources and API docs).

Signed-off-by: Timothée Mazzucotelli <dev@pawamoy.fr>
2026-07-09 14:01:38 +02:00
2025-11-01 13:46:51 +01:00
2026-07-08 21:23:09 +02:00
2026-05-04 14:40:04 +00:00
2026-07-08 21:37:45 +02:00
2026-04-13 13:46:51 +02:00
2026-04-13 13:46:51 +02:00
2026-05-24 16:40:09 +00:00
2026-04-13 13:46:51 +02:00
2026-04-24 17:14:04 +00:00

Zensical

A modern static site generator built by the creators of Material for MkDocs

Build Downloads Python Package Index Discord Docker Pulls

Home · Get started · Compatibility · Roadmap · Newsletter · Zensical Spark

Write your documentation in Markdown and create a professional static site for your Open Source or commercial project in minutes searchable, customizable, more than 60 languages, for all devices.

Zensical

Visit our documentation at zensical.org/docs/.

Zensical Spark

Zensical Spark is our offering for professionals and organizations using Zensical commercially. It lets us provide best-in-class support, keep the project sustainable, and Zensical free for everyone.

Zensical Spark may be a great fit if you:

  • Need help migrating a complex MkDocs project to Zensical
  • Want to ensure Zensical meets all your requirements see how we work
  • Want direct support from the core team, including 1:1 sessions

For the full list of benefits, see our subscription tiers.

S
Description
No description provided
Readme
3.6 MiB
Languages
Rust 71.3%
Python 28.3%
Dockerfile 0.4%