Skip to content

Commit

Permalink
feat:优化说明部分内容 TencentBlueKing#2643
Browse files Browse the repository at this point in the history
* bug:优化说明部分内容 TencentBlueKing#2643

* bug:优化说明部分内容 TencentBlueKing#2643

* bug:优化说明部分内容 TencentBlueKing#2643

* bug:优化说明部分内容 TencentBlueKing#2643

* bug:优化说明部分内容 TencentBlueKing#2643

* bug:优化说明部分内容 TencentBlueKing#2643

* feat:优化说明部分内容 TencentBlueKing#2643
  • Loading branch information
lannoy0523 authored Oct 14, 2024
1 parent 1abcf1a commit 9df24ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/frontend/devops-repository/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
// 区分社区版与内部版 community -> 社区 tencent -> 内部
var RELEASE_MODE = '__BK_REPO_RELEASE_MODE__' || 'community'
// 存放文档中心的url
var DOC_URL = '__BK_REPO_DOCS_FQDN__' ? '__BK_REPO_DOCS_FQDN__/bk--docs--center' : 'bk.tencent.com/docs'
var DOC_URL = '__BK_REPO_DOCS_FQDN__'|| 'https://bk.tencent.com/docs'

</script>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,7 @@
},
clickHelps (id) {
const languagePath = this.language === 'zh-cn' ? 'ZH' : 'EN'
const urlHead = document.location.protocol === 'https:' ? 'https://' : 'http://'
const url = urlHead + DOC_URL + '/markdown/' + languagePath + '/Devops/3.0/UserGuide/intro/README.md'
const url = DOC_URL + '/markdown/' + languagePath + '/Devops/3.0/UserGuide/intro/README.md'
switch (id) {
case 'documentation':
window.open(url, '_blank')
Expand Down

0 comments on commit 9df24ec

Please sign in to comment.