| 1 |
Description: Replace doc links to libraries and fonts with local version |
| 2 |
Also remove YouTube tutorial iframe. |
| 3 |
Author: Ben Westover <[email protected]> |
| 4 |
Forwarded: not-needed |
| 5 |
Last-Update: 2025-06-30 |
| 6 |
|
| 7 |
--- a/docpages/footer.html |
| 8 |
+++ b/docpages/footer.html |
| 9 |
@@ -4,14 +4,28 @@ |
| 10 |
</ul> |
| 11 |
</div> |
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
+<link rel="stylesheet" href="file:///usr/share/javascript/highlight.js/styles/dracula.css"> |
| 22 |
+<script src="file:///usr/share/javascript/highlight.js/highlight.min.js"></script> |
| 23 |
+<style> |
| 24 |
+ /* latin-ext */ |
| 25 |
+ @font-face { |
| 26 |
+ font-family: 'JetBrains Mono'; |
| 27 |
+ font-style: normal; |
| 28 |
+ font-weight: 100; |
| 29 |
+ font-display: swap; |
| 30 |
+ src: url(file:///usr/share/fonts/woff2/jetbrains-mono/JetBrainsMono-Regular.woff2) format('woff2'); |
| 31 |
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-2> |
| 32 |
+ } |
| 33 |
+ /* latin */ |
| 34 |
+ @font-face { |
| 35 |
+ font-family: 'JetBrains Mono'; |
| 36 |
+ font-style: normal; |
| 37 |
+ font-weight: 100; |
| 38 |
+ font-display: swap; |
| 39 |
+ src: url(file:///usr/share/fonts/woff2/jetbrains-mono/JetBrainsMono-Regular.woff2) format('woff2'); |
| 40 |
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+22> |
| 41 |
+ } |
| 42 |
+</style> |
| 43 |
<script> |
| 44 |
window.dataLayer = window.dataLayer || []; |
| 45 |
function gtag(){dataLayer.push(arguments);} |
| 46 |
--- a/docpages/footer.template.html |
| 47 |
+++ b/docpages/footer.template.html |
| 48 |
@@ -4,14 +4,28 @@ |
| 49 |
</ul> |
| 50 |
</div> |
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
|
| 58 |
|
| 59 |
|
| 60 |
+<link rel="stylesheet" href="file:///usr/share/javascript/highlight.js/styles/dracula.css"> |
| 61 |
+<script src="file:///usr/share/javascript/highlight.js/highlight.min.js"></script> |
| 62 |
+<style> |
| 63 |
+ /* latin-ext */ |
| 64 |
+ @font-face { |
| 65 |
+ font-family: 'JetBrains Mono'; |
| 66 |
+ font-style: normal; |
| 67 |
+ font-weight: 100; |
| 68 |
+ font-display: swap; |
| 69 |
+ src: url(file:///usr/share/fonts/woff2/jetbrains-mono/JetBrainsMono-Regular.woff2) format('woff2'); |
| 70 |
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; |
| 71 |
+ } |
| 72 |
+ /* latin */ |
| 73 |
+ @font-face { |
| 74 |
+ font-family: 'JetBrains Mono'; |
| 75 |
+ font-style: normal; |
| 76 |
+ font-weight: 100; |
| 77 |
+ font-display: swap; |
| 78 |
+ src: url(file:///usr/share/fonts/woff2/jetbrains-mono/JetBrainsMono-Regular.woff2) format('woff2'); |
| 79 |
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; |
| 80 |
+ } |
| 81 |
+</style> |
| 82 |
<script> |
| 83 |
window.dataLayer = window.dataLayer || []; |
| 84 |
function gtag(){dataLayer.push(arguments);} |
| 85 |
--- a/docpages/make_a_bot/windows_vs.md |
| 86 |
+++ b/docpages/make_a_bot/windows_vs.md |
| 87 |
@@ -2,17 +2,7 @@ |
| 88 |
|
| 89 |
To create a basic bot using **Visual Studio 2019** or **Visual Studio 2022**, follow the steps below to create a *working skeleton project you can build upon*. |
| 90 |
|
| 91 |
|
| 92 |
|
| 93 |
|
| 94 |
|
| 95 |
|
| 96 |
|
| 97 |
|
| 98 |
|
| 99 |
|
| 100 |
|
| 101 |
|
| 102 |
+If you prefer a video tutorial, you can watch [this video](https://youtu.be/JGqaQ9nH5sk). Otherwise, keep reading! |
| 103 |
|
| 104 |
\note If you wish to use Coroutines, you must use VS 2022. If wish to use VS 2019, you must compile DPP with `DPP_NO_CORO. |
| 105 |
|
| 106 |
--- a/Doxyfile |
| 107 |
+++ b/Doxyfile |
| 108 |
@@ -1082,7 +1082,7 @@ |
| 109 |
# see the documentation. |
| 110 |
# This tag requires that the tag GENERATE_HTML is set to YES. |
| 111 |
|
| 112 |
|
| 113 |
+HTML_EXTRA_STYLESHEET = /usr/share/doxygen-awesome-css/doxygen-awesome.css docpages/style.css |
| 114 |
|
| 115 |
# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or |
| 116 |
# other source files which should be copied to the HTML output directory. Note |