Skip to content

v4.23.0

Choose a tag to compare

@rodrigoslayertech rodrigoslayertech released this 03 Aug 15:59
· 4 commits to main since this release
v4.23.0
fe5b841

Focus: the footer learns to say who owns the docs — and which build is actually live.

Changes

  • ©️ Added footer.copyright — an opt-in copyright notice rendered on its own line directly below the "Powered by Docsector" credit. A plain string or a per-locale map (same fallback order as legal-link labels: active locale → *en-US → first value). The text renders exactly as written — no implicit © symbol, no year substitution — so what you configure is what readers see. Omit it and the line does not exist.
  • 🏷️ Added a version tooltip on the footer's Docsector button: hovering it reveals the engine version that built the site plus the deploy build ID (Docsector Reader v4.23.0 — build a1b2c3d). The build ID is the deploy's commit SHA on Cloudflare Pages (shown git-style short); local builds show the build timestamp. Zero configuration — it makes "which build is actually live?" a hover instead of a devtools session.
  • 🧩 The engine version ships as a new compile-time constant (__DOCSECTOR_VERSION__), read from the installed package at build time next to the existing build-ID constant, so the tooltip always reflects the package that actually produced the deploy.
  • 📚 Updated the Footer manual page in both locales (copyright recipe, localized example, version-tooltip notes) and the README feature list.
  • ✅ Validated with 346 passing tests and a real-browser check: copyright line renders below the credit in the correct DOM order, localized values resolve, and the tooltip shows version + build on hover.