/docs/generator: build docs only for go.d itself and its modules (#8005)
Ilya Mashchenko committed
Feb 9, 2020 at 02:52 UTC
ead874ae683cdd615c94b414a1605e416fcbd18f
1 file changed
+1
docs/generator/buildhtml.sh
+1
@@ -18,6 +18,7 @@ SRC_DIR="${GENERATOR_DIR}/src"
18
GO_D_DIR="collectors/go.d.plugin"
19
rm -rf ${GO_D_DIR}
20
git clone https://github.com/netdata/go.d.plugin.git ${GO_D_DIR}
21
+find "${GO_D_DIR}" -maxdepth 1 -mindepth 1 -type d ! -name modules -exec rm -rf '{}' \;
22
23
# Copy all Netdata .md files to docs/generator/src. Exclude htmldoc itself and also the directory node_modules generatord by Netlify
24
echo "Copying files"