Minor updates in htmldoc (#4802)
Chris Akritidis committed
Nov 30, 2018 at 16:14 UTC
84791901a4b82ed9315ba010bdb575a66c5aa864
1 file changed
+4
-1
docs/generator/buildhtml.sh
+4
-1
@@ -21,12 +21,15 @@ find . -type d \( -path ./${GENERATOR_DIR} -o -path ./node_modules \) -prune -o
21
22
# Modify the first line of the main README.md, to enable proper static html generation
23
echo "Modifying README header"
24
-sed -i '0,/# netdata /s//# Introduction\n\n/' ${GENERATOR_DIR}/src/README.md
24
+sed -i -e '0,/# netdata /s//# Introduction\n\n/' -e 's/\[!\[analytics.*UA-64295674-3)\]()//g' ${GENERATOR_DIR}/src/README.md
25
26
# Remove specific files that don't belong in the documentation
27
declare -a EXCLUDE_LIST=(
28
"HISTORICAL_CHANGELOG.md"
29
+ "contrib/sles11/README.md"
30
+ "packaging/maintainers/README.md"
31
)
32
+
33
for f in "${EXCLUDE_LIST[@]}"; do
34
rm "${GENERATOR_DIR}/src/$f"
35
done