Update web-platform-tests to revision 9ca57e052ba1b19fa3dd46c6aa656e8d529469a8

This commit is contained in:
WPT Sync Bot 2020-09-12 08:20:19 +00:00
parent 68cb8f3d59
commit 75d6484415
1377 changed files with 31062 additions and 16983 deletions

View file

@ -16,6 +16,7 @@ import os
import sys
sys.path.insert(0, os.path.abspath('..'))
sys.path.insert(0, os.path.abspath('../tools/wptserve'))
sys.path.insert(0, os.path.abspath('../tools/third_party/pywebsocket3'))
sys.path.insert(0, os.path.abspath('../tools'))
import localpaths
@ -44,7 +45,9 @@ extensions = [
'recommonmark',
'sphinxarg.ext',
'sphinx.ext.autodoc',
'sphinx.ext.intersphinx'
'sphinx.ext.intersphinx',
# Google-style Python docs
'sphinx.ext.napoleon',
]
# Add any paths that contain templates here, relative to this directory.
@ -59,10 +62,23 @@ source_suffix = '.rst'
# The master toctree document.
master_doc = 'index'
# These values are used in the documentation of wptserve but are not recognized
# by Sphinx.
# These values are used in third-party documentation not recognized by Sphinx.
# https://stackoverflow.com/questions/51824453/how-to-document-parameter-of-type-function-in-sphinx
nitpick_ignore = [('py:class', 'Callable'), ('py:obj', 'None')]
nitpick_ignore = [
# wptserve
('py:class', 'Callable'),
('py:obj', 'None'),
# pywebsocket3
('py:exc', 'AbortedByUserException'),
('py:exc', 'HandshakeException'),
('py:exc', 'InvalidFrameException'),
('py:exc', 'UnsupportedFrameException'),
('py:exc', 'InvalidUTF8Exception'),
('py:exc', 'ConnectionTerminatedException'),
('py:exc', 'BadOperationException'),
('py:exc', 'Exception'),
('py:exc', 'ValueError'),
]
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.