Add multilingual documentation support (#12952)

* Add multilingual documentation support

* Add multilingual documentation support

* make style

* make style

* revert
This commit is contained in:
Kevin Canwen Xu
2021-07-30 20:56:14 +08:00
committed by GitHub
parent fe6ff4a920
commit 8ff619d95e
3 changed files with 6 additions and 0 deletions

View File

@@ -142,6 +142,7 @@ _deps = [
"sphinx-rtd-theme==0.4.3", # sphinx-rtd-theme==0.5.0 introduced big changes in the style.
"sphinx==3.2.1",
"sphinxext-opengraph==0.4.1",
"sphinx-intl",
"starlette",
"tensorflow-cpu>=2.3",
"tensorflow>=2.3",
@@ -289,6 +290,7 @@ extras["docs_specific"] = deps_list(
"sphinx-rtd-theme",
"sphinx-copybutton",
"sphinxext-opengraph",
"sphinx-intl",
)
# "docs" needs "all" to resolve all the references
extras["docs"] = extras["all"] + extras["docs_specific"]