1
0
Fork 0
forked from ilot/ilot-io

setup: add po plugin and dependencies

This commit is contained in:
Antoine Martin 2024-06-18 21:28:42 -04:00
parent e6d57eb89b
commit f8665708cc
Signed by: ayakael
GPG key ID: D62A472A4AA7D541
2 changed files with 14 additions and 1 deletions

View file

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

View file

@ -45,6 +45,7 @@ add_plugins:
- highlight
- typography
- sidebar2
- po
# plugins to disable
disable_plugins:
- htmlscrubber
@ -403,3 +404,15 @@ global_sidebars:
- 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: 'index or footer or platforms or sidebar'
# used to decide how internal links should be generated, depending on web server features and site-specific preferences.
po_link_to: current