Fix the redirects from the old documentation locations

This commit is contained in:
Gennaro Prota
2025-10-30 10:39:22 +01:00
committed by Gennaro Prota
parent f12c918881
commit e19c647bc7
5 changed files with 18 additions and 5 deletions

View File

@@ -28,5 +28,4 @@ echo "Building docs in custom dir..."
PATH="$(pwd)/node_modules/.bin:${PATH}" PATH="$(pwd)/node_modules/.bin:${PATH}"
export PATH export PATH
npx antora --clean --fetch "$PLAYBOOK" --stacktrace --log-level all npx antora --clean --fetch "$PLAYBOOK" --stacktrace --log-level all
cp -f html/index.html html/dynamic_bitset.html # redirects from pre-Antora docs location
echo "Done" echo "Done"

View File

@@ -13,7 +13,6 @@
site: site:
title: Boost.DynamicBitset title: Boost.DynamicBitset
url: https://antora.cppalliance.org/develop/lib/doc
start_page: dynamic_bitset::index.adoc start_page: dynamic_bitset::index.adoc
robots: allow robots: allow
keys: keys:

16
dynamic_bitset.html Normal file
View File

@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=doc/html/index.html">
<script>location="doc/html/index.html"</script>
<title>Automatic redirection</title>
</head>
<body>
<p>Automatic redirection failed. Please click <a href="doc/html/index.html">here</a>.</p>
<p>© Copyright 2025 Gennaro Prota.</p>
<p>Distributed under the Boost Software License, Version 1.0. (See accompanying
file <a href="../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or copy
at <a href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</p>
</body>
</html>

View File

@@ -1,12 +1,12 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <html>
<head> <head>
<meta http-equiv=refresh content="0; URL=dynamic_bitset.html"> <meta http-equiv=refresh content="0; URL=doc/html/index.html">
<title>Automatic redirection</title> <title>Automatic redirection</title>
</head> </head>
<body> <body>
Automatic redirection failed, please go to Automatic redirection failed, please go to
<a href="dynamic_bitset.html">dynamic_bitset.html</a>.&nbsp;<hr> <a href="dynamic_bitset.html">doc/html/index.html</a>.&nbsp;<hr>
<p>© Copyright Beman Dawes, 2001</p> <p>© Copyright Beman Dawes, 2001</p>
<p>Distributed under the Boost Software License, Version 1.0. (See accompanying <p>Distributed under the Boost Software License, Version 1.0. (See accompanying
file <a href="../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or copy file <a href="../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or copy

View File

@@ -6,7 +6,6 @@
"Chuck Allison" "Chuck Allison"
], ],
"description": "The dynamic_bitset template represents a set of bits. It provides access to the value of individual bits via operator[] and provides all of the bitwise operators that one can apply to builtin integers, such as operator& and operator<<. The number of bits in the set can change at runtime.", "description": "The dynamic_bitset template represents a set of bits. It provides access to the value of individual bits via operator[] and provides all of the bitwise operators that one can apply to builtin integers, such as operator& and operator<<. The number of bits in the set can change at runtime.",
"documentation": "dynamic_bitset.html",
"category": [ "category": [
"Data structures" "Data structures"
], ],