Merge pull request #1421 from ceph/tox-docs

tox-driven docs
pull/1425/head
Alfredo Deza 2017-04-10 07:56:40 -04:00 committed by GitHub
commit 67d83586f3
9 changed files with 82 additions and 5 deletions

View File

@ -6,6 +6,6 @@ Glossary
:maxdepth: 3 :maxdepth: 3
:caption: Contents: :caption: Contents:
testing/contents testing/glossary
index index

View File

@ -12,7 +12,7 @@ Testing
======= =======
* :doc:`Testing with ceph-ansible <testing/index>` * :doc:`Testing with ceph-ansible <testing/index>`
* :doc:`Glossary <testing/contents>` * :doc:`Glossary <testing/glossary>`
OSDs OSDs

View File

@ -11,5 +11,5 @@ Glossary
scenarios.rst scenarios.rst
modifying.rst modifying.rst
layout.rst layout.rst
tests.rst
tox.rst

View File

@ -27,7 +27,7 @@ a behavior.
* **Adding or modifying a scenario:** * **Adding or modifying a scenario:**
:ref:`scenario_conventions` | :ref:`scenario_conventions` |
:ref:`scenario_environment_configuration` | :ref:`scenario_environment_configuration` |
:ref:`scneario_ansible_configuration` | :ref:`scenario_ansible_configuration` |
* **Custom/development repositories and packages:** * **Custom/development repositories and packages:**
:ref:`tox_environment_variables` | :ref:`tox_environment_variables` |

View File

@ -28,3 +28,13 @@ At the very least, a scenario will need these files:
machines, networks, disks, linux distro/version, can be defined. machines, networks, disks, linux distro/version, can be defined.
.. _test_conventions:
Conventions
-----------
.. _testinfra:
``testinfra``
-------------

View File

@ -3,3 +3,28 @@
Test Scenarios Test Scenarios
============== ==============
.. _scenario_files:
Scenario Files
--------------
.. _scenario_wiring:
Scenario Wiring
---------------
.. _scenario_conventions:
Conventions
-----------
.. _scenario_environment_configuration:
Environment configuration
-------------------------
.. _scenario_ansible_configuration:
Ansible configuration
---------------------

View File

@ -0,0 +1,10 @@
.. _tests:
Tests
=====
.. _test_files:
Test Files
----------

View File

@ -0,0 +1,22 @@
.. _tox:
``tox``
=======
.. _tox_environment_variables:
Environment variables
---------------------
.. _tox_sections:
Sections
--------
.. _tox_environments:
Modifying or Adding environments
--------------------------------

10
docs/tox.ini 100644
View File

@ -0,0 +1,10 @@
[tox]
envlist = docs
skipsdist = True
[testenv:docs]
basepython=python
changedir=source
deps=sphinx
commands=
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html