mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
Updated themes doc + added Google analytics (#4158)
This commit is contained in:
parent
ead3f24008
commit
15ef8bbd23
@ -1,6 +1,6 @@
|
||||
site_name: LibreNMS Docs
|
||||
theme: mkdocs
|
||||
docs_dir: doc
|
||||
theme_dir: 'librenms_theme'
|
||||
site_dir: out
|
||||
site_url: http://docs.librenms.org
|
||||
markdown_extensions:
|
||||
@ -12,6 +12,7 @@ site_author: LibreNMS
|
||||
site_description: LibreNMS user and developer documentation
|
||||
repo_url: https://github.com/librenms/librenms
|
||||
repo_name: GitHub
|
||||
google_analytics: ['UA-79149977-2', 'docs.librenms.org']
|
||||
pages:
|
||||
- Home: index.md
|
||||
- Installation:
|
||||
|
@ -1,6 +1,7 @@
|
||||
#!/bin/bash
|
||||
GH_REPO="@github.com/librenms-docs/librenms-docs.github.io.git"
|
||||
FULL_REPO="https://${GH_TOKEN}$GH_REPO"
|
||||
THEME_REPO="https://github.com/librenms-docs/librenms_theme.git"
|
||||
|
||||
pip install --user mkdocs
|
||||
pip install --user pymdown-extensions
|
||||
@ -18,6 +19,8 @@ git checkout master
|
||||
|
||||
cd ../
|
||||
|
||||
git clone $THEME_REPO
|
||||
|
||||
mkdocs build --clean
|
||||
|
||||
cd out
|
||||
|
Loading…
Reference in New Issue
Block a user