diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-02-08 07:31:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-02-08 07:31:03 +0000 |
commit | 50485bedfd9818165aa1d039d0abe95a559134b7 (patch) | |
tree | 79c7b08f67edcfb0c936e7a22931653b91189b9f /htmldoc/buildhtml.sh | |
parent | Releasing debian version 1.11.1+dfsg-7. (diff) | |
download | netdata-50485bedfd9818165aa1d039d0abe95a559134b7.tar.xz netdata-50485bedfd9818165aa1d039d0abe95a559134b7.zip |
Merging upstream version 1.12.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'htmldoc/buildhtml.sh')
-rwxr-xr-x | htmldoc/buildhtml.sh | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/htmldoc/buildhtml.sh b/htmldoc/buildhtml.sh deleted file mode 100755 index 8a41f454..00000000 --- a/htmldoc/buildhtml.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash - -# buildhtml.sh - -# Builds the html static site, using mkdocs -# Assumes that the script is executed from the root netdata folder, by calling htmldoc/buildhtml.sh - -# Copy all netdata .md files to htmldoc/src. Exclude htmldoc itself and also the directory node_modules generated by Netlify -echo "Copying files" -rm -rf htmldoc/src -find . -type d \( -path ./htmldoc -o -path ./node_modules \) -prune -o -name "*.md" -print | cpio -pd htmldoc/src - -# Modify the first line of the main README.md, to enable proper static html generation -sed -i '0,/# netdata /s//# Introducing NetData\n\n/' htmldoc/src/README.md - -echo "Creating mkdocs.yaml" - -# Generate mkdocs.yaml -htmldoc/buildyaml.sh > htmldoc/mkdocs.yml - -echo "Fixing links" - -# Fix links (recursively, all types, executing replacements) -htmldoc/checklinks.sh -rax -if [ $? -eq 1 ] ; then exit 1 ; fi - -echo "Calling mkdocs" - -# Build html docs -mkdocs build --config-file=htmldoc/mkdocs.yml - -echo "Finished" - |