Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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++]
Expand Down
5 changes: 1 addition & 4 deletions doc/build_antora.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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%%/*}"
Expand Down Expand Up @@ -84,7 +81,7 @@ echo "Fixing links to non-mrdocs URIs..."

for f in $(find html -name '*.html'); do
perl -i -pe 's{&lcub;&lcub;(.*?)&rcub;&rcub;}{<a href="../../../$1.html">$1</a>}g' "$f"
perl -i -pe 's{href="index.html"}{href="https://www.boost.org/library/${BRANCH}/openmethod/"}g' "$f"
perl -i -pe 's{<a href="motivation.html">Boost.OpenMethod</a>}{<a href="https://www.boost.org/library/${BRANCH}/openmethod/">Boost.OpenMethod</a>}g' "$f"
done


Expand Down
2 changes: 1 addition & 1 deletion doc/modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* xref:index.adoc[Motivation]
* xref:motivation.adoc[Motivation]
* Basic Features
** xref:basics.adoc[Methods and Overriders]
** xref:performance.adoc[Performance]
Expand Down
Loading