generate conf on doc build

Change-Id: I83db618116cb56574f67738e008001ff7074799e
This commit is contained in:
gord chung 2017-07-24 22:44:49 +00:00
parent 7ce164a254
commit 1e60a368ae
2 changed files with 7 additions and 1 deletions

1
.gitignore vendored
View File

@ -11,6 +11,7 @@ cover/*
dist/*
doc/build
doc/source/api/
doc/source/_static/
etc/ceilometer/ceilometer.conf
subunit.log

View File

@ -46,8 +46,13 @@ extensions = [
'sphinx.ext.viewcode',
'sphinxcontrib.pecanwsme.rest',
'sphinxcontrib.httpdomain',
'oslo_config.sphinxconfiggen',
]
config_generator_config_file = os.path.join(ROOT,
'etc/ceilometer/ceilometer-config-generator.conf')
sample_config_basename = '_static/ceilometer'
wsme_protocols = ['restjson', 'restxml']
todo_include_todos = True
@ -139,7 +144,7 @@ bug_tag = ''
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
#html_static_path = ['_static']
html_static_path = ['_static']
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.