[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:
parent
ec4089b3ac
commit
35ff190958
@ -36,7 +36,7 @@ def generate_index_file(publish_path):
|
|||||||
for root, dirs, files in os.walk(publish_path):
|
for root, dirs, files in os.walk(publish_path):
|
||||||
|
|
||||||
dirs[:] = [d for d in dirs if d not in ['common', 'webapp', 'content',
|
dirs[:] = [d for d in dirs if d not in ['common', 'webapp', 'content',
|
||||||
'www']]
|
'www', 'samples']]
|
||||||
|
|
||||||
# Ignore top-level index.html files
|
# Ignore top-level index.html files
|
||||||
if root == publish_path:
|
if root == publish_path:
|
||||||
|
Loading…
Reference in New Issue
Block a user