summaryrefslogtreecommitdiffstats
path: root/docs/publish.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-05-11 08:46:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-05-11 08:46:20 +0000
commit60b8ecaf2afb874b733c1c61be26da68df51d989 (patch)
tree8888727f276e44d23fc64b6b285dc00150a7a466 /docs/publish.sh
parentInitial commit. (diff)
downloadtreelib-60b8ecaf2afb874b733c1c61be26da68df51d989.tar.xz
treelib-60b8ecaf2afb874b733c1c61be26da68df51d989.zip
Adding upstream version 1.6.4.upstream/1.6.4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-xdocs/publish.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/publish.sh b/docs/publish.sh
new file mode 100755
index 0000000..4839ba7
--- /dev/null
+++ b/docs/publish.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+SOURCE=source
+PYLIB=../treelib
+TARGET=html
+BUILT=build
+
+rm -rf $BUILD
+sphinx-apidoc -o $SOURCE $PYLIB
+make $TARGET
+touch $BUILT/$TARGET/.nojekyll
+ghp-import -p $BUILT/$TARGET