[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
This commit is contained in:
KATO Tomoyuki 2016-07-12 15:09:19 +09:00
parent ec4089b3ac
commit 35ff190958
1 changed files with 1 additions and 1 deletions

View File

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