Skip to content

Commit 6d4f03f

Browse files
docs(added files): Added files
Downgraded mdbook to make it compatible with mdbook-admonish and added boilerplate files to edit Signed-off-by: Vaishnav Sabari Girish <vaishnav.sabari.girish@gmail.com>
1 parent cca6ae2 commit 6d4f03f

File tree

82 files changed

+8004
-1359
lines changed

Some content is hidden

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

82 files changed

+8004
-1359
lines changed

book.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,13 @@ language = "en"
55

66
[build]
77
build-dir = "docs"
8+
9+
[output.html]
10+
git-repository-url = "https://github.com/NextStd"
11+
default-theme = "dark"
12+
preferred-dark-theme = "dark"
13+
additional-css = ["./mdbook-admonish.css"]
14+
15+
[preprocessor.admonish]
16+
command = "mdbook-admonish"
17+
assets_version = "3.1.0" # do not edit: managed by `mdbook-admonish install`

docs/404.html

Lines changed: 62 additions & 72 deletions
Large diffs are not rendered by default.

docs/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.
162 KB
Binary file not shown.
162 KB
Binary file not shown.

docs/FontAwesome/fonts/fontawesome-webfont.svg

Lines changed: 2671 additions & 0 deletions
Loading
162 KB
Binary file not shown.
95.7 KB
Binary file not shown.
75.4 KB
Binary file not shown.

docs/api/ns_print.html

Lines changed: 241 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,241 @@
1+
<!DOCTYPE HTML>
2+
<html lang="en" class="dark sidebar-visible" dir="ltr">
3+
<head>
4+
<!-- Book generated using mdBook -->
5+
<meta charset="UTF-8">
6+
<title>ns_print() - NextStd Docs</title>
7+
8+
9+
<!-- Custom HTML head -->
10+
11+
<meta name="description" content="">
12+
<meta name="viewport" content="width=device-width, initial-scale=1">
13+
<meta name="theme-color" content="#ffffff">
14+
15+
<link rel="icon" href="../favicon.svg">
16+
<link rel="shortcut icon" href="../favicon.png">
17+
<link rel="stylesheet" href="../css/variables.css">
18+
<link rel="stylesheet" href="../css/general.css">
19+
<link rel="stylesheet" href="../css/chrome.css">
20+
<link rel="stylesheet" href="../css/print.css" media="print">
21+
22+
<!-- Fonts -->
23+
<link rel="stylesheet" href="../FontAwesome/css/font-awesome.css">
24+
<link rel="stylesheet" href="../fonts/fonts.css">
25+
26+
<!-- Highlight.js Stylesheets -->
27+
<link rel="stylesheet" id="highlight-css" href="../highlight.css">
28+
<link rel="stylesheet" id="tomorrow-night-css" href="../tomorrow-night.css">
29+
<link rel="stylesheet" id="ayu-highlight-css" href="../ayu-highlight.css">
30+
31+
<!-- Custom theme stylesheets -->
32+
<link rel="stylesheet" href=".././mdbook-admonish.css">
33+
34+
35+
<!-- Provide site root and default themes to javascript -->
36+
<script>
37+
const path_to_root = "../";
38+
const default_light_theme = "dark";
39+
const default_dark_theme = "dark";
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('dark')
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">NextStd Docs</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/NextStd" 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="ns_print"><a class="header" href="#ns_print">ns_print()</a></h1>
174+
175+
</main>
176+
177+
<nav class="nav-wrapper" aria-label="Page navigation">
178+
<!-- Mobile navigation buttons -->
179+
<a rel="prev" href="../concepts/rust_backend.html" class="mobile-nav-chapters previous" title="Previous chapter" aria-label="Previous chapter" aria-keyshortcuts="Left">
180+
<i class="fa fa-angle-left"></i>
181+
</a>
182+
183+
<a rel="next prefetch" href="../api/types/integer.html" class="mobile-nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
184+
<i class="fa fa-angle-right"></i>
185+
</a>
186+
187+
<div style="clear: both"></div>
188+
</nav>
189+
</div>
190+
</div>
191+
192+
<nav class="nav-wide-wrapper" aria-label="Page navigation">
193+
<a rel="prev" href="../concepts/rust_backend.html" class="nav-chapters previous" title="Previous chapter" aria-label="Previous chapter" aria-keyshortcuts="Left">
194+
<i class="fa fa-angle-left"></i>
195+
</a>
196+
197+
<a rel="next prefetch" href="../api/types/integer.html" class="nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
198+
<i class="fa fa-angle-right"></i>
199+
</a>
200+
</nav>
201+
202+
</div>
203+
204+
<!-- Livereload script (if served using the cli tool) -->
205+
<script>
206+
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
207+
const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";
208+
const socket = new WebSocket(wsAddress);
209+
socket.onmessage = function (event) {
210+
if (event.data === "reload") {
211+
socket.close();
212+
location.reload();
213+
}
214+
};
215+
216+
window.onbeforeunload = function() {
217+
socket.close();
218+
}
219+
</script>
220+
221+
222+
223+
<script>
224+
window.playground_copyable = true;
225+
</script>
226+
227+
228+
<script src="../elasticlunr.min.js"></script>
229+
<script src="../mark.min.js"></script>
230+
<script src="../searcher.js"></script>
231+
232+
<script src="../clipboard.min.js"></script>
233+
<script src="../highlight.js"></script>
234+
<script src="../book.js"></script>
235+
236+
<!-- Custom JS scripts -->
237+
238+
239+
</div>
240+
</body>
241+
</html>

0 commit comments

Comments
 (0)