addons-server/docs
Mathieu Pillard 9d7b689e2f Handle Personas in the search/detail API (fix #2660) 2016-05-18 19:27:12 +02:00
..
_build
_intersphinx django_nose cleanup: we're using py.test 2014-12-22 15:52:49 +01:00
_static
_templates
extensions
screenshots Update docker Makefile commands and docs 2015-10-22 12:53:16 -05:00
settings Use pytest (bug 1090184) 2014-12-09 09:45:40 +01:00
topics Handle Personas in the search/detail API (fix #2660) 2016-05-18 19:27:12 +02:00
Makefile Build docs on make loop 2015-09-17 14:30:32 +01:00
README.rst Update readthedocs links. 2016-04-28 11:47:07 +02:00
__init__.py
build-github.zsh
conf.py Update readthedocs links. 2016-04-28 11:47:07 +02:00
index.rst Make some minor copywriting tweaks in docs 2016-03-17 16:08:16 +01:00
watcher.py

README.rst

============================
Add-ons Server Documentation
============================

This is the documentation for the use of the addons-server and its services.
All documentation is in plain text files using
`reStructuredText <http://docutils.sourceforge.net/rst.html>`_ and
`Sphinx <http://sphinx-doc.org/>`_.

To build the documentation, you need the dependencies from
``requirements/docs.txt``.  Those are automatically installed together with
``requirements/dev.txt``, so if you've installed that already (following the
:ref:`installation` page), you're all set.

If you're unsure, activate your ``virtualenv`` and run::

    make update_deps

The documentation is viewable at http://addons-server.readthedocs.io/, and
covers development using Add-ons Server, the source code for `Add-ons
<https://addons.mozilla.org/>`_.

Its source location is in the `/docs
<https://github.com/mozilla/addons-server/tree/master/docs>`_ folder.

Note: this project was once called *olympia*, this documentation often uses
that term.

Build the documentation
-----------------------

This is as simple as running::

    make docs

This is the same as ``cd``'ing to the ``docs`` folder, and running ``make
html`` from there.

We include a daemon that can watch and regenerate the built HTML when
documentation source files change. To use it, go to the ``docs`` folder
and run::

    python watcher.py 'make html' $(find . -name '*.rst')

Once done, check the result by opening the following file in your browser:

    /path/to/olympia/docs/_build/html/index.html