mirror of
https://github.com/open-quantum-safe/liboqs.git
synced 2025-10-04 00:02:01 -04:00
* Add link to security response process [skip ci] Signed-off-by: Spencer Wilson <spencer.wilson@uwaterloo.ca> * Add security support info to PLATFORMS.md [skip ci] Signed-off-by: Spencer Wilson <spencer.wilson@uwaterloo.ca> * Add SECURITY.md to Doxyfile Signed-off-by: Spencer Wilson <spencer.wilson@uwaterloo.ca> * Fix links for Doxygen Signed-off-by: Spencer Wilson <spencer.wilson@uwaterloo.ca> --------- Signed-off-by: Spencer Wilson <spencer.wilson@uwaterloo.ca>
29 lines
633 B
Bash
Executable File
29 lines
633 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
if [ "$#" -ne 3 ]; then
|
|
echo "Wrong number of arguments: Expecting path to doxygen binary, path to doxygen file, and destination directory. Exiting."
|
|
exit 1
|
|
fi
|
|
|
|
# Doxygen can't handle Github Markdown so we temporarily reformat it
|
|
for file in README.md CONFIGURE.md SECURITY.md
|
|
do
|
|
cp $file $file-orig
|
|
python3 scripts/doxyfy.py $file-orig $file
|
|
done
|
|
|
|
# run doxygen:
|
|
mkdir -p "$3/docs"
|
|
env DOXYGEN_DESTIONATION_DIR="$3/docs" "$1" "$2"
|
|
EXITCODE=$?
|
|
|
|
# undo the Github Markdown reformatting
|
|
for file in README.md CONFIGURE.md SECURITY.md
|
|
do
|
|
mv $file-orig $file
|
|
done
|
|
|
|
exit ${EXITCODE}
|