add antora_docs hook, update index.html

This commit is contained in:
Christian Mazakas 2025-01-14 10:55:50 -08:00
parent 1a034bfadd
commit 2ecd00030a
2 changed files with 11 additions and 2 deletions

9
doc/antora_docs.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
set -ex
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
cd "$SCRIPT_DIR"
npm ci
npx antora unordered-playbook.yml

View File

@ -7,10 +7,10 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
<html>
<head>
<meta http-equiv="refresh" content="0; URL=doc/html/unordered.html">
<meta http-equiv="refresh" content="0; URL=doc/html/index.html">
</head>
<body>
Automatic redirection failed, please go to
<a href="doc/html/unordered.html">doc/html/unordered.html</a>
<a href="doc/html/index.html">doc/html/index.html</a>
</body>
</html>