Skip to content

Commit 1803a10

Browse files
committed
Revert "make doc page the user home page"
This reverts commit b4a8b0f.
1 parent b4a8b0f commit 1803a10

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

doc/build_antora.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,11 @@ if [ -z "${BOOST_SRC_DIR:-}" ]; then
3939
fi
4040
fi
4141

42-
BRANCH=master
43-
4442
if [ -n "${BOOST_SRC_DIR:-}" ]; then
4543
if [ -n "${CIRCLE_REPOSITORY_URL:-}" ]; then
4644
if [[ "$CIRCLE_REPOSITORY_URL" =~ boostorg/boost(\.git)?$ ]]; then
4745
LIB="$(basename "$(dirname "$SCRIPT_DIR")")"
4846
REPOSITORY="boostorg/${LIB}"
49-
BRANCH=$(git -C "$BOOST_SRC_DIR" rev-parse --abbrev-ref HEAD)
5047
else
5148
ACCOUNT="${CIRCLE_REPOSITORY_URL#*:}"
5249
ACCOUNT="${ACCOUNT%%/*}"
@@ -84,7 +81,7 @@ echo "Fixing links to non-mrdocs URIs..."
8481

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

9087

doc/modules/ROOT/nav.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
* xref:index.adoc[Motivation]
1+
* xref:motivation.adoc[Motivation]
22
* Basic Features
33
** xref:basics.adoc[Methods and Overriders]
44
** xref:performance.adoc[Performance]
File renamed without changes.

0 commit comments

Comments
 (0)