addons-server/docs
Andrew Williamson 3b887c1291
return the hero shelves with full localised fields (#16531)
* return the hero shelves with full localised fields

* refactor where we revert to another property in a serializer to FallbackField
2021-02-16 11:36:59 +00:00
..
_intersphinx django_nose cleanup: we're using py.test 2014-12-22 15:52:49 +01:00
_static
_templates
extensions Remove all usage of 'six' and as much compat code as I could f… (#11730) 2019-07-16 12:01:31 +02:00
screenshots Update docker Makefile commands and docs 2015-10-22 12:53:16 -05:00
settings Fixes #5379: Remove footer field from theme submission form (#7718) 2018-03-21 15:01:39 +01:00
topics return the hero shelves with full localised fields (#16531) 2021-02-16 11:36:59 +00:00
Makefile Build docs on make loop 2015-09-17 14:30:32 +01:00
README.rst Update requirements/docs.txt, install it explicitly to be self-containing. (#2891) 2016-06-14 17:20:55 +02:00
__init__.py
build-github.zsh
conf.py Update Browse and Compare API endpoints to allow for `file_only` (#14163) 2020-05-06 08:25:13 -04:00
index.rst change api docs to make v5 the default (#16303) 2021-01-12 16:20:18 +00: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
``make update_deps``, 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