Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/README
blob: a4d68ff6d8b2edce6f55c9eaf28b314b8005ae26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Sphinx Ceibal How-to
====================

Install sphinx::

    virtualenv -p python2.7 env
    source env/bin/activate
    
    
Install requirements::

    pip install sphinx
    pip install translate-toolkit
    pip install polib


Generate ceibal.po file for pootle::

    python utils/sphinx-to-po.py


Update sphinx docs with ceibal-fr.po file from pootle::

    python utils/po-to-sphinx.py


Merge ceibal-fr.po with ceibal.po to overwrite all ceibal pootle project and
keep previous translations from pootle::

    python utils/merge-po.py


Generate sphinx html nice online version::

    make html