From b06fbd1c93f8c9160a921456073591e3ff39f8ec Mon Sep 17 00:00:00 2001 From: lkdvos Date: Wed, 14 Oct 2026 10:48:46 -0400 Subject: [PATCH] Pin the enhanced-readabilities plugin and bump DocumenterVitepress The 2.21 releases of @nolebase/vitepress-plugin-enhanced-readabilities require vitepress 2, which breaks npm install for every docs build. Pin it to the 2.18 line, as DocumenterVitepress 0.3.8 does, and bump to 0.3.8, which also lets citation hover previews be re-enabled. Co-Authored-By: Claude Opus 5.5 --- docs/Project.toml | 2 +- docs/make.jl | 4 +--- docs/package.json | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/Project.toml b/docs/Project.toml index b23a99f72..663381da8 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -22,5 +22,5 @@ MPSKit = {path = ".."} Documenter = "1.11" DocumenterCitations = "1.5" DocumenterInterLinks = "1" -DocumenterVitepress = "0.3.7" +DocumenterVitepress = "0.3.8" TensorKitTensors = "0.3.1" diff --git a/docs/make.jl b/docs/make.jl index f1220b3c7..91e1dca52 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -52,9 +52,7 @@ end # bibliography bibpath = joinpath(@__DIR__, "src", "assets", "mpskit.bib") -# TODO: Re-enable hover previews once the upstream fix is released: -# https://github.com/LuxDL/DocumenterVitepress.jl/pull/399 -bib = CitationBibliography(bibpath; style = :authoryear, show_hover = false) +bib = CitationBibliography(bibpath; style = :authoryear) # interlinks links = InterLinks( diff --git a/docs/package.json b/docs/package.json index 046391917..cf624c227 100644 --- a/docs/package.json +++ b/docs/package.json @@ -9,7 +9,7 @@ "docs:preview": "vitepress preview build/.documenter" }, "dependencies": { - "@nolebase/vitepress-plugin-enhanced-readabilities": "^2.18.2", + "@nolebase/vitepress-plugin-enhanced-readabilities": "~2.18.2", "@mdit/plugin-mathjax": "^0.26.1", "@mdit/plugin-tex": "^0.24.1", "markdown-it-footnote": "^4.0.0",