diff --git a/README.md b/README.md index 5c4c68364a0fe636c81eb5d550eeffb247ebd928..8f7a95271ae307bd0773ebe7a0ec6e68f5b5ef4c 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,13 @@ Pour construire un site ViĞnette avec ses traductions, on exécute le script de `python3 build.py` +On peut lui passer de zéro à deux arguments : + +`python3 build.py <url_orientation> <default_lang>` + +- `url_orientation` peut être "horizontal", "vertical" ou "none". La valeur par défaut est "horizontal". Il définit l'orientation de l'URL sur les ViGnettes. +- `default_lang` va automatiquement créer une page par défaut dans la langue indiquée. Il doit correspondre à une des langues présentes dans i18n. + ## Traduction Les fichiers de traduction doivent se trouver dans `i18n` suivant ce schéma: @@ -56,6 +63,14 @@ To build the site with the translations : `python3 build.py` +It takes zero to two arguments: + +`python3 build.py <url_orientation> <default_lang>` + +- `url_orientation` can be "horizontal", "vertical" or "none". Default is "horizontal". It rules the orientation of URL on vignettes. +- `default_lang` will automatically create a homepage in given language. It must match one lang existing in i18n. + + ## Translation Translation files must be located in dir `i18n` and follow this schema: