Skip to content

Commit bed9c3c

Browse files
committed
portal-api-reference: Drop the script and add a line of manual redirect
1 parent 23caf1c commit bed9c3c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/portal-api-reference.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,10 @@ Portal API Reference
66
.. raw:: html
77

88
<meta http-equiv="refresh" content="0; url=https://flatpak.github.io/xdg-desktop-portal/docs/" />
9-
<script>window.location.href = 'https://flatpak.github.io/xdg-desktop-portal/docs/'</script>
9+
<noscript>
10+
<p>If you are not redirected, please visit
11+
<a href="https://flatpak.github.io/xdg-desktop-portal/docs/">
12+
https://flatpak.github.io/xdg-desktop-portal/docs/
13+
</a>.
14+
</p>
15+
</noscript>

0 commit comments

Comments
 (0)