blob: ee6b01bf68a7aac1e5064a26a05a4a475b364f74 [file] [log] [blame]
#!/bin/bash
#-------------------------------------------------------------------------------
# Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
#-------------------------------------------------------------------------------
#
# Used for CI to build the docs.
# Expected to have trusted-firmware-m cloned to same level as this git tree
#
set -ex
mkdir -p ${WORKSPACE}/trusted-firmware-m/build/docs
cd ${WORKSPACE}/trusted-firmware-m/build/docs
cmake -S ${WORKSPACE}/trusted-firmware-m/docs -B .
cmake --build ./ -- tfm_docs_refman_html
cmake --build ./ -- tfm_docs_userguide_html