#!/bin/bash
#===-- build-docs.sh - Tag the LLVM release candidates ---------------------===#
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
#===------------------------------------------------------------------------===#
#
# Build documentation for LLVM releases.
#
# Required Packages:
# * Fedora:
# * dnf install doxygen python3-sphinx texlive-epstopdf ghostscript \
# ninja-build gcc-c++
# * pip install sphinx-markdown-tables
# * Ubuntu:
# * apt-get install doxygen sphinx-common python3-recommonmark \
# ninja-build graphviz texlive-font-utils
# * pip install sphinx-markdown-tables
#===------------------------------------------------------------------------===#
builddir=docs-build
srcdir=
while [; do
case in
-release )
release=
;;
-srcdir )
custom_srcdir=
;;
* )
;;
esac
done
if [; then
fi
if [; then
srcdir=""
fi
# Set default source directory if one is not supplied
if [; then
git_ref=llvmorg-
if [; then
fi
|
srcdir="./llvm-project/llvm"
fi
html_dir=
/html-export/for; do
done
# Keep the documentation for the runtimes under /projects/ to avoid breaking existing links.
for; do
done