forked from ilot/ilot-io
setup: activate po plugin
This commit is contained in:
parent
9adb8dfe07
commit
f6d7b03205
2 changed files with 13 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue