From b0cc39dfd665658767622472e8c80e0a93b0d3af Mon Sep 17 00:00:00 2001 From: sdarwin Date: Fri, 11 Oct 2024 09:49:34 -0600 Subject: [PATCH] GHA: build docs from BOOST_ROOT --- .github/workflows/documentation.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 404cc8b737..6f5daa9748 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -88,13 +88,18 @@ jobs: echo "using xsltproc ;" >> $HOME/user-config.jam test -f $HOME/user-config.jam && cat $HOME/user-config.jam - - name: Build examples + - name: Build documentation method 1 run: | cd $BOOST_ROOT - $BOOST_ROOT/b2 libs/geometry/doc/src/examples + ./b2 libs/geometry/doc/ - - name: Build documentation + - name: Build documentation method 2 run: | cd $BOOST_ROOT cd libs/geometry/doc $BOOST_ROOT/b2 + + - name: Build examples + run: | + cd $BOOST_ROOT + $BOOST_ROOT/b2 libs/geometry/doc/src/examples