From 84791901a4b82ed9315ba010bdb575a66c5aa864 Mon Sep 17 00:00:00 2001 From: Chris Akritidis <43294513+cakrit@users.noreply.github.com> Date: Fri, 30 Nov 2018 16:14:57 +0100 Subject: Minor updates in htmldoc (#4802) --- docs/generator/buildhtml.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'docs') 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 -- cgit v1.2.3