Skip to content

Commit 636b448

Browse files
committed
调整英文内容
1 parent 2d98a70 commit 636b448

10 files changed

+588
-121
lines changed

docs/.vitepress/config.mts

+65-49
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,31 @@ export default (defineConfig({
1515
// #region fav
1616
head: [
1717
['link', { rel: 'icon', href: '/logo.png' }],
18+
['script', {},
19+
`
20+
var _hmt = _hmt || [];
21+
(function() {
22+
var hm = document.createElement("script");
23+
hm.src = "https://hm.baidu.com/hm.js?457b1f311c48412b87b946117f8314fc";
24+
var s = document.getElementsByTagName("script")[0];
25+
s.parentNode.insertBefore(hm, s);
26+
})();
27+
`
28+
]
1829
],
1930
// #endregion fav
2031

2132
base: '/', //网站部署到github的vitepress这个仓库里
2233

2334
cleanUrls:true, //开启纯净链接无html
2435

36+
// 站点地图
37+
sitemap: {
38+
hostname: 'https://jenkinsguide.opsre.top',
39+
},
40+
2541
//启用深色模式
26-
appearance: 'dark',
42+
appearance: 'force-auto',
2743

2844
//多语言
2945
locales: {
@@ -205,54 +221,54 @@ export default (defineConfig({
205221
//Algolia搜索
206222
search: {
207223
provider: 'local',
208-
options: {
209-
appId: 'QVKQI62L15',
210-
apiKey: 'bef8783dde57293ce082c531aa7c7e0c',
211-
indexName: 'doc',
212-
locales: {
213-
root: {
214-
placeholder: '搜索文档',
215-
translations: {
216-
button: {
217-
buttonText: '搜索文档',
218-
buttonAriaLabel: '搜索文档'
219-
},
220-
modal: {
221-
searchBox: {
222-
resetButtonTitle: '清除查询条件',
223-
resetButtonAriaLabel: '清除查询条件',
224-
cancelButtonText: '取消',
225-
cancelButtonAriaLabel: '取消'
226-
},
227-
startScreen: {
228-
recentSearchesTitle: '搜索历史',
229-
noRecentSearchesText: '没有搜索历史',
230-
saveRecentSearchButtonTitle: '保存至搜索历史',
231-
removeRecentSearchButtonTitle: '从搜索历史中移除',
232-
favoriteSearchesTitle: '收藏',
233-
removeFavoriteSearchButtonTitle: '从收藏中移除'
234-
},
235-
errorScreen: {
236-
titleText: '无法获取结果',
237-
helpText: '你可能需要检查你的网络连接'
238-
},
239-
footer: {
240-
selectText: '选择',
241-
navigateText: '切换',
242-
closeText: '关闭',
243-
searchByText: '搜索提供者'
244-
},
245-
noResultsScreen: {
246-
noResultsText: '无法找到相关结果',
247-
suggestedQueryText: '你可以尝试查询',
248-
reportMissingResultsText: '你认为该查询应该有结果?',
249-
reportMissingResultsLinkText: '点击反馈'
250-
},
251-
},
252-
},
253-
},
254-
},
255-
},
224+
// options: {
225+
// appId: 'QVKQI62L15',
226+
// apiKey: 'bef8783dde57293ce082c531aa7c7e0c',
227+
// indexName: 'doc',
228+
// locales: {
229+
// root: {
230+
// placeholder: '搜索文档',
231+
// translations: {
232+
// button: {
233+
// buttonText: '搜索文档',
234+
// buttonAriaLabel: '搜索文档'
235+
// },
236+
// modal: {
237+
// searchBox: {
238+
// resetButtonTitle: '清除查询条件',
239+
// resetButtonAriaLabel: '清除查询条件',
240+
// cancelButtonText: '取消',
241+
// cancelButtonAriaLabel: '取消'
242+
// },
243+
// startScreen: {
244+
// recentSearchesTitle: '搜索历史',
245+
// noRecentSearchesText: '没有搜索历史',
246+
// saveRecentSearchButtonTitle: '保存至搜索历史',
247+
// removeRecentSearchButtonTitle: '从搜索历史中移除',
248+
// favoriteSearchesTitle: '收藏',
249+
// removeFavoriteSearchButtonTitle: '从收藏中移除'
250+
// },
251+
// errorScreen: {
252+
// titleText: '无法获取结果',
253+
// helpText: '你可能需要检查你的网络连接'
254+
// },
255+
// footer: {
256+
// selectText: '选择',
257+
// navigateText: '切换',
258+
// closeText: '关闭',
259+
// searchByText: '搜索提供者'
260+
// },
261+
// noResultsScreen: {
262+
// noResultsText: '无法找到相关结果',
263+
// suggestedQueryText: '你可以尝试查询',
264+
// reportMissingResultsText: '你认为该查询应该有结果?',
265+
// reportMissingResultsLinkText: '点击反馈'
266+
// },
267+
// },
268+
// },
269+
// },
270+
// },
271+
// },
256272
},
257273

258274

docs/.vitepress/theme/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ export default {
102102
giscusTalk({
103103
repo: 'opsre/JenkinsGuide', //仓库
104104
repoId: 'R_kgDON4RvxA', //仓库ID
105-
category: 'Announcements', // 讨论分类
106-
categoryId: 'DIC_kwDON4RvxM4CnUkg', //讨论分类ID
105+
category: 'General', // 讨论分类
106+
categoryId: 'DIC_kwDOGYFl1M4CayLN', //讨论分类ID
107107
mapping: 'pathname',
108108
inputPosition: 'bottom',
109109
lang: 'zh-CN',

docs/begining/why-study-jenkins.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
> [!IMPORTANT]
44
> 为什么不学,想不出来,那就学!
55
6-
![](https://cdn.jsdelivr.net/gh/eryajf/tu/img/image_20230228_121314.jpg)
6+
![](https://pic8.58cdn.com.cn/nowater/im/n_v32c721a1c2dd94928982197880cb0aebe.jpeg)

0 commit comments

Comments
 (0)