mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-03 21:00:08 +06:00
Correct wrong function signatures on the docs website (#13198)
* Correct outdated function signatures on website. * Upgrade sphinx to 3.5.4 (latest 3.x) * Test * Test * Test * Test * Test * Test * Revert unnecessary changes. * Change sphinx version to 3.5.4" * Test python 3.7.11
This commit is contained in:
parent
98e409abb3
commit
ffecfea949
@ -711,7 +711,7 @@ jobs:
|
||||
build_doc:
|
||||
working_directory: ~/transformers
|
||||
docker:
|
||||
- image: circleci/python:3.6
|
||||
- image: circleci/python:3.7.11
|
||||
resource_class: large
|
||||
steps:
|
||||
- checkout
|
||||
@ -733,7 +733,7 @@ jobs:
|
||||
deploy_doc:
|
||||
working_directory: ~/transformers
|
||||
docker:
|
||||
- image: circleci/python:3.6
|
||||
- image: circleci/python:3.7.11
|
||||
resource_class: large
|
||||
steps:
|
||||
- add_ssh_keys:
|
||||
|
2
setup.py
2
setup.py
@ -140,7 +140,7 @@ _deps = [
|
||||
"sphinx-copybutton",
|
||||
"sphinx-markdown-tables",
|
||||
"sphinx-rtd-theme==0.4.3", # sphinx-rtd-theme==0.5.0 introduced big changes in the style.
|
||||
"sphinx==3.2.1",
|
||||
"sphinx==3.5.4",
|
||||
"sphinxext-opengraph==0.4.1",
|
||||
"sphinx-intl",
|
||||
"starlette",
|
||||
|
@ -57,7 +57,7 @@ deps = {
|
||||
"sphinx-copybutton": "sphinx-copybutton",
|
||||
"sphinx-markdown-tables": "sphinx-markdown-tables",
|
||||
"sphinx-rtd-theme": "sphinx-rtd-theme==0.4.3",
|
||||
"sphinx": "sphinx==3.2.1",
|
||||
"sphinx": "sphinx==3.5.4",
|
||||
"sphinxext-opengraph": "sphinxext-opengraph==0.4.1",
|
||||
"sphinx-intl": "sphinx-intl",
|
||||
"starlette": "starlette",
|
||||
|
Loading…
Reference in New Issue
Block a user