Skip to content

User guide: change max-width to 80ch #63

User guide: change max-width to 80ch

User guide: change max-width to 80ch #63

Workflow file for this run

name: html2po (Weblate syntax check)
on: [pull_request, push]
jobs:
translate:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install translate-toolkit
run: |
python -m pip install --upgrade pip
pip install translate-toolkit
- name: Run html2po
# This is written so complex because at the time of writing (2024-02-28) it always returns 0.
run: |
html2po user_guide/en.html 2>&1 | grep Error && exit 1 || exit 0