mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
Adds automation to build catalog templates.
Signed-off-by: pierreozoux <pierre@ozoux.net>
This commit is contained in:
19
.github/workflows/generate_catalog_templates.yml
vendored
Normal file
19
.github/workflows/generate_catalog_templates.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
name: L10n
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
user_manual:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: ammaraskar/sphinx-action@master
|
||||
with:
|
||||
docs-folder: "user_manual/"
|
||||
pre-build-command: pip install -r requirements.txt
|
||||
build-command: make gettext
|
||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
commit_message: Adds Or Updates catalog templates (POT files fetched automatically by transifex)
|
||||
@@ -85,6 +85,14 @@ If using the command line and your name and email are configured, you can use
|
||||
In both settings be sure that your email address matches that in your Github profile,
|
||||
which if you have privacy enabled will be github.username@users.noreply.github.com
|
||||
|
||||
|
||||
Translations
|
||||
------------
|
||||
|
||||
[Help translate the documentation](https://www.transifex.com/indiehosters/nextcloud-user-documentation/dashboard/).
|
||||
|
||||
For developers that want to ease the translation process, please read [this documentation](https://docs.transifex.com/integrations/sphinx-doc).
|
||||
|
||||
Building
|
||||
--------
|
||||
|
||||
|
||||
@@ -147,9 +147,9 @@ info:
|
||||
@echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
|
||||
|
||||
gettext:
|
||||
$(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
|
||||
$(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) locale/source
|
||||
@echo
|
||||
@echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
|
||||
@echo "Build finished. The message catalogs are in ./locale/source."
|
||||
|
||||
changes:
|
||||
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
|
||||
|
||||
Reference in New Issue
Block a user