Skip to content

Commit ffecfea

Browse files
authored
Correct wrong function signatures on the docs website (huggingface#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
1 parent 98e409a commit ffecfea

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ jobs:
711711
build_doc:
712712
working_directory: ~/transformers
713713
docker:
714-
- image: circleci/python:3.6
714+
- image: circleci/python:3.7.11
715715
resource_class: large
716716
steps:
717717
- checkout
@@ -733,7 +733,7 @@ jobs:
733733
deploy_doc:
734734
working_directory: ~/transformers
735735
docker:
736-
- image: circleci/python:3.6
736+
- image: circleci/python:3.7.11
737737
resource_class: large
738738
steps:
739739
- add_ssh_keys:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
"sphinx-copybutton",
141141
"sphinx-markdown-tables",
142142
"sphinx-rtd-theme==0.4.3", # sphinx-rtd-theme==0.5.0 introduced big changes in the style.
143-
"sphinx==3.2.1",
143+
"sphinx==3.5.4",
144144
"sphinxext-opengraph==0.4.1",
145145
"sphinx-intl",
146146
"starlette",

src/transformers/dependency_versions_table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"sphinx-copybutton": "sphinx-copybutton",
5858
"sphinx-markdown-tables": "sphinx-markdown-tables",
5959
"sphinx-rtd-theme": "sphinx-rtd-theme==0.4.3",
60-
"sphinx": "sphinx==3.2.1",
60+
"sphinx": "sphinx==3.5.4",
6161
"sphinxext-opengraph": "sphinxext-opengraph==0.4.1",
6262
"sphinx-intl": "sphinx-intl",
6363
"starlette": "starlette",

0 commit comments

Comments
 (0)