mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Don't check the doc/conf.py file for doc markup refs
This commit is contained in:
parent
770e732d76
commit
62978cb7a0
1 changed files with 7 additions and 6 deletions
|
@ -48,12 +48,13 @@ class DocTestCase(TestCase):
|
|||
|
||||
key, val = line.split(':', 1)
|
||||
|
||||
# Don't test man pages or this file
|
||||
if 'man' in key or key.endswith('doc_test.py'):
|
||||
continue
|
||||
|
||||
# Don't test the page that documents to not use ":doc:"
|
||||
if key.endswith('/conventions/documentation.rst'):
|
||||
# Don't test man pages, this file,
|
||||
# the page that documents to not use ":doc:", or
|
||||
# the doc/conf.py file
|
||||
if 'man' in key \
|
||||
or key.endswith('doc_test.py') \
|
||||
or key.endswith('doc/conf.py') \
|
||||
or key.endswith('/conventions/documentation.rst'):
|
||||
continue
|
||||
|
||||
# Set up test return dict
|
||||
|
|
Loading…
Add table
Reference in a new issue