diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2020-02-09 02:52:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-08 15:52:41 -0800 |
commit | ead874ae683cdd615c94b414a1605e416fcbd18f (patch) | |
tree | b7712c67b4a01f230da109a17a74681bc6406b5f /docs | |
parent | f4423a361bcae40ceef7ca13a441d54154e45d86 (diff) |
/docs/generator: build docs only for go.d itself and its modules (#8005)
Diffstat (limited to 'docs')
-rwxr-xr-x | docs/generator/buildhtml.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/generator/buildhtml.sh b/docs/generator/buildhtml.sh index 42d772a35e..2467fa7d7c 100755 --- a/docs/generator/buildhtml.sh +++ b/docs/generator/buildhtml.sh @@ -18,6 +18,7 @@ SRC_DIR="${GENERATOR_DIR}/src" GO_D_DIR="collectors/go.d.plugin" rm -rf ${GO_D_DIR} git clone https://github.com/netdata/go.d.plugin.git ${GO_D_DIR} +find "${GO_D_DIR}" -maxdepth 1 -mindepth 1 -type d ! -name modules -exec rm -rf '{}' \; # Copy all Netdata .md files to docs/generator/src. Exclude htmldoc itself and also the directory node_modules generatord by Netlify echo "Copying files" |