addons-server/docs
Mathieu Pillard 697bffd6a9
Set REMOTE_ADDR correctly when requests are going through a CDN Shield (#22603)
* Set REMOTE_ADDR correctly when requests are going through a CDN Shield

https://www.fastly.com/documentation/guides/concepts/shielding/

CDN Shield is an additional PoP requests can go through, and their
IP is added to X-Forwarded-For so we need to look for the client IP
in a different place. The special X-AMO-Request-Shielded header is
set to "true" in that case.

* Tweak documentation about IP addresses and move them from middleware docstring to their own doc
2024-08-29 15:05:10 +02:00
..
_intersphinx Replace 'jinja2.contextfunction' with 'jinja2.pass_context' (#17466) 2021-07-13 13:36:20 +02:00
_static use .gitkeep instead of .gitignore; bug 687408 2013-09-19 07:56:17 -07:00
_templates use .gitkeep instead of .gitignore; bug 687408 2013-09-19 07:56:17 -07:00
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 Set REMOTE_ADDR correctly when requests are going through a CDN Shield (#22603) 2024-08-29 15:05:10 +02:00
Makefile Make up the docs (#22313) 2024-08-14 12:12:54 +02:00
README.md Make up the docs (#22313) 2024-08-14 12:12:54 +02:00
__init__.py Split off API docs (bug 854942) 2013-04-15 13:54:46 -05:00
build-github.zsh rm everything in gh-pages so old pages aren't left around + typo & pushd 2010-02-02 21:55:50 -08:00
conf.py chore(): add .md support in docs (#21522) 2023-12-06 17:56:40 +01:00
index.md Set REMOTE_ADDR correctly when requests are going through a CDN Shield (#22603) 2024-08-29 15:05:10 +02:00
watcher.py

README.md

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 primarily myST and is built using Sphinx. Some docs, especially API docs are still written using standard reStructuredText but most future documentation should be written in markdown.

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.

Its source location is in the /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