Browse Source

Fix wrong path in doc config

This patch fixes wrong path which prevents doc from being correctly
built.

Change-Id: I865da811157aa41bf0c7f1cf1089b93cb373707e
Closes-Bug: #1795883
Signed-off-by: Daniel Alvarez <dalvarez@redhat.com>
changes/42/607542/2
Daniel Alvarez 3 years ago
parent
commit
993ef63b66
  1. 5
      doc/source/conf.py

5
doc/source/conf.py

@ -91,10 +91,11 @@ _config_generator_config_files = [
]
def _get_config_generator_config_definition(config_file):
config_file_path = '../../etc/oslo-config-generator/%s' % conf
config_file_path = '../../etc/oslo-config-generator/%s' % config_file
# oslo_config.sphinxconfiggen appends '.conf.sample' to the filename,
# strip file extentension (.conf or .ini).
output_file_path = '_static/config_samples/%s' % conf.rsplit('.', 1)[0]
output_file_path = '_static/config_samples/%s' % config_file.rsplit('.',
1)[0]
return (config_file_path, output_file_path)

Loading…
Cancel
Save