[user-guides] Enhance exclude pattern

Update exclude pattern to avoid building files that are not used by one
guide.

Change-Id: I691aaf6e48df38e0a6395c749d1feedaa99c4252
This commit is contained in:
Andreas Jaeger 2015-11-22 19:17:10 +01:00
parent 1b616732cd
commit 64187d413a
2 changed files with 7 additions and 2 deletions

View File

@ -92,7 +92,9 @@ html_context = {"gitsha": gitsha, "bug_tag": bug_tag,
# List of patterns, relative to source directory, that match files and # List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files. # directories to ignore when looking for source files.
exclude_patterns = [] exclude_patterns = ['common/get_started_*',
'common/dashboard_customizing.rst']
# The reST default role (used for this markup: `text`) to use for all # The reST default role (used for this markup: `text`) to use for all
# documents. # documents.

View File

@ -92,7 +92,10 @@ html_context = {"gitsha": gitsha, "bug_tag": bug_tag,
# List of patterns, relative to source directory, that match files and # List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files. # directories to ignore when looking for source files.
exclude_patterns = ['common/nova*'] exclude_patterns = ['common/nova*',
'common/get_started_*',
'common/dashboard_customizing.rst'
]
# The reST default role (used for this markup: `text`) to use for all # The reST default role (used for this markup: `text`) to use for all
# documents. # documents.