bootstrap-vz/docs
2016-09-12 19:20:22 +02:00
..
_static Fix a slew of indentation & spacing issues 2016-06-04 11:38:16 +02:00
api Flatten docs structure 2015-04-16 23:34:46 +02:00
developers docs/developers: Encourage using rel_path in validate_manifest 2016-09-12 19:20:22 +02:00
manifests Add some docs for the official manifests 2015-06-13 20:25:45 +02:00
plugins Repeat index/README pattern for plugins & providers 2015-04-16 23:52:07 +02:00
providers Repeat index/README pattern for plugins & providers 2015-04-16 23:52:07 +02:00
testing Rename integration tests to system tests, since they cover the entire system 2016-03-04 00:48:48 +01:00
.gitignore Sphinx API documentation 2014-04-02 21:26:14 +02:00
__init__.py Generate task graph data through sphinx conf.py 2015-04-11 16:40:44 +02:00
changelog.rst Include changelog in docs (converted it to rst) 2015-04-11 17:12:31 +02:00
conf.py Convert indentation from tabs to spaces (4) 2016-06-04 11:38:16 +02:00
index.rst Add some docs for the official manifests 2015-06-13 20:25:45 +02:00
logging.rst Split up development page 2014-05-10 16:56:26 +02:00
README.rst Add documentation about the documentation 2015-04-19 14:41:21 +02:00
remote_bootstrapping.rst Add README for remote bootstrapping 2015-04-16 23:32:19 +02:00
supported_builds.rst Add links to GitHub profiles on Supported Builds 2016-02-09 17:37:30 -02:00
taskoverview.py Convert indentation from tabs to spaces (4) 2016-06-04 11:38:16 +02:00
transform_github_links.py Convert indentation from tabs to spaces (4) 2016-06-04 11:38:16 +02:00

:orphan:


Documentation
=============
Both the end-user and developer documentation is combined into a single sphinx
build (the two were previously split between github pages and sphinx).


Building
--------
To build the documentation, simply run ``tox -e docs`` in the project root.
Serving the docs through http can be achieved by subsequently running
``(cd docs/_build/html; python -m SimpleHTTPServer 8080)`` and accessing them
on ``http://localhost:8080/``.


READMEs
-------
Many of the folders in the project have a README.rst which describes
the purpose of the contents in that folder.
These files are automatically included when building the documentation,
through use of the `include`__ directive.

__ http://docutils.sourceforge.net/docs/ref/rst/directives.html#including-an-external-document-fragment

Include files for the providers and plugins are autogenerated
through the sphinx conf.py script.


Links
-----
All links in rst files outside of ``docs/`` (but also ``docs/README.rst``) that
link to other rst files are relative and reference folder names when the link
would point at a README.rst otherwise. This is done to take advantage of the
github feature where README files are displayed when viewing its parent folder.
When accessing the ``manifests/`` folder for example, the documentation for how
manifests work is displayed at the bottom.

When sphinx generates the documentation, these relative links are
automatically converted into relative links that work inside the generated
html pages instead.
If you are interested in how this works, take a look at the
link transformation module in ``docs/transform_github_links``.