Rework documentation (#13709)

* Rework documentation

* Slightly adjust theme

* wip

* fixes

* Remove unneeded header

* Re-added Acknowledgement.md file

* Added Acknowledgement.md to mkdocs.yml

Co-authored-by: Neil Lathwood <gh+n@laf.io>
This commit is contained in:
Jellyfrog
2022-02-09 00:02:28 +01:00
committed by GitHub
parent ee00f59ce6
commit 8f474dd4d4
163 changed files with 1226 additions and 2451 deletions

View File

@@ -1,10 +1,7 @@
source: Alerting/Templates.md
path: blob/master/doc/
# Templates
> This page is for installs running version 1.42 or later. You can
> find the older docs [here](Old_Templates.md)
> find the older docs [here](https://github.com/librenms/librenms/blob/773411359489e0ffcc3ba763f1f138403343591a/doc/Alerting/Old_Templates.md)
Templates can be assigned to a single or a group of rules and can
contain any kind of text. There is also a default template which is
@@ -20,7 +17,7 @@ button. You might hold down the CTRL key to select multiple rules at once.
The templating engine in use is Laravel Blade. We will cover some of
the basics here, however the official Laravel docs will have more
information [here](https://laravel.com/docs/5.7/blade)
information [here](https://laravel.com/docs/blade)
## Syntax
@@ -140,7 +137,7 @@ In your alert template just use
@endsection
```
More info: [https://laravel.com/docs/5.7/blade#extending-a-layout](https://laravel.com/docs/5.7/blade#extending-a-layout)
More info: [https://laravel.com/docs/blade#extending-a-layout](https://laravel.com/docs/blade#extending-a-layout)
## Examples