diff --git a/docs/Project.toml b/docs/Project.toml index dc5e8d2bc..87a66b634 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -20,5 +20,6 @@ MPSKit = {path = ".."} [compat] Documenter = "1.11" +DocumenterCitations = "1.5" DocumenterInterLinks = "1" -DocumenterVitepress = "0.3" +DocumenterVitepress = "0.3.7" diff --git a/docs/make.jl b/docs/make.jl index 2549e0060..59ded9221 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -37,7 +37,9 @@ end # bibliography bibpath = joinpath(@__DIR__, "src", "assets", "mpskit.bib") -bib = CitationBibliography(bibpath; style = :authoryear) +# 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) # interlinks links = InterLinks( diff --git a/docs/src/.vitepress/theme/index.ts b/docs/src/.vitepress/theme/index.ts index b300a6900..ada1bbeae 100644 --- a/docs/src/.vitepress/theme/index.ts +++ b/docs/src/.vitepress/theme/index.ts @@ -41,4 +41,4 @@ export const Theme: ThemeConfig = { app.component('Authors', Authors) } } -export default Theme \ No newline at end of file +export default Theme