1
0
Fork 0
forked from ilot/ilot-io

setup: activate po plugin

This commit is contained in:
Antoine Martin 2024-06-14 22:58:02 -04:00
parent 9adb8dfe07
commit f6d7b03205
Signed by: ayakael
GPG key ID: D62A472A4AA7D541
2 changed files with 13 additions and 1 deletions

View file

@ -1,5 +1,5 @@
before_script: before_script:
- sudo apk add git ikiwiki - sudo apk add git ikiwiki po4a perl-yaml-tiny
- git submodule init - git submodule init
- git submodule update - git submodule update

View file

@ -44,6 +44,7 @@ add_plugins:
- highlight - highlight
- typography - typography
- sidebar2 - sidebar2
- po
# plugins to disable # plugins to disable
disable_plugins: [] disable_plugins: []
# additional directory to search for template files # additional directory to search for template files
@ -401,3 +402,14 @@ global_sidebars:
- footer - footer
- footer - footer
- "*" - "*"
# po plugin
# used to set the "master" language
po_master_language: en|English
# po_slave_languages is used to set the list of supported "slave" languages
po_slave_languages:
- fr|Français
# configures what pages are translatable
po_translatable_pages: '*'
# used to decide how internal links should be generated, depending on web server features and site-specific preferences.
po_link_to: current