diff options
author | Chris Akritidis <43294513+cakrit@users.noreply.github.com> | 2018-11-30 13:38:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-30 13:38:05 +0100 |
commit | cc1b74b19f2a374330f3eef4f963562dc4ddb9aa (patch) | |
tree | 5fc876687439510b16c076a2ee29a5ddd168eafb /docs/generator | |
parent | a6b5ed0fc7627f303a10b84ff668c7af78eb24a6 (diff) |
Added Legal section to documentation, added missing link for apps.plugin (#4797)
- Added terms of use and privacy documentation. The links don't appear in the docs navigation, but in the footer.
- Added missing link to apps.plugin
- Replaced the hardcoded Google Analytics img with mkdocs config `google_analytics: ["UA-64295674-3", "docs.netdata.cloud"]`
- Replaced the hardcoded twitter badge with the mkdocs supported "social links" for github, facebook and twitter.
Diffstat (limited to 'docs/generator')
-rwxr-xr-x | docs/generator/buildyaml.sh | 16 | ||||
-rw-r--r-- | docs/generator/themes/material/partials/footer.html | 6 |
2 files changed, 14 insertions, 8 deletions
diff --git a/docs/generator/buildyaml.sh b/docs/generator/buildyaml.sh index 7b8f654652..f541d7eaa8 100755 --- a/docs/generator/buildyaml.sh +++ b/docs/generator/buildyaml.sh @@ -42,16 +42,25 @@ navpart() { done } -echo -e 'site_name: NetData Documentation +echo -e 'site_name: Netdata Documentation repo_url: https://github.com/netdata/netdata repo_name: GitHub edit_uri: blob/master -site_description: NetData Documentation -copyright: NetData, 2018 +site_description: Netdata Documentation +copyright: Netdata, 2018 docs_dir: src site_dir: build #use_directory_urls: false strict: true +google_analytics: ["UA-64295674-3", ""] +extra: + social: + - type: "github" + link: "https://github.com/netdata/netdata" + - type: "twitter" + link: "https://twitter.com/linuxnetdata" + - type: "facebook" + link: "https://www.facebook.com/linuxnetdata/" theme: name: "material" custom_dir: themes/material @@ -147,6 +156,7 @@ navpart 1 collectors "" "Data collection" 1 echo -ne " - 'docs/Add-more-charts-to-netdata.md' - Internal plugins: " +navpart 3 collectors/apps.plugin navpart 3 collectors/proc.plugin navpart 3 collectors/statsd.plugin navpart 3 collectors/cgroups.plugin diff --git a/docs/generator/themes/material/partials/footer.html b/docs/generator/themes/material/partials/footer.html index ba690f236c..1207966abd 100644 --- a/docs/generator/themes/material/partials/footer.html +++ b/docs/generator/themes/material/partials/footer.html @@ -41,13 +41,9 @@ <div class="md-footer-copyright"> {% if config.copyright %} <div class="md-footer-copyright__highlight"> - {{ config.copyright }} + {{ config.copyright }} | <a href="/docs/privacy-policy/">Privacy Policy</a> | <a href="/docs/terms-of-use/">Terms of Use</a> </div> {% endif %} - <a href="https://twitter.com/linuxnetdata" rel="nofollow"><img src="https://img.shields.io/twitter/follow/linuxnetdata.svg?style=social&label=New%20-%20stay%20in%20touch%20-%20follow%20netdata%20on%20twitter"></a> - <img src="https://www.google-analytics.com/collect?v=1&t=pageview&_s=1&ds=github&dr=https%3A%2F%2Fgithub.com%2Ffirehol%2Fnetdata%2Fwiki&dl=https%3A%2F%2Fmy-netdata.io%2Fgithub%2Fwiki&_u=MAC%7E&cid=8c51788e-8721-45e3-ae8c-e7c63ba8236b&tid=UA-64295674-3"> - - </div> {% block social %} {% include "partials/social.html" %} |