mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-13 09:40:06 +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:
|
build_doc:
|
||||||
working_directory: ~/transformers
|
working_directory: ~/transformers
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/python:3.6
|
- image: circleci/python:3.7.11
|
||||||
resource_class: large
|
resource_class: large
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
@ -733,7 +733,7 @@ jobs:
|
|||||||
deploy_doc:
|
deploy_doc:
|
||||||
working_directory: ~/transformers
|
working_directory: ~/transformers
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/python:3.6
|
- image: circleci/python:3.7.11
|
||||||
resource_class: large
|
resource_class: large
|
||||||
steps:
|
steps:
|
||||||
- add_ssh_keys:
|
- add_ssh_keys:
|
||||||
|
2
setup.py
2
setup.py
@ -140,7 +140,7 @@ _deps = [
|
|||||||
"sphinx-copybutton",
|
"sphinx-copybutton",
|
||||||
"sphinx-markdown-tables",
|
"sphinx-markdown-tables",
|
||||||
"sphinx-rtd-theme==0.4.3", # sphinx-rtd-theme==0.5.0 introduced big changes in the style.
|
"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",
|
"sphinxext-opengraph==0.4.1",
|
||||||
"sphinx-intl",
|
"sphinx-intl",
|
||||||
"starlette",
|
"starlette",
|
||||||
|
@ -57,7 +57,7 @@ deps = {
|
|||||||
"sphinx-copybutton": "sphinx-copybutton",
|
"sphinx-copybutton": "sphinx-copybutton",
|
||||||
"sphinx-markdown-tables": "sphinx-markdown-tables",
|
"sphinx-markdown-tables": "sphinx-markdown-tables",
|
||||||
"sphinx-rtd-theme": "sphinx-rtd-theme==0.4.3",
|
"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",
|
"sphinxext-opengraph": "sphinxext-opengraph==0.4.1",
|
||||||
"sphinx-intl": "sphinx-intl",
|
"sphinx-intl": "sphinx-intl",
|
||||||
"starlette": "starlette",
|
"starlette": "starlette",
|
||||||
|
Loading…
Reference in New Issue
Block a user