Skip to content

Commit a35ed10

Browse files
committed
🔨 Add script/ldoc.sh
1 parent 55833c0 commit a35ed10

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.readthedocs.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@ build:
99
commands:
1010
- pip install hererocks
1111
- hererocks lua51 -l5.1 -rlatest
12-
- bash -c '. ./lua51/bin/activate && luarocks install ldoc lua-discount && \
13-
ldoc .'
12+
- scripts/ldoc.sh
1413
- mv doc $READTHEDOCS_OUTPUT/html

scripts/ldoc.sh

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
set -e
3+
cd "$(dirname "$(dirname "$(readlink -f "$0")")")"
4+
5+
. ./lua51/bin/activate &&
6+
luarocks install ldoc lua-discount &&
7+
ldoc .

0 commit comments

Comments
 (0)