From fddf3430d8b3bb6bc60c6c69c344e7ae437ee894 Mon Sep 17 00:00:00 2001 From: Andrea Frittoli Date: Mon, 19 Feb 2018 18:34:43 +0000 Subject: [PATCH] Render devstack ansible roles via zuul-sphinx Change-Id: Ie0db5bcfdacc2543488704fe4428b68910bd6bf1 --- doc/requirements.txt | 1 + doc/source/conf.py | 2 +- doc/source/index.rst | 2 ++ doc/source/roles.rst | 4 ++++ 4 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 doc/source/roles.rst diff --git a/doc/requirements.txt b/doc/requirements.txt index e140bc0689..f65e9dfece 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -8,3 +8,4 @@ nwdiag blockdiag sphinxcontrib-blockdiag sphinxcontrib-nwdiag +zuul-sphinx>=0.2.0 diff --git a/doc/source/conf.py b/doc/source/conf.py index 780237fe58..e9708fae1d 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -26,7 +26,7 @@ import os # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = [ 'openstackdocstheme', 'sphinxcontrib.blockdiag', 'sphinxcontrib.nwdiag' ] +extensions = [ 'sphinx.ext.autodoc', 'zuul_sphinx', 'openstackdocstheme', 'sphinxcontrib.blockdiag', 'sphinxcontrib.nwdiag' ] # openstackdocstheme options repository_name = 'openstack-dev/devstack' diff --git a/doc/source/index.rst b/doc/source/index.rst index 47087c5a0b..9254c23cae 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -139,6 +139,8 @@ up to date to the latest devstack). Enable :doc:`devstack plugins ` to support additional services, features, and configuration not present in base devstack. +Use devstack in your CI with :doc:`Ansible roles ` for Zuul V3. + Get :doc:`the big picture ` of what we are trying to do with devstack, and help us by :doc:`contributing to the project `. diff --git a/doc/source/roles.rst b/doc/source/roles.rst new file mode 100644 index 0000000000..5baa1e4e82 --- /dev/null +++ b/doc/source/roles.rst @@ -0,0 +1,4 @@ +Roles +===== + +.. zuul:autoroles::