GithubHelp home page GithubHelp logo

garribh1 / zammad-user-documentation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zammad/zammad-user-documentation

0.0 1.0 0.0 13.6 MB

The user documentation for Zammad.

Makefile 91.49% Shell 2.60% Python 5.91%

zammad-user-documentation's Introduction

Zammad user documentation

If you want to contribute to the Zammad documentation you can edit the rst files and create pull requests.

We take care about the translation part, so please don't change anything else whithin the repository. These changes would be discarded anyway ;)

Note:

*Please modify only .rst files the *.PO and *.MO files are autogenerated!

ReStructuredText markup

If you like to edit the docs use the ReStructuredText markup language. Info about this markup language can be found at:

Thanks! ❤ ❤ ❤

Zammad Team

Documentation Status

Local tests (mostly internal stuff)

If you want to test the docs for yourself you need a local installation of sphinx and gettext.

pip install sphinx sphinx-autobuild sphinx-intl sphinx_rtd_theme

Example for a local HTML build

make html

Example workflow for localization using transifex

If you have to work on the translations you need gettext.

For OS X use HomeBrew or build from source. For Linux use your package manager.

brew install gettext

The workflow itself

create .tx config

tx init

or if you just want to update a ressource

tx set --source -r <project_slug.resource_slug> -l <lang> <file>

make clean

this will generate the strings from the *.rst files

make gettext

this will generate the locales (DE|EN)

sphinx-intl update -p _build/locale/ -l de -l en

this will update the resource files from the pot dir

sphinx-intl update-txconfig-resources --pot-dir _build/locale --transifex-project-name zammad-user-documentation

push to transifex (if configured)

tx push -s

after translation pull needed languages from transifex

tx pull -l en

build the .MO files for use with readthedocs

sh build_mo.sh

After a successful build, push to this repo and readthedocs will update itself.

manual language-based build (_build/html/) (for testing)

make -e SPHINXOPTS="-D language='de'" html
make -e SPHINXOPTS="-D language='en'" html

zammad-user-documentation's People

Contributors

kojie avatar hanneshal avatar mrgeneration avatar jepf avatar monotek avatar mbeijen avatar rkaldung avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.