diff --git a/404.html b/404.html
index fa248d6e..0d902f90 100644
--- a/404.html
+++ b/404.html
@@ -25,9 +25,9 @@
-
-
-
+
+
+
diff --git a/book.js b/book.js
index a5c25550..089bd129 100644
--- a/book.js
+++ b/book.js
@@ -111,11 +111,11 @@ function playground_text(playground, hidden = true) {
let text = playground_text(code_block);
let classes = code_block.querySelector('code').classList;
let edition = "2015";
- if(classes.contains("edition2018")) {
- edition = "2018";
- } else if(classes.contains("edition2021")) {
- edition = "2021";
- }
+ classes.forEach(className => {
+ if (className.startsWith("edition")) {
+ edition = className.slice(7);
+ }
+ });
var params = {
version: "stable",
optimize: "0",
@@ -294,9 +294,9 @@ function playground_text(playground, hidden = true) {
themeIds.push(el.id);
});
var stylesheets = {
- ayuHighlight: document.querySelector("[href$='ayu-highlight.css']"),
- tomorrowNight: document.querySelector("[href$='tomorrow-night.css']"),
- highlight: document.querySelector("[href$='highlight.css']"),
+ ayuHighlight: document.querySelector("#ayu-highlight-css"),
+ tomorrowNight: document.querySelector("#tomorrow-night-css"),
+ highlight: document.querySelector("#highlight-css"),
};
function showThemes() {
diff --git a/en/DeepseekR1_V3_tutorial.html b/en/DeepseekR1_V3_tutorial.html
index 3b20f44b..a826859a 100644
--- a/en/DeepseekR1_V3_tutorial.html
+++ b/en/DeepseekR1_V3_tutorial.html
@@ -24,9 +24,9 @@
-
-
-
+
+
+
diff --git a/en/FAQ.html b/en/FAQ.html
index e9876f88..af1e6809 100644
--- a/en/FAQ.html
+++ b/en/FAQ.html
@@ -24,9 +24,9 @@
-
-
-
+
+
+
diff --git a/en/V3-success.html b/en/V3-success.html
index d7283774..de0ce394 100644
--- a/en/V3-success.html
+++ b/en/V3-success.html
@@ -24,9 +24,9 @@
-
-
-
+
+
+
diff --git a/en/api/server/server.html b/en/api/server/server.html
index 3e1f61e9..73b479d2 100644
--- a/en/api/server/server.html
+++ b/en/api/server/server.html
@@ -24,9 +24,9 @@
-
-
-
+
+
+
diff --git a/en/api/server/tabby.html b/en/api/server/tabby.html
index 821bf8c8..fa6d0ee8 100644
--- a/en/api/server/tabby.html
+++ b/en/api/server/tabby.html
@@ -24,9 +24,9 @@
-
-
-
+
+
+
diff --git a/en/api/server/website.html b/en/api/server/website.html
index d228ab30..2acfed13 100644
--- a/en/api/server/website.html
+++ b/en/api/server/website.html
@@ -24,9 +24,9 @@
-
-
-
+
+
+
diff --git a/en/benchmark.html b/en/benchmark.html
index 5deea202..f7398f21 100644
--- a/en/benchmark.html
+++ b/en/benchmark.html
@@ -24,9 +24,9 @@
-
-
-
+
+
+
diff --git a/en/deepseek-v2-injection.html b/en/deepseek-v2-injection.html
index 0f48c418..24ff5137 100644
--- a/en/deepseek-v2-injection.html
+++ b/en/deepseek-v2-injection.html
@@ -24,9 +24,9 @@
-
-
-
+
+
+
diff --git a/en/fp8_kernel.html b/en/fp8_kernel.html
index d010d31f..a9fee37b 100644
--- a/en/fp8_kernel.html
+++ b/en/fp8_kernel.html
@@ -24,9 +24,9 @@
-
-
-
+
+
+
diff --git a/en/injection_tutorial.html b/en/injection_tutorial.html
index 76c8dafa..a8327732 100644
--- a/en/injection_tutorial.html
+++ b/en/injection_tutorial.html
@@ -24,9 +24,9 @@
-
-
-
+
+
+
diff --git a/en/install.html b/en/install.html
index c9eec9ef..e4b24e18 100644
--- a/en/install.html
+++ b/en/install.html
@@ -24,9 +24,9 @@
-
-
-
+
+
+
diff --git a/en/makefile_usage.html b/en/makefile_usage.html
index f2c55a8a..add37f17 100644
--- a/en/makefile_usage.html
+++ b/en/makefile_usage.html
@@ -24,9 +24,9 @@
-
-
-
+
+
+
diff --git a/en/multi-gpu-tutorial.html b/en/multi-gpu-tutorial.html
index ea0987ac..e0c14645 100644
--- a/en/multi-gpu-tutorial.html
+++ b/en/multi-gpu-tutorial.html
@@ -24,9 +24,9 @@
-
-
-
+
+
+
diff --git a/fonts/fonts.css b/fonts/fonts.css
index 858efa59..698e1e19 100644
--- a/fonts/fonts.css
+++ b/fonts/fonts.css
@@ -7,7 +7,7 @@
font-style: normal;
font-weight: 300;
src: local('Open Sans Light'), local('OpenSans-Light'),
- url('open-sans-v17-all-charsets-300.woff2') format('woff2');
+ url('../fonts/open-sans-v17-all-charsets-300.woff2') format('woff2');
}
/* open-sans-300italic - latin_vietnamese_latin-ext_greek-ext_greek_cyrillic-ext_cyrillic */
@@ -16,7 +16,7 @@
font-style: italic;
font-weight: 300;
src: local('Open Sans Light Italic'), local('OpenSans-LightItalic'),
- url('open-sans-v17-all-charsets-300italic.woff2') format('woff2');
+ url('../fonts/open-sans-v17-all-charsets-300italic.woff2') format('woff2');
}
/* open-sans-regular - latin_vietnamese_latin-ext_greek-ext_greek_cyrillic-ext_cyrillic */
@@ -25,7 +25,7 @@
font-style: normal;
font-weight: 400;
src: local('Open Sans Regular'), local('OpenSans-Regular'),
- url('open-sans-v17-all-charsets-regular.woff2') format('woff2');
+ url('../fonts/open-sans-v17-all-charsets-regular.woff2') format('woff2');
}
/* open-sans-italic - latin_vietnamese_latin-ext_greek-ext_greek_cyrillic-ext_cyrillic */
@@ -34,7 +34,7 @@
font-style: italic;
font-weight: 400;
src: local('Open Sans Italic'), local('OpenSans-Italic'),
- url('open-sans-v17-all-charsets-italic.woff2') format('woff2');
+ url('../fonts/open-sans-v17-all-charsets-italic.woff2') format('woff2');
}
/* open-sans-600 - latin_vietnamese_latin-ext_greek-ext_greek_cyrillic-ext_cyrillic */
@@ -43,7 +43,7 @@
font-style: normal;
font-weight: 600;
src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'),
- url('open-sans-v17-all-charsets-600.woff2') format('woff2');
+ url('../fonts/open-sans-v17-all-charsets-600.woff2') format('woff2');
}
/* open-sans-600italic - latin_vietnamese_latin-ext_greek-ext_greek_cyrillic-ext_cyrillic */
@@ -52,7 +52,7 @@
font-style: italic;
font-weight: 600;
src: local('Open Sans SemiBold Italic'), local('OpenSans-SemiBoldItalic'),
- url('open-sans-v17-all-charsets-600italic.woff2') format('woff2');
+ url('../fonts/open-sans-v17-all-charsets-600italic.woff2') format('woff2');
}
/* open-sans-700 - latin_vietnamese_latin-ext_greek-ext_greek_cyrillic-ext_cyrillic */
@@ -61,7 +61,7 @@
font-style: normal;
font-weight: 700;
src: local('Open Sans Bold'), local('OpenSans-Bold'),
- url('open-sans-v17-all-charsets-700.woff2') format('woff2');
+ url('../fonts/open-sans-v17-all-charsets-700.woff2') format('woff2');
}
/* open-sans-700italic - latin_vietnamese_latin-ext_greek-ext_greek_cyrillic-ext_cyrillic */
@@ -70,7 +70,7 @@
font-style: italic;
font-weight: 700;
src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'),
- url('open-sans-v17-all-charsets-700italic.woff2') format('woff2');
+ url('../fonts/open-sans-v17-all-charsets-700italic.woff2') format('woff2');
}
/* open-sans-800 - latin_vietnamese_latin-ext_greek-ext_greek_cyrillic-ext_cyrillic */
@@ -79,7 +79,7 @@
font-style: normal;
font-weight: 800;
src: local('Open Sans ExtraBold'), local('OpenSans-ExtraBold'),
- url('open-sans-v17-all-charsets-800.woff2') format('woff2');
+ url('../fonts/open-sans-v17-all-charsets-800.woff2') format('woff2');
}
/* open-sans-800italic - latin_vietnamese_latin-ext_greek-ext_greek_cyrillic-ext_cyrillic */
@@ -88,7 +88,7 @@
font-style: italic;
font-weight: 800;
src: local('Open Sans ExtraBold Italic'), local('OpenSans-ExtraBoldItalic'),
- url('open-sans-v17-all-charsets-800italic.woff2') format('woff2');
+ url('../fonts/open-sans-v17-all-charsets-800italic.woff2') format('woff2');
}
/* source-code-pro-500 - latin_vietnamese_latin-ext_greek_cyrillic-ext_cyrillic */
@@ -96,5 +96,5 @@
font-family: 'Source Code Pro';
font-style: normal;
font-weight: 500;
- src: url('source-code-pro-v11-all-charsets-500.woff2') format('woff2');
+ src: url('../fonts/source-code-pro-v11-all-charsets-500.woff2') format('woff2');
}
diff --git a/index.html b/index.html
index 399d5125..37f8a0fb 100644
--- a/index.html
+++ b/index.html
@@ -24,9 +24,9 @@
-
-
-
+
+
+
diff --git a/print.html b/print.html
index ac87ba6b..754cd057 100644
--- a/print.html
+++ b/print.html
@@ -25,9 +25,9 @@
-
-
-
+
+
+