summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorChris Akritidis <43294513+cakrit@users.noreply.github.com>2018-11-30 16:14:57 +0100
committerCosta Tsaousis <costa@tsaousis.gr>2018-11-30 17:14:57 +0200
commit84791901a4b82ed9315ba010bdb575a66c5aa864 (patch)
treed5128154540a02a3cc58425d89839e802fbe68a6 /docs
parent451c8c85410c9d32864a566264d418127d593cff (diff)
Minor updates in htmldoc (#4802)
Diffstat (limited to 'docs')
-rwxr-xr-xdocs/generator/buildhtml.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/generator/buildhtml.sh b/docs/generator/buildhtml.sh
index a7b5e2f9ba..347a777a08 100755
--- a/docs/generator/buildhtml.sh
+++ b/docs/generator/buildhtml.sh
@@ -21,12 +21,15 @@ find . -type d \( -path ./${GENERATOR_DIR} -o -path ./node_modules \) -prune -o
# Modify the first line of the main README.md, to enable proper static html generation
echo "Modifying README header"
-sed -i '0,/# netdata /s//# Introduction\n\n/' ${GENERATOR_DIR}/src/README.md
+sed -i -e '0,/# netdata /s//# Introduction\n\n/' -e 's/\[!\[analytics.*UA-64295674-3)\]()//g' ${GENERATOR_DIR}/src/README.md
# Remove specific files that don't belong in the documentation
declare -a EXCLUDE_LIST=(
"HISTORICAL_CHANGELOG.md"
+ "contrib/sles11/README.md"
+ "packaging/maintainers/README.md"
)
+
for f in "${EXCLUDE_LIST[@]}"; do
rm "${GENERATOR_DIR}/src/$f"
done