Skip to content

Commit 0afd2a4

Browse files
committed
Fix the redirects from the old documentation locations
1 parent 354c63c commit 0afd2a4

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

doc/build_docs.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,4 @@ echo "Building docs in custom dir..."
2828
PATH="$(pwd)/node_modules/.bin:${PATH}"
2929
export PATH
3030
npx antora --clean --fetch "$PLAYBOOK" --stacktrace --log-level all
31-
cp -f html/index.html html/dynamic_bitset.html # redirects from pre-Antora docs location
3231
echo "Done"

doc/dynamic_bitset.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta http-equiv="refresh" content="0; url=html/index.html" />
5+
<script>location="html/index.html"</script>
6+
<title>Automatic redirection</title>
7+
</head>
8+
<body>
9+
<p>Automatic redirection failed. Please click <a href="html/index.html">here</a>.</p>
10+
<p>© Copyright 2025 Gennaro Prota.</p>
11+
<p>Distributed under the Boost Software License, Version 1.0. (See accompanying
12+
file <a href="../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or copy
13+
at <a href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</p>
14+
</body>
15+
</html>

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
22
<html>
33
<head>
4-
<meta http-equiv=refresh content="0; URL=dynamic_bitset.html">
4+
<meta http-equiv=refresh content="0; URL=doc/html/index.html">
55
<title>Automatic redirection</title>
66
</head>
77
<body>
88
Automatic redirection failed, please go to
9-
<a href="dynamic_bitset.html">dynamic_bitset.html</a>.&nbsp;<hr>
9+
<a href="dynamic_bitset.html">doc/html/index.html</a>.&nbsp;<hr>
1010
<p>© Copyright Beman Dawes, 2001</p>
1111
<p>Distributed under the Boost Software License, Version 1.0. (See accompanying
1212
file <a href="../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or copy

0 commit comments

Comments
 (0)