Skip to content

Commit 4c9dcc3

Browse files
deploy: 7ee77f7
0 parents  commit 4c9dcc3

File tree

95 files changed

+25700
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+25700
-0
lines changed

.nojekyll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This file makes sure that Github Pages doesn't process mdBook's output.

404.html

Lines changed: 214 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,214 @@
1+
<!DOCTYPE HTML>
2+
<html lang="en" class="light sidebar-visible" dir="ltr">
3+
<head>
4+
<!-- Book generated using mdBook -->
5+
<meta charset="UTF-8">
6+
<title>Page not found - The Embedded Rust Book</title>
7+
<base href="/">
8+
9+
10+
<!-- Custom HTML head -->
11+
12+
<meta name="description" content="">
13+
<meta name="viewport" content="width=device-width, initial-scale=1">
14+
<meta name="theme-color" content="#ffffff">
15+
16+
<link rel="icon" href="favicon.svg">
17+
<link rel="shortcut icon" href="favicon.png">
18+
<link rel="stylesheet" href="css/variables.css">
19+
<link rel="stylesheet" href="css/general.css">
20+
<link rel="stylesheet" href="css/chrome.css">
21+
<link rel="stylesheet" href="css/print.css" media="print">
22+
23+
<!-- Fonts -->
24+
<link rel="stylesheet" href="FontAwesome/css/font-awesome.css">
25+
<link rel="stylesheet" href="fonts/fonts.css">
26+
27+
<!-- Highlight.js Stylesheets -->
28+
<link rel="stylesheet" id="highlight-css" href="highlight.css">
29+
<link rel="stylesheet" id="tomorrow-night-css" href="tomorrow-night.css">
30+
<link rel="stylesheet" id="ayu-highlight-css" href="ayu-highlight.css">
31+
32+
<!-- Custom theme stylesheets -->
33+
34+
35+
<!-- Provide site root and default themes to javascript -->
36+
<script>
37+
const path_to_root = "";
38+
const default_light_theme = "light";
39+
const default_dark_theme = "navy";
40+
</script>
41+
<!-- Start loading toc.js asap -->
42+
<script src="toc.js"></script>
43+
</head>
44+
<body>
45+
<div id="mdbook-help-container">
46+
<div id="mdbook-help-popup">
47+
<h2 class="mdbook-help-title">Keyboard shortcuts</h2>
48+
<div>
49+
<p>Press <kbd></kbd> or <kbd></kbd> to navigate between chapters</p>
50+
<p>Press <kbd>S</kbd> or <kbd>/</kbd> to search in the book</p>
51+
<p>Press <kbd>?</kbd> to show this help</p>
52+
<p>Press <kbd>Esc</kbd> to hide this help</p>
53+
</div>
54+
</div>
55+
</div>
56+
<div id="body-container">
57+
<!-- Work around some values being stored in localStorage wrapped in quotes -->
58+
<script>
59+
try {
60+
let theme = localStorage.getItem('mdbook-theme');
61+
let sidebar = localStorage.getItem('mdbook-sidebar');
62+
63+
if (theme.startsWith('"') && theme.endsWith('"')) {
64+
localStorage.setItem('mdbook-theme', theme.slice(1, theme.length - 1));
65+
}
66+
67+
if (sidebar.startsWith('"') && sidebar.endsWith('"')) {
68+
localStorage.setItem('mdbook-sidebar', sidebar.slice(1, sidebar.length - 1));
69+
}
70+
} catch (e) { }
71+
</script>
72+
73+
<!-- Set the theme before any content is loaded, prevents flash -->
74+
<script>
75+
const default_theme = window.matchMedia("(prefers-color-scheme: dark)").matches ? default_dark_theme : default_light_theme;
76+
let theme;
77+
try { theme = localStorage.getItem('mdbook-theme'); } catch(e) { }
78+
if (theme === null || theme === undefined) { theme = default_theme; }
79+
const html = document.documentElement;
80+
html.classList.remove('light')
81+
html.classList.add(theme);
82+
html.classList.add("js");
83+
</script>
84+
85+
<input type="checkbox" id="sidebar-toggle-anchor" class="hidden">
86+
87+
<!-- Hide / unhide sidebar before it is displayed -->
88+
<script>
89+
let sidebar = null;
90+
const sidebar_toggle = document.getElementById("sidebar-toggle-anchor");
91+
if (document.body.clientWidth >= 1080) {
92+
try { sidebar = localStorage.getItem('mdbook-sidebar'); } catch(e) { }
93+
sidebar = sidebar || 'visible';
94+
} else {
95+
sidebar = 'hidden';
96+
}
97+
sidebar_toggle.checked = sidebar === 'visible';
98+
html.classList.remove('sidebar-visible');
99+
html.classList.add("sidebar-" + sidebar);
100+
</script>
101+
102+
<nav id="sidebar" class="sidebar" aria-label="Table of contents">
103+
<!-- populated by js -->
104+
<mdbook-sidebar-scrollbox class="sidebar-scrollbox"></mdbook-sidebar-scrollbox>
105+
<noscript>
106+
<iframe class="sidebar-iframe-outer" src="toc.html"></iframe>
107+
</noscript>
108+
<div id="sidebar-resize-handle" class="sidebar-resize-handle">
109+
<div class="sidebar-resize-indicator"></div>
110+
</div>
111+
</nav>
112+
113+
<div id="page-wrapper" class="page-wrapper">
114+
115+
<div class="page">
116+
<div id="menu-bar-hover-placeholder"></div>
117+
<div id="menu-bar" class="menu-bar sticky">
118+
<div class="left-buttons">
119+
<label id="sidebar-toggle" class="icon-button" for="sidebar-toggle-anchor" title="Toggle Table of Contents" aria-label="Toggle Table of Contents" aria-controls="sidebar">
120+
<i class="fa fa-bars"></i>
121+
</label>
122+
<button id="theme-toggle" class="icon-button" type="button" title="Change theme" aria-label="Change theme" aria-haspopup="true" aria-expanded="false" aria-controls="theme-list">
123+
<i class="fa fa-paint-brush"></i>
124+
</button>
125+
<ul id="theme-list" class="theme-popup" aria-label="Themes" role="menu">
126+
<li role="none"><button role="menuitem" class="theme" id="default_theme">Auto</button></li>
127+
<li role="none"><button role="menuitem" class="theme" id="light">Light</button></li>
128+
<li role="none"><button role="menuitem" class="theme" id="rust">Rust</button></li>
129+
<li role="none"><button role="menuitem" class="theme" id="coal">Coal</button></li>
130+
<li role="none"><button role="menuitem" class="theme" id="navy">Navy</button></li>
131+
<li role="none"><button role="menuitem" class="theme" id="ayu">Ayu</button></li>
132+
</ul>
133+
<button id="search-toggle" class="icon-button" type="button" title="Search (`/`)" aria-label="Toggle Searchbar" aria-expanded="false" aria-keyshortcuts="/ s" aria-controls="searchbar">
134+
<i class="fa fa-search"></i>
135+
</button>
136+
</div>
137+
138+
<h1 class="menu-title">The Embedded Rust Book</h1>
139+
140+
<div class="right-buttons">
141+
<a href="print.html" title="Print this book" aria-label="Print this book">
142+
<i id="print-button" class="fa fa-print"></i>
143+
</a>
144+
<a href="https://github.com/rust-embedded/book" title="Git repository" aria-label="Git repository">
145+
<i id="git-repository-button" class="fa fa-github"></i>
146+
</a>
147+
148+
</div>
149+
</div>
150+
151+
<div id="search-wrapper" class="hidden">
152+
<form id="searchbar-outer" class="searchbar-outer">
153+
<input type="search" id="searchbar" name="searchbar" placeholder="Search this book ..." aria-controls="searchresults-outer" aria-describedby="searchresults-header">
154+
</form>
155+
<div id="searchresults-outer" class="searchresults-outer hidden">
156+
<div id="searchresults-header" class="searchresults-header"></div>
157+
<ul id="searchresults">
158+
</ul>
159+
</div>
160+
</div>
161+
162+
<!-- Apply ARIA attributes after the sidebar and the sidebar toggle button are added to the DOM -->
163+
<script>
164+
document.getElementById('sidebar-toggle').setAttribute('aria-expanded', sidebar === 'visible');
165+
document.getElementById('sidebar').setAttribute('aria-hidden', sidebar !== 'visible');
166+
Array.from(document.querySelectorAll('#sidebar a')).forEach(function(link) {
167+
link.setAttribute('tabIndex', sidebar === 'visible' ? 0 : -1);
168+
});
169+
</script>
170+
171+
<div id="content" class="content">
172+
<main>
173+
<h1 id="document-not-found-404"><a class="header" href="#document-not-found-404">Document not found (404)</a></h1>
174+
<p>This URL is invalid, sorry. Please use the navigation bar or search to continue.</p>
175+
176+
</main>
177+
178+
<nav class="nav-wrapper" aria-label="Page navigation">
179+
<!-- Mobile navigation buttons -->
180+
181+
182+
<div style="clear: both"></div>
183+
</nav>
184+
</div>
185+
</div>
186+
187+
<nav class="nav-wide-wrapper" aria-label="Page navigation">
188+
189+
</nav>
190+
191+
</div>
192+
193+
194+
195+
196+
<script>
197+
window.playground_copyable = true;
198+
</script>
199+
200+
201+
<script src="elasticlunr.min.js"></script>
202+
<script src="mark.min.js"></script>
203+
<script src="searcher.js"></script>
204+
205+
<script src="clipboard.min.js"></script>
206+
<script src="highlight.js"></script>
207+
<script src="book.js"></script>
208+
209+
<!-- Custom JS scripts -->
210+
211+
212+
</div>
213+
</body>
214+
</html>

FontAwesome/css/font-awesome.css

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

FontAwesome/fonts/FontAwesome.ttf

162 KB
Binary file not shown.
162 KB
Binary file not shown.

0 commit comments

Comments
 (0)