Skip to content

Commit f185a2a

Browse files
author
Murilo M. Marinho
committed
Tested locally, now working with two builds
1 parent eef0349 commit f185a2a

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

build_html.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,14 @@ export BASE_URL="https://marinholab.github.io/OpenExecutableBooksRobotics/"
1212

1313
# Run once without the devel
1414
cp myst.yml _myst.yml
15-
sed -i.bak '/\#USING DQROBOTICS DEVEL [START]/,/\#USING DQROBOTICS DEVEL [END]/d' myst.yml
15+
sed -i.bak '/\#USING DQROBOTICS DEVEL \[START\]/,/\#USING DQROBOTICS DEVEL \[END\]/d' myst.yml
16+
echo "RUN ONE, WITHOUT DQROBOTICS DEVEL PAGES"
1617
cat myst.yml
1718
python -m jupyter book build --html --execute
1819

1920
# Run again with the devel. The cached should no longer collide
20-
cp mv _myst.yml myst.yml
21+
mv _myst.yml myst.yml
2122
python -m jupyter book build --html --execute
23+
echo "RUN TWO, WITH DQROBOTICS DEVEL PAGES"
24+
cat myst.yml
2225

0 commit comments

Comments
 (0)