14 lines
334 B
Bash
14 lines
334 B
Bash
|
# Arguments:
|
||
|
# $1 : path to std4 from working directory
|
||
|
# $2 : path to doc-gen4 from working directory
|
||
|
|
||
|
set -e
|
||
|
set -x
|
||
|
|
||
|
# generate the docs
|
||
|
cd "$1"
|
||
|
sed -i "s|from git \"https://github.com/leanprover/doc-gen4\" @ \"main\"| from \"..\" / \"doc-gen4\" with NameMap.empty|" lakefile.lean
|
||
|
|
||
|
lake -Kdoc=on update
|
||
|
lake -Kdoc=on build Std:docs
|