Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 065176c

Browse files
add ref
1 parent 4524e00 commit 065176c

File tree

3 files changed

+45
-43
lines changed

3 files changed

+45
-43
lines changed

‎docs/index.html

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -120,37 +120,37 @@
120120
window.$docsify = {
121121
loadNavbar: true,
122122
search: {
123-
placeholder: '搜索...',
123+
placeholder: "搜索...",
124124
},
125-
name: 'Arch Linux 安装使用教程 - ArchTutorial - Arch Linux Studio',
125+
name: "Arch Linux 安装使用教程 - ArchTutorial - Arch Linux Studio",
126126
loadSidebar: true,
127127
auto2top: true,
128-
logo: './arch.svg',
128+
logo: "./arch.svg",
129129
topMargin: 90,
130130
notFoundPage: true,
131131
subMaxLevel: 4,
132-
themeColor: 'rgb(23,147,209)',
133-
repo: 'https://github.com/ArchLinuxStudio/ArchLinuxTutorial',
134-
formatUpdated: '{YYYY}-{MM}-{DD}',
132+
themeColor: "rgb(23,147,209)",
133+
repo: "https://github.com/ArchLinuxStudio/ArchLinuxTutorial",
134+
formatUpdated: "{YYYY}-{MM}-{DD}",
135135
pagination: {
136-
previousText: 'Previous',
137-
nextText: 'Next',
136+
previousText: "Previous",
137+
nextText: "Next",
138138
crossChapter: true,
139139
crossChapterText: true,
140140
},
141141
plugins: [
142142
function (hook, vm) {
143143
hook.beforeEach(function (html) {
144144
let edit_url =
145-
'https://github.com/ArchLinuxStudio/ArchLinuxTutorial/blob/master/docs/' +
145+
"https://github.com/ArchLinuxStudio/ArchLinuxTutorial/blob/master/docs/" +
146146
vm.route.file;
147-
let editHtml = '[📝 Edit This Page](' + edit_url + ')\n';
147+
let editHtml = "[📝 Edit This Page](" + edit_url + ")\n";
148148

149-
let client_id = '296c581fc4b2a837a1e3';
150-
let client_secret = '7e7f0ad1809fa4a1915430ade04835f6849ab56a';
149+
let client_id = "296c581fc4b2a837a1e3";
150+
let client_secret = "7e7f0ad1809fa4a1915430ade04835f6849ab56a";
151151

152152
let date_url =
153-
'https://api.github.com/repos/ArchLinuxStudio/ArchLinuxTutorial/commits?per_page=1&path=docs/' +
153+
"https://api.github.com/repos/ArchLinuxStudio/ArchLinuxTutorial/commits?per_page=1&path=docs/" +
154154
vm.config.basePath +
155155
encodeURIComponent(vm.route.file);
156156

@@ -163,30 +163,30 @@
163163
return response.json();
164164
})
165165
.then((commits) => {
166-
let modified = commits[0]['commit']['committer'][
167-
'date'
166+
let modified = commits[0]["commit"]["committer"][
167+
"date"
168168
].slice(0, 10);
169-
document.getElementById('last-modified').textContent =
170-
'Update date: ' + modified;
169+
document.getElementById("last-modified").textContent =
170+
"Update date: " + modified;
171171
});
172172

173173
return (
174174
'<span id="last-modified">Update date: Fetching...</span>' +
175-
'\n' +
175+
"\n" +
176176
html +
177-
'\n----\n' +
177+
"\n----\n" +
178178
editHtml
179179
);
180180
});
181181

182182
hook.mounted(function () {
183183
// 添加网站运行时间
184184
let dom = Docsify.dom;
185-
let runTimeNode = dom.create('div');
186-
runTimeNode.className = 'runtime';
185+
let runTimeNode = dom.create("div");
186+
runTimeNode.className = "runtime";
187187
runTimeNode.style =
188-
'color: #8590a6;max-width: 80%;margin: 0 auto 20px;padding: 0 15px 0 15px;';
189-
dom.appendTo(dom.find('.content'), runTimeNode);
188+
"color: #8590a6;max-width: 80%;margin: 0 auto 20px;padding: 0 15px 0 15px;";
189+
dom.appendTo(dom.find(".content"), runTimeNode);
190190
});
191191
},
192192
],
@@ -209,37 +209,37 @@
209209
<script>
210210
addBackToTop({
211211
diameter: 56,
212-
backgroundColor: 'rgb(23,147,209)',
213-
textColor: '#fff',
212+
backgroundColor: "rgb(23,147,209)",
213+
textColor: "#fff",
214214
});
215215
</script>
216216

217217
<script>
218-
let client_id = '296c581fc4b2a837a1e3';
219-
let client_secret = '7e7f0ad1809fa4a1915430ade04835f6849ab56a';
218+
let client_id = "296c581fc4b2a837a1e3";
219+
let client_secret = "7e7f0ad1809fa4a1915430ade04835f6849ab56a";
220220

221221
let props = {
222222
clientID: client_id,
223223
clientSecret: client_secret,
224-
repo: 'ArchLinuxTutorialComments',
225-
owner: 'ArchLinuxStudio',
226-
admin: ['ryosukeeeeee'],
224+
repo: "ArchLinuxTutorialComments",
225+
owner: "ArchLinuxStudio",
226+
admin: ["ryosukeeeeee"],
227227
// facebook-like distraction free mode
228228
distractionFreeMode: false,
229-
id: decodeURI(location.hash.split('?')[0]),
230-
language: 'en',
229+
id: decodeURI(location.hash.split("?")[0]),
230+
language: "en",
231231
};
232232
let gitalk = new Gitalk(props);
233233
// 哈希路由切换时 重新加载Gitalk
234-
window.addEventListener('hashchange', onHashChange);
234+
window.addEventListener("hashchange", onHashChange);
235235
function onHashChange() {
236-
props.id = decodeURI(location.hash.split('?')[0]); //如果不切分,在docsify里面的各个段落都会生成新的评论issue
236+
props.id = decodeURI(location.hash.split("?")[0]); //如果不切分,在docsify里面的各个段落都会生成新的评论issue
237237
}
238238
</script>
239239
<script>
240240
function change_search_plugin_order() {
241-
let search_plugin = document.getElementsByClassName('search')[0];
242-
let app_name = document.getElementsByClassName('app-name')[0];
241+
let search_plugin = document.getElementsByClassName("search")[0];
242+
let app_name = document.getElementsByClassName("app-name")[0];
243243
search_plugin.parentNode.insertBefore(app_name, search_plugin);
244244
}
245245
setTimeout(change_search_plugin_order, 1);
@@ -261,7 +261,7 @@
261261
let todayMinute = today.getMinutes();
262262
let todaySecond = today.getSeconds();
263263

264-
let t1 = Date.UTC(2020, 09, 1, 0, 0, 0);
264+
let t1 = Date.UTC(2020, 9, 1, 0, 0, 0);
265265
let t2 = Date.UTC(
266266
todayYear,
267267
todayMonth,
@@ -280,16 +280,16 @@
280280
(diff - diffDays * days - diffHours * hours - diffMinutes * minutes) /
281281
seconds
282282
);
283-
Docsify.dom.find('.runtime').innerHTML =
284-
'Arch Linux Studio has been running for ' +
283+
Docsify.dom.find(".runtime").innerHTML =
284+
"Arch Linux Studio has been running for " +
285285
diffDays +
286-
' days ' +
286+
" days " +
287287
diffHours +
288-
' hours ' +
288+
" hours " +
289289
diffMinutes +
290-
' minutes ' +
290+
" minutes " +
291291
diffSeconds +
292-
' seconds';
292+
" seconds";
293293
}
294294
// 先让网页加载完,否则 Docsify.dom.find('.runtime') == null
295295
setTimeout(siteTime, 500);

‎docs/play&office/play.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ Ref:
8585
- https://bbs.archlinux.org/viewtopic.php?id=249982
8686
- https://archlinux.org/packages/?q=gst
8787
- https://aur.archlinux.org/packages/lib32-gst-plugins-ugly
88+
- https://docs.usebottles.com/faq/video-gstreamer-problems
8889

8990
## 性能提升
9091

‎docs/uk/play&office/play.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ Ref:
8585
- https://bbs.archlinux.org/viewtopic.php?id=249982
8686
- https://archlinux.org/packages/?q=gst
8787
- https://aur.archlinux.org/packages/lib32-gst-plugins-ugly
88+
- https://docs.usebottles.com/faq/video-gstreamer-problems
8889

8990
## Performance improvement
9091

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /