From 35ff190958203e9b5c7abac8a50c4600f868691d Mon Sep 17 00:00:00 2001 From: KATO Tomoyuki Date: Tue, 12 Jul 2016 15:09:19 +0900 Subject: [PATCH] [www-index] skip unnecessary 'samples' directory It is used for sub directory at config reference: * config-reference/networking/samples * config-reference/telemetry/samples Change-Id: Idff86e173bae754bd9d28b51504e13489272e000 --- os_doc_tools/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os_doc_tools/index.py b/os_doc_tools/index.py index 4e0efdb0..583eebb2 100644 --- a/os_doc_tools/index.py +++ b/os_doc_tools/index.py @@ -36,7 +36,7 @@ def generate_index_file(publish_path): for root, dirs, files in os.walk(publish_path): dirs[:] = [d for d in dirs if d not in ['common', 'webapp', 'content', - 'www']] + 'www', 'samples']] # Ignore top-level index.html files if root == publish_path: