Skip to content

Commit

Permalink
Add internationalization for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekjoshy committed Dec 6, 2022
1 parent 53f5c58 commit e202272
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@
ogp_type = "website"
ogp_enable_meta_description = True

# Internationalization
language = None
locale_dirs = ['locale/']
gettext_compact = False

python_version = ".".join(map(str, sys.version_info[0:2]))
intersphinx_mapping = {
"sphinx": ("http://www.sphinx-doc.org/en/stable", None),
Expand Down
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ Sphinx
furo
myst-parser
sphinxext-opengraph
sphinx-intl
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ docs =
Pygments
myst-parser
sphinxext-opengraph
sphinx-intl
tests =
pytest
pytest-cov
Expand Down

0 comments on commit e202272

Please sign in to comment.