Skip to content

firstmile/reference-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

First Mile Reference Framework

The reference framework for first mile farm data collection, storage and exchange

The base Sphinx setup (recommonmark + internationalisation) for Open Data Services docs projects.

Building the documentation

Build the docs locally

Assuming a unix based system with Python 3 installed:

python3 -m venv .ve    
pip install -r requirements.txt
source .ve/bin/activate
cd docs
make dirhtml

Translations

Translations are generally done using this transifex project. Create one at https://www.transifex.com/:

  • Select "Public project" and "File-based Project".

How to push new text up to Transifex:

First, do a local build, then:

cd docs
make gettext
sphinx-intl update-txconfig-resources --transifex-project-name <project-name>
tx push -s

When the translations are filled in transifex you need to run:

tx pull -a -f

These should then be commited and then pushed to GitHub (so that actual deployed translations are always version controlled).

Running the build in another language:

make -e SPHINXOPTS="-D language='<language code>'" html

If translations are added locally, these can also be pushed up to Transifex:

tx push -t --skip

About

The reference framework for first mile farm data V1.0

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages