Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
doc: fixing documentation structure
[csit.git]
/
resources
/
libraries
/
bash
/
function
/
docs.sh
diff --git
a/resources/libraries/bash/function/docs.sh
b/resources/libraries/bash/function/docs.sh
index
c589416
..
cb3f36d
100644
(file)
--- a/
resources/libraries/bash/function/docs.sh
+++ b/
resources/libraries/bash/function/docs.sh
@@
-89,6
+89,9
@@
function generate_docs () {
die "rSync failed!"
}
die "rSync failed!"
}
+ # to remove GPL licence section
+ find "${WORKING_DIR}/tests/" -type f -exec sed -i '/\*\*\*/,$!d' {} \;
+
find ${WORKING_DIR}/ -type d -exec echo {} \; -exec touch {}/__init__.py \;
python3 gen_rst.py || die "Generate .rst files failed!"
find ${WORKING_DIR}/ -type d -exec echo {} \; -exec touch {}/__init__.py \;
python3 gen_rst.py || die "Generate .rst files failed!"