[PATCH] D95284: utils/release: Add script for building release documentation
Christian Kühnel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 23 02:46:17 PDT 2021
kuhnel added inline comments.
================
Comment at: llvm/utils/release/build-docs.sh:28
+usage() {
+ echo "Build the documentation for an LLVM release. This only needs to be "
+ echo "done for -final releases."
----------------
I would not limit the usage of this to releases. I guess this can also be used for any other situation where someone wants to build the documentation locally, e.g. to check if your documentation change is rendered as expected.
================
Comment at: llvm/utils/release/build-docs.sh:60
+if [ -z "$srcdir" ]; then
+ srcdir="../../"
+fi
----------------
hans wrote:
> This should be relative to the script's dir, not the cwd. Is there some way to figure this out in bash?
Yes: https://stackoverflow.com/a/246128
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95284/new/
https://reviews.llvm.org/D95284
More information about the llvm-commits
mailing list