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>
(cherry picked from commit 993ef63b66)
changes/22/701022/1
Daniel Alvarez 3 years ago
committed by Jakub Libosvar
parent
commit
4f347ea7e6
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      doc/source/conf.py

+ 3
- 2
doc/source/conf.py View File

@ -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