Giter VIP home page Giter VIP logo

api-docs's Introduction

Emailicious API documentation

image

image

The Emailicious API documentation is built using Sphinx and available on Read the docs.

Building the docs

In order to build the docs you will need to install the required Python dependencies. We suggest you use pip to perform the installation:

pip install -r requirements.txt

Once all the required packages are installed you can simply use make to target the desired build:

make html

Windows user can use the provided make.bat script to perform the same actions.

Building localized docs

A localized version of the documentation can be built by passing the appropriate Sphinx options as an environment variable:

sphinx-intl build
make html -e SPHINXOPTS="-D language='fr'" 

Translating the docs

The documentation are translated using sphinx-intl which relies on gettext under the hood.

In order to generate the translation catalogs for a specific locale the following commands must be run:

make gettext
sphinx-intl update -p build/locale -l <locale>

Where <locale> should be replaced by the name of the locale to generate the catalogs for.

Once these command complete the translation catalogs (.po files) will be available for edition in the source/locale/<locale>/LC_MESSAGES directory.

You can proceed to building localized docs.

api-docs's People

Contributors

charettes avatar

Watchers

 avatar  avatar  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.