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 87cf0fe9..85afde87 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