Lines Matching +full:doxygen +full:- +full:version
3 # SPDX-FileCopyrightText: Copyright 2022-2024 Arm Limited and/or its affiliates <open-source-office…
5 # SPDX-License-Identifier: Apache-2.0
7 # Licensed under the Apache License, Version 2.0 (the License); you may
11 # www.apache.org/licenses/LICENSE-2.0
19 # Version: 3.0
20 # Date: 2024-01-09
21 # This bash script generates CMSIS-NN Documentation:
23 # Pre-requisites:
24 # - bash shell (for Windows: install git for Windows)
25 # - doxygen 1.9.6
26 # - linkchecker (can be skipped with -s)
28 set -o pipefail
30 # Set version of gen pack library
31 # For available versions see https://github.com/Open-CMSIS-Pack/gen-pack/tags.
35 DIRNAME=$(dirname "$(readlink -f "$0")")
42 echo "Usage: $(basename "$0") [-h] [-s] [-c <comp>]"
43 echo " -h,--help Show usage"
44 echo " -s,--no-linkcheck Skip linkcheck"
48 while [[ $# -gt 0 ]]; do
50 '-h'|'help')
54 '-s'|'--no-linkcheck')
68 # Set GEN_PACK_LIB_PATH to use a specific gen-pack library root
70 if [[ -f "${GEN_PACK_LIB_PATH}/gen-pack" ]]; then
71 . "${GEN_PACK_LIB_PATH}/gen-pack"
73 . <(curl -sL "https://raw.githubusercontent.com/Open-CMSIS-Pack/gen-pack/main/bootstrap")
80 if [ -z "${VERSION_FULL}" ]; then
88 projectName=$(grep -E "PROJECT_NAME\s+=" nn.dxy.in | sed -r -e 's/[^"]*"([^"]+)".*/\1/')
91 datetime=$(date -u +'%a %b %e %Y %H:%M:%S')
92 year=$(date -u +'%Y')
94 sed -e "s/{projectNumber}/${projectNumber}/" nn.dxy.in \
95 | sed -e "s/{cmsisProjectNumber}/${cmsisProjectNumber}/" \
98 git_changelog -f html -p "v" > src/history.txt
103 mkdir -p "${DIRNAME}/${GENDIR}/search/"
104 cp -f "${DIRNAME}/style_template/search.css" "${DIRNAME}/${GENDIR}/search/"
105 cp -f "${DIRNAME}/style_template/navtree.js" "${DIRNAME}/${GENDIR}/"
106 cp -f "${DIRNAME}/style_template/resize.js" "${DIRNAME}/${GENDIR}/"
108 sed -e "s/{datetime}/${datetime}/" "${DIRNAME}/style_template/footer.js.in" \
109 | sed -e "s/{year}/${year}/" \
110 | sed -e "s/{projectName}/${projectName}/" \
111 | sed -e "s/{projectNumber}/${projectNumber}/" \
112 | sed -e "s/{projectNumberFull}/${projectNumberFull}/" \