Skip to content

Commit

Permalink
[doc] Add support for internationalization of documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
evilaliv3 committed Jan 11, 2024
1 parent f2bdc56 commit ed3eaf1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions documentation/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,8 @@
'style_nav_header_background': '#377abc',
}

locale_dirs = ['locale/']
gettext_compact = False

def setup(app):
app.add_css_file("custom.css")
1 change: 1 addition & 0 deletions documentation/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
sphinx
sphinx-intl
sphinx_rtd_theme

0 comments on commit ed3eaf1

Please sign in to comment.