Skip to content

Commit c37fe59

Browse files
committed
deploy: 9507f71
1 parent 713f0b6 commit c37fe59

File tree

16 files changed

+307
-76
lines changed

16 files changed

+307
-76
lines changed

404.html

-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626
<link href="/css/print-site.css" rel="stylesheet">
2727
<link href="/css/print-site-mkdocs.css" rel="stylesheet">
2828
<link href="/extra.css" rel="stylesheet">
29-
<link href="https://cdn.jsdelivr.net/npm/@fontsource/[email protected]/index.min.css" rel="stylesheet">
30-
<link href="https://cdn.jsdelivr.net/npm/[email protected]/css/jetbrains-mono.min.css" rel="stylesheet">
31-
<link href="https://cdn.jsdelivr.net/npm/@fontsource/[email protected]/chinese-simplified-500.min.css" rel="stylesheet">
3229
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/highlight.min.js"></script>
3330
<script>hljs.highlightAll();</script>
3431
</head>

about/index.html

-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626
<link href="../css/print-site.css" rel="stylesheet">
2727
<link href="../css/print-site-mkdocs.css" rel="stylesheet">
2828
<link href="../extra.css" rel="stylesheet">
29-
<link href="https://cdn.jsdelivr.net/npm/@fontsource/[email protected]/index.min.css" rel="stylesheet">
30-
<link href="https://cdn.jsdelivr.net/npm/[email protected]/css/jetbrains-mono.min.css" rel="stylesheet">
31-
<link href="https://cdn.jsdelivr.net/npm/@fontsource/[email protected]/chinese-simplified-500.min.css" rel="stylesheet">
3229
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/highlight.min.js"></script>
3330
<script>hljs.highlightAll();</script>
3431
</head>

design/index.html

-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626
<link href="../css/print-site.css" rel="stylesheet">
2727
<link href="../css/print-site-mkdocs.css" rel="stylesheet">
2828
<link href="../extra.css" rel="stylesheet">
29-
<link href="https://cdn.jsdelivr.net/npm/@fontsource/[email protected]/index.min.css" rel="stylesheet">
30-
<link href="https://cdn.jsdelivr.net/npm/[email protected]/css/jetbrains-mono.min.css" rel="stylesheet">
31-
<link href="https://cdn.jsdelivr.net/npm/@fontsource/[email protected]/chinese-simplified-500.min.css" rel="stylesheet">
3229
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/highlight.min.js"></script>
3330
<script>hljs.highlightAll();</script>
3431
</head>

donate/index.html

-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626
<link href="../css/print-site.css" rel="stylesheet">
2727
<link href="../css/print-site-mkdocs.css" rel="stylesheet">
2828
<link href="../extra.css" rel="stylesheet">
29-
<link href="https://cdn.jsdelivr.net/npm/@fontsource/[email protected]/index.min.css" rel="stylesheet">
30-
<link href="https://cdn.jsdelivr.net/npm/[email protected]/css/jetbrains-mono.min.css" rel="stylesheet">
31-
<link href="https://cdn.jsdelivr.net/npm/@fontsource/[email protected]/chinese-simplified-500.min.css" rel="stylesheet">
3229
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/highlight.min.js"></script>
3330
<script>hljs.highlightAll();</script>
3431
</head>

extra.js

+12-2
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,19 @@ for (var i = 0; i < links.length; i++) {
1919
var to = lut[key];
2020
if (to !== undefined) {
2121
node.data = node.data.replace(key, to);
22-
} else {
23-
console.log({a: node.data});
2422
}
2523
}
2624
}
2725
}
26+
27+
var stylesheets = [
28+
'https://cdn.jsdelivr.net/npm/@fontsource/[email protected]/index.min.css',
29+
'https://cdn.jsdelivr.net/npm/[email protected]/css/jetbrains-mono.min.css',
30+
'https://cdn.jsdelivr.net/npm/@fontsource/[email protected]/chinese-simplified-500.min.css',
31+
];
32+
for (var i = 0; i < stylesheets.length; i++) {
33+
var link = document.createElement('link');
34+
link.setAttribute('rel', 'stylesheet');
35+
link.setAttribute('href', stylesheets[i]);
36+
document.head.appendChild(link);
37+
}

functional/index.html

-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626
<link href="../css/print-site.css" rel="stylesheet">
2727
<link href="../css/print-site-mkdocs.css" rel="stylesheet">
2828
<link href="../extra.css" rel="stylesheet">
29-
<link href="https://cdn.jsdelivr.net/npm/@fontsource/[email protected]/index.min.css" rel="stylesheet">
30-
<link href="https://cdn.jsdelivr.net/npm/[email protected]/css/jetbrains-mono.min.css" rel="stylesheet">
31-
<link href="https://cdn.jsdelivr.net/npm/@fontsource/[email protected]/chinese-simplified-500.min.css" rel="stylesheet">
3229
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/highlight.min.js"></script>
3330
<script>hljs.highlightAll();</script>
3431
</head>

functions/index.html

-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626
<link href="../css/print-site.css" rel="stylesheet">
2727
<link href="../css/print-site-mkdocs.css" rel="stylesheet">
2828
<link href="../extra.css" rel="stylesheet">
29-
<link href="https://cdn.jsdelivr.net/npm/@fontsource/[email protected]/index.min.css" rel="stylesheet">
30-
<link href="https://cdn.jsdelivr.net/npm/[email protected]/css/jetbrains-mono.min.css" rel="stylesheet">
31-
<link href="https://cdn.jsdelivr.net/npm/@fontsource/[email protected]/chinese-simplified-500.min.css" rel="stylesheet">
3229
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/highlight.min.js"></script>
3330
<script>hljs.highlightAll();</script>
3431
</head>

helloworld/index.html

-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626
<link href="../css/print-site.css" rel="stylesheet">
2727
<link href="../css/print-site-mkdocs.css" rel="stylesheet">
2828
<link href="../extra.css" rel="stylesheet">
29-
<link href="https://cdn.jsdelivr.net/npm/@fontsource/[email protected]/index.min.css" rel="stylesheet">
30-
<link href="https://cdn.jsdelivr.net/npm/[email protected]/css/jetbrains-mono.min.css" rel="stylesheet">
31-
<link href="https://cdn.jsdelivr.net/npm/@fontsource/[email protected]/chinese-simplified-500.min.css" rel="stylesheet">
3229
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/highlight.min.js"></script>
3330
<script>hljs.highlightAll();</script>
3431
</head>

index.html

+1-4
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626
<link href="css/print-site.css" rel="stylesheet">
2727
<link href="css/print-site-mkdocs.css" rel="stylesheet">
2828
<link href="extra.css" rel="stylesheet">
29-
<link href="https://cdn.jsdelivr.net/npm/@fontsource/[email protected]/index.min.css" rel="stylesheet">
30-
<link href="https://cdn.jsdelivr.net/npm/[email protected]/css/jetbrains-mono.min.css" rel="stylesheet">
31-
<link href="https://cdn.jsdelivr.net/npm/@fontsource/[email protected]/chinese-simplified-500.min.css" rel="stylesheet">
3229
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/highlight.min.js"></script>
3330
<script>hljs.highlightAll();</script>
3431
</head>
@@ -193,7 +190,7 @@ <h2 id="_1">前言</h2>
193190
<blockquote>
194191
<p><img src="./img/bulb.png" height="30px" width="auto" style="margin: 0; border: none"/> 本书还在持续更新中……要追番的话,可以在 <a href="https://github.com/parallel101/cppguidebook">GitHub</a> 点一下右上角的 “Watch” 按钮,每当小彭老师提交新 commit,GitHub 会向你发送一峰电子邮件,提醒你小彭老师更新了。</p>
195192
</blockquote>
196-
<p>更新时间:2024年07月19日 19:35:13 (UTC+08:00)</p>
193+
<p>更新时间:2024年07月21日 23:07:03 (UTC+08:00)</p>
197194
<h2 id="_2">格式约定</h2>
198195
<blockquote>
199196
<p><img src="./img/bulb.png" height="30px" width="auto" style="margin: 0; border: none"/> 用这种颜色字体书写的内容是温馨提示</p>

platform/index.html

-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626
<link href="../css/print-site.css" rel="stylesheet">
2727
<link href="../css/print-site-mkdocs.css" rel="stylesheet">
2828
<link href="../extra.css" rel="stylesheet">
29-
<link href="https://cdn.jsdelivr.net/npm/@fontsource/[email protected]/index.min.css" rel="stylesheet">
30-
<link href="https://cdn.jsdelivr.net/npm/[email protected]/css/jetbrains-mono.min.css" rel="stylesheet">
31-
<link href="https://cdn.jsdelivr.net/npm/@fontsource/[email protected]/chinese-simplified-500.min.css" rel="stylesheet">
3229
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/highlight.min.js"></script>
3330
<script>hljs.highlightAll();</script>
3431
</head>

0 commit comments

Comments
 (0)