mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 17:06:16 +03:00
skip_api_docs option in docs/conf.py
This commit is contained in:
parent
fa1db45a11
commit
458a929706
10
docs/conf.py
10
docs/conf.py
|
@ -283,3 +283,13 @@ epub_copyright = u'2013, Author'
|
|||
|
||||
# Allow duplicate toc entries.
|
||||
#epub_tocdup = True
|
||||
|
||||
# skip_api_docs setting will skip PIL.rst if True. Used for working on the
|
||||
# guides; makes livereload basically instantaneous.
|
||||
def setup(app):
|
||||
app.add_config_value('skip_api_docs', False, True)
|
||||
|
||||
skip_api_docs = False
|
||||
|
||||
if skip_api_docs:
|
||||
exclude_patterns = ['_build', 'PIL.rst']
|
||||
|
|
Loading…
Reference in New Issue
Block a user