Skip to content

Commit

Permalink
Fix Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
AzonInc committed Aug 26, 2024
1 parent 6c60b4b commit f8c8f53
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,14 @@ jobs:
if: github.ref != 'refs/heads/master'
working-directory: firmware/examples
run: |
sed -i 's/@master/@dev/g' stock.example.yaml
sed -i 's/@master/@dev/g' nuki-bridge.example.yaml
sed -i 's/@master/@dev/g' *.example.yaml
- name: Update docs branch
if: github.ref != 'refs/heads/master'
working-directory: docs
run: |
sed -i 's/@master/@dev/g' en/guide/getting-started.md
sed -i 's/@master/@dev/g' de/guide/getting-started.md
sed -i 's/@master/@dev/g' */guide/getting-started.md
sed -i 's/@master/@dev/g' */guide/firmware/minimal.example.yaml
- name: Install dependencies
working-directory: docs
Expand Down
7 changes: 7 additions & 0 deletions docs/.vitepress/config/de.mts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ export const de = defineConfig({
editLink: {
text: 'Diese Seite bearbeiten'
},

notFound: {
title: 'SEITE NICHT GEFUNDEN',
linkText: 'Bring mich nach Hause',
linkLabel: 'Label',
quote: 'Aber wenn du deine Richtung nicht änderst und weiterhin in dieselbe Richtung schaust, könntest du am Ende genau dort landen, wohin du steuerrst.'
},

footer: {
message: 'Veröffentlicht unter der GPL 3.0 Lizenz.',
Expand Down
2 changes: 1 addition & 1 deletion docs/en/guide/firmware/nuki-bridge-firmware.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ This is the minimal ESPHome configuration YAML file. Be sure to update the API k

::: details Minimal Nuki Bridge Firmware
```yaml
<!--@include: ../../../firmware/examples/nuki-bridge.example.yaml-->
<!--@include: ../../../../firmware/examples/nuki-bridge.example.yaml-->
```
:::
Expand Down
2 changes: 1 addition & 1 deletion docs/en/guide/firmware/stock-firmware.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ This is the minimal ESPHome configuration YAML file. Be sure to update the API k

::: details Minimal Stock Firmware
```yaml
<!--@include: ../../../firmware/examples/stock.example.yaml-->
<!--@include: ../../../../firmware/examples/stock.example.yaml-->
```
:::
Expand Down

0 comments on commit f8c8f53

Please sign in to comment.