diff --git a/docs/conf.py b/docs/conf.py index a3f407909a8f4e..96e8290455e20c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -78,8 +78,6 @@ ('py:exc', 'BadOperationException'), ('py:exc', 'Exception'), ('py:exc', 'ValueError'), - ('py:class', 'integer -- return number of occurrences of value'), - ('py:class', 'integer -- return first index of value.'), ('py:class', 'http.client.HTTPMessage') ] diff --git a/docs/requirements.txt b/docs/requirements.txt index dafe2e97d21858..a1abe2892e249c 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,4 +1,4 @@ recommonmark==0.6.0 -# pin this to the last Py2 release -Sphinx==3.3.1 # pyup: <2.0 +# Pin this to the same major version as https://docs.python.org/3/ +Sphinx==2.4.4 # pyup: <2.0 sphinx-argparse==0.2.5