diff --git a/autogenerate_config_docs/autohelp.py b/autogenerate_config_docs/autohelp.py index 008ac565..89a79488 100755 --- a/autogenerate_config_docs/autohelp.py +++ b/autogenerate_config_docs/autohelp.py @@ -397,7 +397,7 @@ def write_files(package_name, options, target, output_format): """ if not target: if output_format == 'rst': - target = '../../doc/config-ref-rst/source/tables' + target = '../../doc/config-reference/source/tables' else: target = '../../doc/common/tables/' options_by_cat = _get_options_by_cat(package_name) diff --git a/autogenerate_config_docs/extract_swift_flags.py b/autogenerate_config_docs/extract_swift_flags.py index 9c4f1245..2a8c87b7 100644 --- a/autogenerate_config_docs/extract_swift_flags.py +++ b/autogenerate_config_docs/extract_swift_flags.py @@ -202,7 +202,7 @@ def write_files(options, manuals_repo, output_format): tgt = (manuals_repo + '/doc/common/tables/' + 'swift-' + sample_filename + '-' + section + '.xml') else: - tgt = (manuals_repo + '/doc/config-ref-rst/source/tables/' + + tgt = (manuals_repo + '/doc/config-reference/source/tables/' + 'swift-' + sample_filename + '-' + section + '.rst') with open(tgt, 'w') as fd: @@ -219,7 +219,7 @@ def read_options(swift_repo, manuals_repo, read_from, verbose): if read_from == 'rst': options = get_existing_options_from_rst( glob.glob(manuals_repo + - '/doc/config-ref-rst/source/tables/swift*rst')) + '/doc/config-reference/source/tables/swift*rst')) else: options = get_existing_options( glob.glob(manuals_repo + '/doc/common/tables/swift*xml'))