xref out of mrdocs

This commit is contained in:
Jean-Louis Leroy
2025-09-16 19:58:35 -04:00
parent f36ac792cf
commit 1cf37e79b5
2 changed files with 13 additions and 1 deletions

View File

@@ -7,7 +7,7 @@
# Official repository: https://github.com/boostorg/openmethod
#
set -xe
set -e
if [ $# -eq 0 ]
then
@@ -25,4 +25,11 @@ echo "Building docs in custom dir..."
PATH="$(pwd)/node_modules/.bin:${PATH}"
export PATH
npx antora --clean --fetch "$PLAYBOOK" --stacktrace --log-level all
echo "Fixing links to non-mrdocs URIs..."
for f in $(find build/site -name '*.html'); do
perl -i -pe 's{&lsqb;(.*?)&rsqb;\(([^)]+)\)}{<a href="../../$2">$1</a>}g' "$f"
done
echo "Done"

View File

@@ -21,6 +21,11 @@ struct release_registry
policies::vptr_vector, policies::default_error_handler,
policies::stderr_output> {};
//! Registry with runtime checks and trace enabled
//!
//! This is the default value of
//! [BOOST_OPENMETHOD_DEFAULT_REGISTRY](../BOOST_OPENMETHOD_DEFAULT_REGISTRY.html) when NDEBUG
//! is not defined.
struct debug_registry
: release_registry::with<policies::runtime_checks, policies::trace> {};