summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Gonzalez <dabarren@gmail.com>2017-07-13 16:25:51 +0100
committerEduardo Gonzalez <dabarren@gmail.com>2017-07-13 16:26:41 +0100
commit5289c6b42854f12bf0b28537fe4d3fc875311f66 (patch)
treeeb8aa6edd8bf6b301fd64e21388eb0ee49737e57
parent2b06f657d82af51e1a03d237247efb4c89396816 (diff)
downloadkolla-5289c6b42854f12bf0b28537fe4d3fc875311f66.tar.gz
kolla-5289c6b42854f12bf0b28537fe4d3fc875311f66.zip
Fix doc build warnings
Fix warnings: doc/image-building.rst:415:undefined label: deploy_a_registry (if the link has no caption the label must precede a section header) Change-Id: I8d921f3b05acf9304ccf41e172926887088b97d7
-rw-r--r--doc/image-building.rst8
-rw-r--r--setup.cfg1
-rw-r--r--tox.ini1
3 files changed, 7 insertions, 3 deletions
diff --git a/doc/image-building.rst b/doc/image-building.rst
index cd6962b28..074acc902 100644
--- a/doc/image-building.rst
+++ b/doc/image-building.rst
@@ -96,8 +96,9 @@ repository named ``mykollarepo``::
kolla-build -n mykollarepo --push
-To push images to a :ref:`local registry<deploy_a_registry>`, use
-``--registry`` flag::
+To push images to a `local registry
+<https://docs.openstack.org/kolla-ansible/latest/multinode.html#deploy-a-registry>`_,
+use ``--registry`` flag::
kolla-build --registry 172.22.2.81:5000 --push
@@ -415,7 +416,8 @@ To make kolla-ansible pull images from a local registry, set
``"docker_registry"`` to ``"172.22.2.81:5000"`` in
``"/etc/kolla/globals.yml"``. Make sure Docker is allowed to pull images from
insecure registry. See
-:ref:`Docker Insecure Registry Config <deploy_a_registry>`.
+`Docker Insecure Registry
+<https://docs.openstack.org/kolla-ansible/latest/multinode.html#deploy-a-registry>`_.
Building behind a proxy
-----------------------
diff --git a/setup.cfg b/setup.cfg
index 4eefef969..b1825339e 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -47,6 +47,7 @@ setup-hooks =
all_files = 1
build-dir = doc/build
source-dir = doc
+warning-is-error = 1
[build_releasenotes]
all_files = 1
diff --git a/tox.ini b/tox.ini
index 8ec8962d8..bcbd332fd 100644
--- a/tox.ini
+++ b/tox.ini
@@ -46,6 +46,7 @@ commands = {posargs}
[testenv:docs]
commands =
+ rm -rf doc/build
doc8 doc
python setup.py build_sphinx