Skip to content

Commit

Permalink
doc(i18n): translate some extra stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-jerry-ye committed Jan 15, 2025
1 parent 52c4443 commit 7d74a5d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ build:
os: ubuntu-22.04
tools:
python: "3.13"
jobs:
pre_build:
- >
if [ "$READTHEDOCS_LANGUAGE" == "zh-cn" ]; then
export SPHINX_OPTS="$SPHINX_OPTS -D project='月兔' -D copyright='2025, 粤港澳大湾区数字经济研究院' -D author='粤港澳大湾区数字经济研究院'";
fi
sphinx:
configuration: next/conf.py
Expand Down
6 changes: 3 additions & 3 deletions next/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

project = 'MoonBit Document'
copyright = '2025, International Digital Economy Academy'
project = 'MoonBit'
author = 'International Digital Economy Academy'
copyright = '%Y, {author}'.format(author=author)
release = 'v0.1.20250113'

# -- General configuration ---------------------------------------------------
Expand Down Expand Up @@ -39,7 +39,7 @@
"use_edit_page_button": True,
"use_issues_button": True,
"logo": {
"text":"MoonBit Documentation",
"text":"MoonBit 月兔",
}
}
html_logo = "_static/logo.png"
Expand Down

0 comments on commit 7d74a5d

Please sign in to comment.