mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Create documentation on GHA
This commit is contained in:
parent
62494bccfd
commit
3d44f9bfda
6 changed files with 111 additions and 48 deletions
|
|
@ -5,13 +5,6 @@
|
|||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
copy()
|
||||
{
|
||||
for dir; do true; done
|
||||
mkdir -p "$dir"
|
||||
cp "$@"
|
||||
}
|
||||
|
||||
set -eux
|
||||
|
||||
export BOOST="$BOOST_ROOT"
|
||||
|
|
@ -21,13 +14,7 @@ cd "$BOOST"
|
|||
./b2 "$PROJECT_DIR/test" -q "$@"
|
||||
|
||||
cd "$PROJECT_DIR"
|
||||
export BOOSTBOOK_DIR="$PROJECT_DIR/bin/turtle/boostbook"
|
||||
copy -r "$BOOST"/tools/boostbook/xsl "$BOOSTBOOK_DIR"
|
||||
copy -r "$BOOST"/tools/boostbook/dtd "$BOOSTBOOK_DIR"
|
||||
copy -r build/boostbook/* "$BOOSTBOOK_DIR"
|
||||
copy "$BOOST"/doc/src/boostbook.css doc/html
|
||||
copy "$BOOST"/doc/src/images/*.png doc/html/images
|
||||
copy "$BOOST"/doc/src/images/callouts/*.png doc/html/images/callouts
|
||||
scripts/build_doc.sh "$@"
|
||||
|
||||
cd "$BOOST"
|
||||
./b2 "$PROJECT_DIR/doc" -q "$@"
|
||||
./b2 "$PROJECT_DIR/doc//mock_examples" -q "$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue