Skip to content

Commit

Permalink
docs: redirects from doc/html
Browse files Browse the repository at this point in the history
Documentation is in boost/doc/antora/url/index.html, but any user who visits the entry point of the a previous version in boost/libs/url/doc/html/index.html would get a 404.

fix #878
  • Loading branch information
alandefreitas committed Nov 11, 2024
1 parent b1772c1 commit 4f665c5
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 1 deletion.
1 change: 0 additions & 1 deletion doc/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
html
temp
out.txt
qbk/reference.qbk
Expand Down
22 changes: 22 additions & 0 deletions doc/html/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<html>
<head>
<title>Boost.URL</title>
<meta http-equiv="refresh" content="0; URL=../../doc/antora/url/index.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="../../../../doc/antora/url/index.html">../../doc/antora/url/index.html</a>
<hr>
<tt>
Boost.URL<br>
<br>
Copyright&nbsp;(C)&nbsp;2022&nbsp;Vinnie&nbsp;Falco<br>
Copyright&nbsp;(C)&nbsp;2022&nbsp;Alan&nbsp;de&nbsp;Freitas<br>
<br>
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
<a href=http://www.boost.org/LICENSE_1_0.txt>http://www.boost.org/LICENSE_1_0.txt</a>) <br>
<br>
</tt>
</body>
</html>
22 changes: 22 additions & 0 deletions doc/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<html>
<head>
<title>Boost.URL</title>
<meta http-equiv="refresh" content="0; URL=../../doc/antora/url/index.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="../../../doc/antora/url/index.html">../../doc/antora/url/index.html</a>
<hr>
<tt>
Boost.URL<br>
<br>
Copyright&nbsp;(C)&nbsp;2022&nbsp;Vinnie&nbsp;Falco<br>
Copyright&nbsp;(C)&nbsp;2022&nbsp;Alan&nbsp;de&nbsp;Freitas<br>
<br>
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
<a href=http://www.boost.org/LICENSE_1_0.txt>http://www.boost.org/LICENSE_1_0.txt</a>) <br>
<br>
</tt>
</body>
</html>

0 comments on commit 4f665c5

Please sign in to comment.