Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c4bcaf7

Browse files
committed
add docs/update_docs.sh
1 parent 053f2ed commit c4bcaf7

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

docs/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Sphinx
2+
sphinxcontrib-napoleon

docs/update_docs.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
3+
WORK_DIR="$(dirname $0)"
4+
5+
# build new docs and copy them to root
6+
make -C "$WORK_DIR" html
7+
cp -R "$WORK_DIR"/build/html/* "$WORK_DIR"/..

0 commit comments

Comments
 (0)