Skip to content

Commit a7f511c

Browse files
committed
give js 1 second to perform the refresh before fallback
1 parent e9ba132 commit a7f511c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/writer.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ function render(doc::Documenter.Document, settings::MarkdownVitepress=MarkdownVi
235235
window.location.replace(u.origin + u.pathname.slice(0,-1) + u.search + u.hash);
236236
</script>
237237
<a href="..$name">Redirecting to ..$name</a>
238-
<meta http-equiv="refresh" content="0; URL=../$name">
238+
<meta http-equiv="refresh" content="1; URL=../$name">
239239
<link rel="canonical" href="../$name">""")
240240
# This uses a relative canonical link which is bad form, but
241241
# oh well. We don't have access to the full URL until deploy

0 commit comments

Comments
 (0)