Report sphinx extension is thread safe

This updates the extension to return values to indicate it can be run
multithreaded. This allows consumers of the extension to use multiple
threads when building documentation, since sphinx either requires all
projects are thread safe, or else it emits a warning that many of our
projects then fail the build on with treating warnings as errors.

Change-Id: Ie7ce3a3d1c592debf302117fce2c0f3fae0b19a2
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
Sean McGinnis 2020-07-14 13:33:50 -05:00
parent 623f5bbe77
commit e128cef7b5
No known key found for this signature in database
GPG Key ID: CE7EE4BFAF8D70C8
1 changed files with 4 additions and 0 deletions

View File

@ -491,3 +491,7 @@ def setup(app):
app.add_directive('support_matrix', Directive)
app.add_css_file('support-matrix.css')
app.connect('build-finished', on_build_finished)
return {
'parallel_read_safe': True,
'parallel_write_safe': True,
}