Skip to content

Commit a311089

Browse files
zephaniahongJohn15321
authored andcommitted
Generate empty book
1 parent 480cf4a commit a311089

Some content is hidden

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

46 files changed

+6399
-0
lines changed

guide/book.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[book]
2+
authors = [""]
3+
language = "en"
4+
multilingual = false
5+
src = "src"
6+
title = "Rust Pip"

guide/book/.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.

guide/book/404.html

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

guide/book/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.

0 commit comments

Comments
 (0)