Skip to content

Commit 4e76cab

Browse files
authored
doc: Add french version
2 parents 424ead0 + 8de3738 commit 4e76cab

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

mkdocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,11 @@ plugins:
8080
default: true
8181
name: 🇬🇧 English
8282
build: true
83+
link: /Solar-Router-for-ESPHome/
8384
- locale: fr
8485
name: 🇫🇷 Français
8586
build: true
87+
link: /Solar-Router-for-ESPHome/fr/
8688
nav_translations:
8789
Home: Accueil
8890
Disclamer: Avertissement

tools/update_documantation.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
SCRIPT_DIR=$(dirname "$0")
44
pushd "${SCRIPT_DIR}/.." > /dev/null
5-
git cliff > docs/changelog.md
6-
code docs/changelog.md
5+
git cliff > docs/en/changelog.md
6+
code docs/en/changelog.md
77

88
read -r -p "Ready to publish? [y/N]: " response
99

1010
if [[ "$response" =~ ^[Yy]$ ]]; then
1111
mkdocs gh-deploy
1212
fi
13-
git restore docs/changelog.md
13+
git restore docs/en/changelog.md
1414

1515
popd > /dev/null

0 commit comments

Comments
 (0)