Skip to content

Commit 136b8fe

Browse files
Add coverage badge and documentation
1 parent 4d5a88b commit 136b8fe

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

docs/content/grafana_dashboard_templater/dashboard.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,22 @@ The class includes all necessary methods to template the selected dashboard and
3333
#### get\_dashboard\_json
3434

3535
```python
36-
def get_dashboard_json(template_values: dict) -> dict
36+
def get_dashboard_json(template_values: Dict) -> Dict
3737
```
3838

39-
The method includes a functionality to template the selected dashboard and return the corresponding dashboard
40-
as dictionary
39+
The method includes a functionality to template the selected dashboard and return the corresponding dashboard as dictionary
4140

4241
**Arguments**:
4342

44-
- `template_values` _dict_ - Specify the inserted templating values as dict
43+
- `template_values` _Dict_ - Specify the inserted templating values as dict
4544

4645

4746
**Raises**:
4847

49-
- `Exception` - Unspecified error by executing the functionality
48+
- `jinja2.TemplateNotFound` - Jinja2 template not found
5049

5150

5251
**Returns**:
5352

54-
- `json_dashboard` _dict_ - Returns the dashboard as dict
53+
- `json_dashboard` _Dict_ - Returns the dashboard as dict
5554

docs/coverage.svg

Lines changed: 3 additions & 3 deletions
Loading

docs/mkdocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
docs_dir: content
22
nav:
33
- Home: index.md
4-
- Grafana Dashboard Templater Documentation:
4+
- Grafana Dashboard Templater:
55
- Model: grafana_dashboard_templater/model.md
66
- Dashboard: grafana_dashboard_templater/dashboard.md
77
repo_url: https://github.com/ZPascal/grafana_dashboard_templater
88
site_name: Grafana Dashboard Templater
9-
theme: readthedocs
9+
theme: material

0 commit comments

Comments
 (0)