mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
Don't check the doc/conf.py file for doc markup refs
This commit is contained in:
parent
770e732d76
commit
62978cb7a0
@ -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…
Reference in New Issue
Block a user