mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Have sphinx turn errors into warnings
This commit is contained in:
parent
07f432796c
commit
c54f06f085
1 changed files with 5 additions and 2 deletions
|
@ -893,9 +893,12 @@ def docs(session):
|
|||
'''
|
||||
Build Salt's Documentation
|
||||
'''
|
||||
session.install('--progress-bar=off', '-r', 'requirements/static/py3.6/docs.txt', silent=PIP_INSTALL_SILENT)
|
||||
session.install(
|
||||
'--progress-bar=off',
|
||||
'-r', 'requirements/static/py{}/docs.txt'.format(session.python),
|
||||
silent=PIP_INSTALL_SILENT)
|
||||
os.chdir('doc/')
|
||||
session.run('make', 'clean', external=True)
|
||||
session.run('make', 'html', external=True)
|
||||
session.run('make', 'html', 'SPHINXOPTS=-W', external=True)
|
||||
session.run('tar', '-czvf', 'doc-archive.tar.gz', '_build/html')
|
||||
os.chdir('..')
|
||||
|
|
Loading…
Add table
Reference in a new issue