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

@@ -208,6 +208,9 @@ epub_title = project
# A list of files that should not be packed into the epub file.
epub_exclude_files = ["search.html"]
# Localization
locale_dirs = ['locale/']
gettext_compact = False
def setup(app):
app.add_css_file("css/huggingface.css")