aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/bash
diff options
context:
space:
mode:
authorViliam Luc <vluc@cisco.com>2021-10-28 15:05:53 +0200
committerTibor Frank <tifrank@cisco.com>2021-12-13 10:57:25 +0000
commite82ebbd96e2ba73276e2f1b6d7f9c2d8a9442c3f (patch)
tree8548662c60534211b7eb34f2f2881636ec3797b9 /resources/libraries/bash
parentf87931f3c85fe71bb3124e787168abafc5874c54 (diff)
doc: fixing documentation structure
When building documentation using sphinx we see ~1200 similar warnings [0] [0] - https://s3-logs.fd.io/vex-yul-rot-jenkins-1/csit-verify-tox-master-ubuntu2004-x86_64/3289/doc_verify.log.gz These warning are harmless and can be fixed later Signed-off-by: Viliam Luc <vluc@cisco.com> Change-Id: I1ac1099d38935971d47491dde905715345d3935c
Diffstat (limited to 'resources/libraries/bash')
-rw-r--r--resources/libraries/bash/function/docs.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/resources/libraries/bash/function/docs.sh b/resources/libraries/bash/function/docs.sh
index c589416a37..cb3f36d21a 100644
--- a/resources/libraries/bash/function/docs.sh
+++ b/resources/libraries/bash/function/docs.sh
@@ -89,6 +89,9 @@ function generate_docs () {
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!"