From 9f9082d6bff20d627300438c6508aecd16a2580c Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 22 Mar 2017 11:38:19 +0100 Subject: [PATCH] Delete doc/build/html/.root-marker This file is not needed to be stored in git at all, remove it. It will be added during publishing process by CI scripts and is only needed for publishing to docs.openstack.org. Add doc/build to gitignore file so that no new content will be checked in. Add api/autoindex.rst to toctree to fix build. Add usual build_sphinx stanza to setup.cfg so that building and publishing in OpenStack CI works. These parameter are crucial. Change-Id: I5d436851b9d58a1c86fc771c5f38e449cdebc6e2 --- .gitignore | 1 + doc/build/html/.root-marker | 0 doc/source/index.rst | 5 +++++ setup.cfg | 5 +++++ 4 files changed, 11 insertions(+) delete mode 100644 doc/build/html/.root-marker diff --git a/.gitignore b/.gitignore index 16390bc..7603adb 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ AUTHORS ChangeLog monasca_transform.egg-info tools/vagrant/.vagrant +doc/build/* diff --git a/doc/build/html/.root-marker b/doc/build/html/.root-marker deleted file mode 100644 index e69de29..0000000 diff --git a/doc/source/index.rst b/doc/source/index.rst index e617f9f..cc2a982 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -17,3 +17,8 @@ ================= Monasca-transform ================= + +.. toctree:: + + api/autoindex.rst + diff --git a/setup.cfg b/setup.cfg index 0191971..5c6ac79 100644 --- a/setup.cfg +++ b/setup.cfg @@ -45,3 +45,8 @@ autodoc_index_modules = True tag_build = tag_date = 0 tag_svn_revision = 0 + +[build_sphinx] +all_files = 1 +build-dir = doc/build +source-dir = doc/source