From 1803a10b2d36d8bd23ef2678482b8ffc8365b1b7 Mon Sep 17 00:00:00 2001 From: Jean-Louis Leroy Date: Sat, 28 Feb 2026 09:22:33 -0500 Subject: [PATCH 1/2] Revert "make doc page the user home page" This reverts commit b4a8b0fa60d8114bd9cacefdd9759ea70be72a88. --- doc/build_antora.sh | 5 +---- doc/modules/ROOT/nav.adoc | 2 +- doc/modules/ROOT/pages/{index.adoc => motivation.adoc} | 0 3 files changed, 2 insertions(+), 5 deletions(-) rename doc/modules/ROOT/pages/{index.adoc => motivation.adoc} (100%) diff --git a/doc/build_antora.sh b/doc/build_antora.sh index 87cf0fe9..4c17b631 100755 --- a/doc/build_antora.sh +++ b/doc/build_antora.sh @@ -39,14 +39,11 @@ if [ -z "${BOOST_SRC_DIR:-}" ]; then fi fi -BRANCH=master - if [ -n "${BOOST_SRC_DIR:-}" ]; then if [ -n "${CIRCLE_REPOSITORY_URL:-}" ]; then if [[ "$CIRCLE_REPOSITORY_URL" =~ boostorg/boost(\.git)?$ ]]; then LIB="$(basename "$(dirname "$SCRIPT_DIR")")" REPOSITORY="boostorg/${LIB}" - BRANCH=$(git -C "$BOOST_SRC_DIR" rev-parse --abbrev-ref HEAD) else ACCOUNT="${CIRCLE_REPOSITORY_URL#*:}" ACCOUNT="${ACCOUNT%%/*}" @@ -84,7 +81,7 @@ echo "Fixing links to non-mrdocs URIs..." for f in $(find html -name '*.html'); do perl -i -pe 's{{{(.*?)}}}{$1}g' "$f" - perl -i -pe 's{href="index.html"}{href="https://www.boost.org/library/${BRANCH}/openmethod/"}g' "$f" + perl -i -pe 's{Boost.OpenMethod}{Boost.OpenMethod}g' "$f" done diff --git a/doc/modules/ROOT/nav.adoc b/doc/modules/ROOT/nav.adoc index 74849eed..6f79183f 100644 --- a/doc/modules/ROOT/nav.adoc +++ b/doc/modules/ROOT/nav.adoc @@ -1,4 +1,4 @@ -* xref:index.adoc[Motivation] +* xref:motivation.adoc[Motivation] * Basic Features ** xref:basics.adoc[Methods and Overriders] ** xref:performance.adoc[Performance] diff --git a/doc/modules/ROOT/pages/index.adoc b/doc/modules/ROOT/pages/motivation.adoc similarity index 100% rename from doc/modules/ROOT/pages/index.adoc rename to doc/modules/ROOT/pages/motivation.adoc From a1be0f419b88319df945ca1a4ccaef478d1563d8 Mon Sep 17 00:00:00 2001 From: Jean-Louis Leroy Date: Sat, 28 Feb 2026 09:33:57 -0500 Subject: [PATCH 2/2] update readme --- README.adoc | 4 ---- doc/build_antora.sh | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/README.adoc b/README.adoc index 63a2ca7f..06baef63 100644 --- a/README.adoc +++ b/README.adoc @@ -19,8 +19,6 @@ | image:https://img.shields.io/badge/matrix-develop-brightgreen.svg[Enter the Matrix,link=http://www.boost.org/development/tests/develop/developer/openmethod.html] |=== -ifdef::env-github[] - == Boost.OpenMethod === Overview @@ -32,8 +30,6 @@ free-standing functions. They make it possible to add polymorphic behavior to existing classes, without modifying them. This implementation supports single and multiple dispatch. -endif::[] - === Example [source,c++] diff --git a/doc/build_antora.sh b/doc/build_antora.sh index 4c17b631..85afde87 100755 --- a/doc/build_antora.sh +++ b/doc/build_antora.sh @@ -81,7 +81,7 @@ echo "Fixing links to non-mrdocs URIs..." for f in $(find html -name '*.html'); do perl -i -pe 's{{{(.*?)}}}{$1}g' "$f" - perl -i -pe 's{Boost.OpenMethod}{Boost.OpenMethod}g' "$f" + perl -i -pe 's{Boost.OpenMethod}{Boost.OpenMethod}g' "$f" done