|
16 | 16 | document.documentElement.dataset.mode = localStorage.getItem("mode") || "";
|
17 | 17 | document.documentElement.dataset.theme = localStorage.getItem("theme") || "";
|
18 | 18 | </script>
|
19 |
| - |
20 |
| - <!-- Loaded before other Sphinx assets --> |
21 |
| - <link href="../_static/styles/theme.css?digest=dfe6caa3a7d634c4db9b" rel="stylesheet" /> |
22 |
| -<link href="../_static/styles/bootstrap.css?digest=dfe6caa3a7d634c4db9b" rel="stylesheet" /> |
23 |
| -<link href="../_static/styles/pydata-sphinx-theme.css?digest=dfe6caa3a7d634c4db9b" rel="stylesheet" /> |
| 19 | + <!-- |
| 20 | + this give us a css class that will be invisible only if js is disabled |
| 21 | + --> |
| 22 | + <noscript> |
| 23 | + <style> |
| 24 | + .pst-js-only { display: none !important; } |
24 | 25 |
|
| 26 | + </style> |
| 27 | + </noscript> |
25 | 28 |
|
26 |
| - <link href="../_static/vendor/fontawesome/6.5.2/css/all.min.css?digest=dfe6caa3a7d634c4db9b" rel="stylesheet" /> |
27 |
| - <link rel="preload" as="font" type="font/woff2" crossorigin href="../_static/vendor/fontawesome/6.5.2/webfonts/fa-solid-900.woff2" /> |
28 |
| -<link rel="preload" as="font" type="font/woff2" crossorigin href="../_static/vendor/fontawesome/6.5.2/webfonts/fa-brands-400.woff2" /> |
29 |
| -<link rel="preload" as="font" type="font/woff2" crossorigin href="../_static/vendor/fontawesome/6.5.2/webfonts/fa-regular-400.woff2" /> |
| 29 | + <!-- Loaded before other Sphinx assets --> |
| 30 | + <link href="../_static/styles/theme.css?digest=26a4bc78f4c0ddb94549" rel="stylesheet" /> |
| 31 | +<link href="../_static/styles/pydata-sphinx-theme.css?digest=26a4bc78f4c0ddb94549" rel="stylesheet" /> |
30 | 32 |
|
31 | 33 | <link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
|
32 | 34 | <link rel="stylesheet" type="text/css" href="../_static/styles/sphinx-book-theme.css?v=a3416100" />
|
|
36 | 38 | <link rel="stylesheet" type="text/css" href="../_static/sphinx-thebe.css?v=4fa983c6" />
|
37 | 39 | <link rel="stylesheet" type="text/css" href="../_static/sphinx-design.min.css?v=95c83b7e" />
|
38 | 40 |
|
| 41 | + <!-- So that users can add custom icons --> |
| 42 | + <script src="../_static/scripts/fontawesome.js?digest=26a4bc78f4c0ddb94549"></script> |
39 | 43 | <!-- Pre-loaded scripts that we'll load fully later -->
|
40 |
| - <link rel="preload" as="script" href="../_static/scripts/bootstrap.js?digest=dfe6caa3a7d634c4db9b" /> |
41 |
| -<link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" /> |
42 |
| - <script src="../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script> |
| 44 | + <link rel="preload" as="script" href="../_static/scripts/bootstrap.js?digest=26a4bc78f4c0ddb94549" /> |
| 45 | +<link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=26a4bc78f4c0ddb94549" /> |
43 | 46 |
|
44 | 47 | <script src="../_static/documentation_options.js?v=9eb32ce0"></script>
|
45 | 48 | <script src="../_static/doctools.js?v=9a2dae69"></script>
|
|
79 | 82 | <link rel="prev" title="How to Approach this Course" href="learning_approach.html" />
|
80 | 83 | <meta name="viewport" content="width=device-width, initial-scale=1"/>
|
81 | 84 | <meta name="docsearch:language" content="en"/>
|
| 85 | + <meta name="docsearch:version" content="" /> |
82 | 86 | </head>
|
83 | 87 |
|
84 | 88 |
|
|
94 | 98 | <i class="fa-solid fa-arrow-up"></i>Back to top</button>
|
95 | 99 |
|
96 | 100 |
|
97 |
| - <input type="checkbox" |
98 |
| - class="sidebar-toggle" |
99 |
| - id="pst-primary-sidebar-checkbox"/> |
100 |
| - <label class="overlay overlay-primary" for="pst-primary-sidebar-checkbox"></label> |
101 |
| - |
102 |
| - <input type="checkbox" |
103 |
| - class="sidebar-toggle" |
104 |
| - id="pst-secondary-sidebar-checkbox"/> |
105 |
| - <label class="overlay overlay-secondary" for="pst-secondary-sidebar-checkbox"></label> |
106 |
| - |
107 |
| - <div class="search-button__wrapper"> |
108 |
| - <div class="search-button__overlay"></div> |
109 |
| - <div class="search-button__search-container"> |
| 101 | + <dialog id="pst-search-dialog"> |
| 102 | + |
110 | 103 | <form class="bd-search d-flex align-items-center"
|
111 | 104 | action="../search.html"
|
112 | 105 | method="get">
|
113 | 106 | <i class="fa-solid fa-magnifying-glass"></i>
|
114 | 107 | <input type="search"
|
115 | 108 | class="form-control"
|
116 | 109 | name="q"
|
117 |
| - id="search-input" |
118 | 110 | placeholder="Search this book..."
|
119 | 111 | aria-label="Search this book..."
|
120 | 112 | autocomplete="off"
|
121 | 113 | autocorrect="off"
|
122 | 114 | autocapitalize="off"
|
123 | 115 | spellcheck="false"/>
|
124 | 116 | <span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd>K</kbd></span>
|
125 |
| -</form></div> |
126 |
| - </div> |
| 117 | +</form> |
| 118 | + </dialog> |
127 | 119 |
|
128 | 120 | <div class="pst-async-banner-revealer d-none">
|
129 | 121 | <aside id="bd-header-version-warning" class="d-none d-print-none" aria-label="Version warning"></aside>
|
|
139 | 131 |
|
140 | 132 |
|
141 | 133 |
|
142 |
| - <div class="bd-sidebar-primary bd-sidebar"> |
| 134 | + <dialog id="pst-primary-sidebar-modal"></dialog> |
| 135 | + <div id="pst-primary-sidebar" class="bd-sidebar-primary bd-sidebar"> |
143 | 136 |
|
144 | 137 |
|
145 | 138 |
|
|
169 | 162 |
|
170 | 163 |
|
171 | 164 | <img src="../_static/NESC3505_icon.png" class="logo__image only-light" alt="Neural Data Science in Python - Home"/>
|
172 |
| - <script>document.write(`<img src="../_static/NESC3505_icon.png" class="logo__image only-dark" alt="Neural Data Science in Python - Home"/>`);</script> |
| 165 | + <img src="../_static/NESC3505_icon.png" class="logo__image only-dark pst-js-only" alt="Neural Data Science in Python - Home"/> |
173 | 166 |
|
174 | 167 |
|
175 | 168 | </a></div>
|
176 | 169 | <div class="sidebar-primary-item">
|
177 | 170 |
|
178 |
| - <script> |
179 |
| - document.write(` |
180 |
| - <button class="btn search-button-field search-button__button" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip"> |
181 |
| - <i class="fa-solid fa-magnifying-glass"></i> |
182 |
| - <span class="search-button__default-text">Search</span> |
183 |
| - <span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd class="kbd-shortcut__modifier">K</kbd></span> |
184 |
| - </button> |
185 |
| - `); |
186 |
| - </script></div> |
| 171 | +<button class="btn search-button-field search-button__button pst-js-only" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip"> |
| 172 | + <i class="fa-solid fa-magnifying-glass"></i> |
| 173 | + <span class="search-button__default-text">Search</span> |
| 174 | + <span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd class="kbd-shortcut__modifier">K</kbd></span> |
| 175 | +</button></div> |
187 | 176 | <div class="sidebar-primary-item"><nav class="bd-links bd-docs-nav" aria-label="Main">
|
188 | 177 | <div class="bd-toc-item navbar-nav active">
|
189 | 178 |
|
|
570 | 559 |
|
571 | 560 |
|
572 | 561 |
|
573 |
| -<script> |
574 |
| -document.write(` |
575 |
| - <button class="btn btn-sm nav-link pst-navbar-icon theme-switch-button" title="light/dark" aria-label="light/dark" data-bs-placement="bottom" data-bs-toggle="tooltip"> |
576 |
| - <i class="theme-switch fa-solid fa-sun fa-lg" data-mode="light"></i> |
577 |
| - <i class="theme-switch fa-solid fa-moon fa-lg" data-mode="dark"></i> |
578 |
| - <i class="theme-switch fa-solid fa-circle-half-stroke fa-lg" data-mode="auto"></i> |
579 |
| - </button> |
580 |
| -`); |
581 |
| -</script> |
| 562 | +<button class="btn btn-sm nav-link pst-navbar-icon theme-switch-button pst-js-only" aria-label="Color mode" data-bs-title="Color mode" data-bs-placement="bottom" data-bs-toggle="tooltip"> |
| 563 | + <i class="theme-switch fa-solid fa-sun fa-lg" data-mode="light" title="Light"></i> |
| 564 | + <i class="theme-switch fa-solid fa-moon fa-lg" data-mode="dark" title="Dark"></i> |
| 565 | + <i class="theme-switch fa-solid fa-circle-half-stroke fa-lg" data-mode="auto" title="System Settings"></i> |
| 566 | +</button> |
582 | 567 |
|
583 | 568 |
|
584 |
| -<script> |
585 |
| -document.write(` |
586 |
| - <button class="btn btn-sm pst-navbar-icon search-button search-button__button" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip"> |
| 569 | +<button class="btn btn-sm pst-navbar-icon search-button search-button__button pst-js-only" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip"> |
587 | 570 | <i class="fa-solid fa-magnifying-glass fa-lg"></i>
|
588 |
| - </button> |
589 |
| -`); |
590 |
| -</script> |
| 571 | +</button> |
591 | 572 |
|
592 | 573 | </div></div>
|
593 | 574 |
|
@@ -718,8 +699,8 @@ <h1>Actually Write Code<a class="headerlink" href="#actually-write-code" title="
|
718 | 699 | </div>
|
719 | 700 |
|
720 | 701 | <!-- Scripts loaded after <body> so the DOM is not blocked -->
|
721 |
| - <script src="../_static/scripts/bootstrap.js?digest=dfe6caa3a7d634c4db9b"></script> |
722 |
| -<script src="../_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b"></script> |
| 702 | + <script defer src="../_static/scripts/bootstrap.js?digest=26a4bc78f4c0ddb94549"></script> |
| 703 | +<script defer src="../_static/scripts/pydata-sphinx-theme.js?digest=26a4bc78f4c0ddb94549"></script> |
723 | 704 |
|
724 | 705 | <footer class="bd-footer">
|
725 | 706 | </footer>
|
|
0 commit comments