Skip to content

Commit 7aca970

Browse files
Myhs-phzstephen-nju
authored andcommitted
[Doc] Fix links between zh & en (open-compass#2001)
* test * test * test
1 parent c6da057 commit 7aca970

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/en/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ def get_version():
117117
'js/custom.js'
118118
]
119119

120+
html_context = {
121+
'github_version': 'main',
122+
}
123+
120124
# -- Options for HTMLHelp output ---------------------------------------------
121125

122126
# Output file base name for HTML help builder.

docs/zh_cn/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ def get_version():
117117
'js/custom.js'
118118
]
119119

120+
html_context = {
121+
'github_version': 'main',
122+
}
123+
120124
# -- Options for HTMLHelp output ---------------------------------------------
121125

122126
# Output file base name for HTML help builder.

0 commit comments

Comments
 (0)