Skip to content

Commit

Permalink
Remove german version of the site
Browse files Browse the repository at this point in the history
Sadly, keeping two language versions in sync has proven too much
hassle, especially during event deployments :/

Sorry for the inconvenience.
  • Loading branch information
foosel committed Jun 5, 2024
1 parent e1a06e9 commit 4e7a4a5
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 584 deletions.
253 changes: 0 additions & 253 deletions docs/how_to_build.de.md

This file was deleted.

File renamed without changes.
206 changes: 0 additions & 206 deletions docs/index.de.md

This file was deleted.

File renamed without changes.
10 changes: 0 additions & 10 deletions docs/mastowall.de.md

This file was deleted.

File renamed without changes.
45 changes: 0 additions & 45 deletions docs/sensors.de.md

This file was deleted.

4 changes: 2 additions & 2 deletions docs/sensors.en.md → docs/sensors.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ There is currently no current Datenzwerg data. Check again when they are back at
## Environmental data

{% for env in grafana.environment %}
=== "{{ env.name.en }}"
=== "{{ env.name }}"
<iframe src="{{ grafana.base_url }}{{ env.panel }}" class="grafana-iframe"></iframe>
{% endfor %}

## Internal data

{% for env in grafana.internal %}
=== "{{ env.name.en }}"
=== "{{ env.name }}"
<iframe src="{{ grafana.base_url }}{{ env.panel }}" class="grafana-iframe"></iframe>
{% endfor %}

Expand Down
83 changes: 15 additions & 68 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,77 +33,39 @@ theme:
name: Switch to light mode

extra:
alternate:
- name: English
link: !ENV [I18N_EN, "/en/"]
lang: en
- name: Deutsch
link: !ENV [I18N_DE, "/de/"]
lang: de

grafana:
base_url: !ENV [GRAFANA_BASE, "https://grafana.datagnome.de/d-solo/" ]
environment:
- name:
en: Temperature
de: Temperatur
- name: Temperature
panel: f17a6449-84ed-4733-b982-21c0d480c42a/?orgId=1&panelId=3
- name:
en: Humidity
de: Luftfeuchtigkeit
- name: Humidity
panel: f17a6449-84ed-4733-b982-21c0d480c42a/?orgId=1&panelId=2
- name:
en: Air pressure
de: Luftdruck
- name: Air pressure
panel: f17a6449-84ed-4733-b982-21c0d480c42a/?orgId=1&panelId=4
- name:
en: CO2
de: CO2
- name: CO2
panel: f17a6449-84ed-4733-b982-21c0d480c42a/?orgId=1&panelId=21
- name:
en: TVOC
de: TVOC
- name: TVOC
panel: f17a6449-84ed-4733-b982-21c0d480c42a/?orgId=1&panelId=22
#- name:
# en: UV index
# de: UV Index
#- name: UV index
# panel: f17a6449-84ed-4733-b982-21c0d480c42a/?orgId=1&panelId=18
- name:
en: Sound pressure
de: Schalldruck
- name: Sound pressure
panel: f17a6449-84ed-4733-b982-21c0d480c42a/?orgId=1&panelId=17
- name:
en: Dew point
de: Taupunkt
- name: Dew point
panel: f17a6449-84ed-4733-b982-21c0d480c42a/?orgId=1&panelId=14
- name:
en: Absolute humidity
de: Absolute Luftfeuchte
- name: Absolute humidity
panel: f17a6449-84ed-4733-b982-21c0d480c42a/?orgId=1&panelId=15
internal:
#- name:
# en: Battery voltage
# de: Batteriespannung
#- name: Battery voltage
# panel: f17a6449-84ed-4733-b982-21c0d480c42a/?orgId=1&panelId=1
- name:
en: Wifi signal
de: Wifisignal
- name: Wifi signal
panel: f17a6449-84ed-4733-b982-21c0d480c42a/?orgId=1&panelId=5
- name:
en: Uptime
de: Uptime
- name: Uptime
panel: f17a6449-84ed-4733-b982-21c0d480c42a/?orgId=1&panelId=31
- name:
en: UV sensor voltage
de: UV-Sensorspannung
- name: UV sensor voltage
panel: f17a6449-84ed-4733-b982-21c0d480c42a/?orgId=1&panelId=6
- name:
en: Sound sensor RMS voltage
de: Schallsensor-RMS-Spannung
- name: Sound sensor RMS voltage
panel: f17a6449-84ed-4733-b982-21c0d480c42a/?orgId=1&panelId=16
- name:
en: Metadata
de: Metadata
- name: Metadata
panel: f17a6449-84ed-4733-b982-21c0d480c42a/?orgId=1&panelId=26

social:
Expand Down Expand Up @@ -156,22 +118,7 @@ markdown_extensions:
plugins:
- search:
- macros:
- i18n:
docs_structure: suffix
fallback_to_default: true
languages:
- build: true
default: true
locale: en
name: English
- build: true
default: false
locale: de
name: Deutsch
reconfigure_material: true
reconfigure_search: true
- social:
cards_layout_options:
background_color: "#111111"
color: "#ffffff"

0 comments on commit 4e7a4a5

Please sign in to comment.