setup: add po plugin and dependencies
This commit is contained in:
parent
e6d57eb89b
commit
f8665708cc
2 changed files with 14 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
|
||||||
|
|
||||||
|
|
|
@ -45,6 +45,7 @@ add_plugins:
|
||||||
- highlight
|
- highlight
|
||||||
- typography
|
- typography
|
||||||
- sidebar2
|
- sidebar2
|
||||||
|
- po
|
||||||
# plugins to disable
|
# plugins to disable
|
||||||
disable_plugins:
|
disable_plugins:
|
||||||
- htmlscrubber
|
- htmlscrubber
|
||||||
|
@ -403,3 +404,15 @@ 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: '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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue