Skip to content

Commit ba8b242

Browse files
committed
book: node 10.5.0 pre-release deploy
1 parent c6aba64 commit ba8b242

39 files changed

+1994
-2034
lines changed

mdbook/README-book.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ _Use the nagivation panel on the left to explore [The Cardano Book][book]._
2424

2525
<br />
2626

27-
<center><sub><sup><span style="color:lightgray; font-style:italic">34301acf4d2229db1a881aa26aef88efbcda65f5</span></sup></sub></center>
27+
<center><sub><sup><span style="color:lightgray; font-style:italic">c6aba64fe2fa238a99eb47f6847534c06b6e7694</span></sup></sub></center>

static/book.play.dev.cardano.org/404.html

Lines changed: 32 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE HTML>
2-
<html lang="en" class="light" dir="ltr">
2+
<html lang="en" class="light sidebar-visible" dir="ltr">
33
<head>
44
<!-- Book generated using mdBook -->
55
<meta charset="UTF-8">
@@ -8,7 +8,7 @@
88

99

1010
<!-- Custom HTML head -->
11-
11+
1212
<meta name="description" content="">
1313
<meta name="viewport" content="width=device-width, initial-scale=1">
1414
<meta name="theme-color" content="#ffffff">
@@ -24,26 +24,29 @@
2424
<link rel="stylesheet" href="fonts/fonts.css">
2525

2626
<!-- Highlight.js Stylesheets -->
27-
<link rel="stylesheet" href="highlight.css">
28-
<link rel="stylesheet" href="tomorrow-night.css">
29-
<link rel="stylesheet" href="ayu-highlight.css">
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">
3030

3131
<!-- Custom theme stylesheets -->
3232

33-
</head>
34-
<body class="sidebar-visible no-js">
35-
<div id="body-container">
36-
<!-- Provide site root to javascript -->
33+
34+
<!-- Provide site root and default themes to javascript -->
3735
<script>
38-
var path_to_root = "";
39-
var default_theme = window.matchMedia("(prefers-color-scheme: dark)").matches ? "navy" : "light";
36+
const path_to_root = "";
37+
const default_light_theme = "light";
38+
const default_dark_theme = "navy";
4039
</script>
41-
40+
<!-- Start loading toc.js asap -->
41+
<script src="toc.js"></script>
42+
</head>
43+
<body>
44+
<div id="body-container">
4245
<!-- Work around some values being stored in localStorage wrapped in quotes -->
4346
<script>
4447
try {
45-
var theme = localStorage.getItem('mdbook-theme');
46-
var sidebar = localStorage.getItem('mdbook-sidebar');
48+
let theme = localStorage.getItem('mdbook-theme');
49+
let sidebar = localStorage.getItem('mdbook-sidebar');
4750

4851
if (theme.startsWith('"') && theme.endsWith('"')) {
4952
localStorage.setItem('mdbook-theme', theme.slice(1, theme.length - 1));
@@ -57,70 +60,48 @@
5760

5861
<!-- Set the theme before any content is loaded, prevents flash -->
5962
<script>
60-
var theme;
63+
const default_theme = window.matchMedia("(prefers-color-scheme: dark)").matches ? default_dark_theme : default_light_theme;
64+
let theme;
6165
try { theme = localStorage.getItem('mdbook-theme'); } catch(e) { }
6266
if (theme === null || theme === undefined) { theme = default_theme; }
63-
var html = document.querySelector('html');
67+
const html = document.documentElement;
6468
html.classList.remove('light')
6569
html.classList.add(theme);
66-
var body = document.querySelector('body');
67-
body.classList.remove('no-js')
68-
body.classList.add('js');
70+
html.classList.add("js");
6971
</script>
7072

7173
<input type="checkbox" id="sidebar-toggle-anchor" class="hidden">
7274

7375
<!-- Hide / unhide sidebar before it is displayed -->
7476
<script>
75-
var body = document.querySelector('body');
76-
var sidebar = null;
77-
var sidebar_toggle = document.getElementById("sidebar-toggle-anchor");
77+
let sidebar = null;
78+
const sidebar_toggle = document.getElementById("sidebar-toggle-anchor");
7879
if (document.body.clientWidth >= 1080) {
7980
try { sidebar = localStorage.getItem('mdbook-sidebar'); } catch(e) { }
8081
sidebar = sidebar || 'visible';
8182
} else {
8283
sidebar = 'hidden';
8384
}
8485
sidebar_toggle.checked = sidebar === 'visible';
85-
body.classList.remove('sidebar-visible');
86-
body.classList.add("sidebar-" + sidebar);
86+
html.classList.remove('sidebar-visible');
87+
html.classList.add("sidebar-" + sidebar);
8788
</script>
8889

8990
<nav id="sidebar" class="sidebar" aria-label="Table of contents">
90-
<div class="sidebar-scrollbox">
91-
<ol class="chapter"><li class="chapter-item expanded affix "><a href="README-book.html">Cardano</a></li><li class="chapter-item expanded affix "><li class="part-title">Reference</li><li class="chapter-item expanded "><a href="environments.html"><strong aria-hidden="true">1.</strong> Environments</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="env-preview.html"><strong aria-hidden="true">1.1.</strong> Preview</a></li><li class="chapter-item expanded "><a href="env-preprod.html"><strong aria-hidden="true">1.2.</strong> Pre-production</a></li><li class="chapter-item expanded "><a href="env-mainnet.html"><strong aria-hidden="true">1.3.</strong> Mainnet</a></li></ol></li><li class="chapter-item expanded "><a href="advanced.html"><strong aria-hidden="true">2.</strong> Advanced</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="adv-preview.html"><strong aria-hidden="true">2.1.</strong> Preview pre-release</a></li><li class="chapter-item expanded "><a href="adv-preprod.html"><strong aria-hidden="true">2.2.</strong> Pre-production pre-release</a></li></ol></li><li class="chapter-item expanded "><a href="cost-model.html"><strong aria-hidden="true">3.</strong> Cost Model</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="cm-2024-07-30.html"><strong aria-hidden="true">3.1.</strong> 2024-07-30</a></li><li class="chapter-item expanded "><a href="cm-2023-02-14.html"><strong aria-hidden="true">3.2.</strong> 2023-02-14</a></li><li class="chapter-item expanded "><a href="cm-2022-11-05.html"><strong aria-hidden="true">3.3.</strong> 2022-11-05</a></li><li class="chapter-item expanded "><a href="cm-2022-07-01.html"><strong aria-hidden="true">3.4.</strong> 2022-07-01</a></li></ol></li></ol>
92-
</div>
91+
<!-- populated by js -->
92+
<mdbook-sidebar-scrollbox class="sidebar-scrollbox"></mdbook-sidebar-scrollbox>
93+
<noscript>
94+
<iframe class="sidebar-iframe-outer" src="toc.html"></iframe>
95+
</noscript>
9396
<div id="sidebar-resize-handle" class="sidebar-resize-handle">
9497
<div class="sidebar-resize-indicator"></div>
9598
</div>
9699
</nav>
97100

98-
<!-- Track and set sidebar scroll position -->
99-
<script>
100-
var sidebarScrollbox = document.querySelector('#sidebar .sidebar-scrollbox');
101-
sidebarScrollbox.addEventListener('click', function(e) {
102-
if (e.target.tagName === 'A') {
103-
sessionStorage.setItem('sidebar-scroll', sidebarScrollbox.scrollTop);
104-
}
105-
}, { passive: true });
106-
var sidebarScrollTop = sessionStorage.getItem('sidebar-scroll');
107-
sessionStorage.removeItem('sidebar-scroll');
108-
if (sidebarScrollTop) {
109-
// preserve sidebar scroll position when navigating via links within sidebar
110-
sidebarScrollbox.scrollTop = sidebarScrollTop;
111-
} else {
112-
// scroll sidebar to current active section when navigating via "next/previous chapter" buttons
113-
var activeSection = document.querySelector('#sidebar .active');
114-
if (activeSection) {
115-
activeSection.scrollIntoView({ block: 'center' });
116-
}
117-
}
118-
</script>
119-
120101
<div id="page-wrapper" class="page-wrapper">
121102

122103
<div class="page">
123-
<div id="menu-bar-hover-placeholder"></div>
104+
<div id="menu-bar-hover-placeholder"></div>
124105
<div id="menu-bar" class="menu-bar sticky">
125106
<div class="left-buttons">
126107
<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">
@@ -130,6 +111,7 @@
130111
<i class="fa fa-paint-brush"></i>
131112
</button>
132113
<ul id="theme-list" class="theme-popup" aria-label="Themes" role="menu">
114+
<li role="none"><button role="menuitem" class="theme" id="default_theme">Auto</button></li>
133115
<li role="none"><button role="menuitem" class="theme" id="light">Light</button></li>
134116
<li role="none"><button role="menuitem" class="theme" id="rust">Rust</button></li>
135117
<li role="none"><button role="menuitem" class="theme" id="coal">Coal</button></li>

static/book.play.dev.cardano.org/README-book.html

Lines changed: 33 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<!DOCTYPE HTML>
2-
<html lang="en" class="light" dir="ltr">
2+
<html lang="en" class="light sidebar-visible" dir="ltr">
33
<head>
44
<!-- Book generated using mdBook -->
55
<meta charset="UTF-8">
66
<title>Cardano - The Cardano Operations Book</title>
77

88

99
<!-- Custom HTML head -->
10-
10+
1111
<meta name="description" content="">
1212
<meta name="viewport" content="width=device-width, initial-scale=1">
1313
<meta name="theme-color" content="#ffffff">
@@ -23,26 +23,29 @@
2323
<link rel="stylesheet" href="fonts/fonts.css">
2424

2525
<!-- Highlight.js Stylesheets -->
26-
<link rel="stylesheet" href="highlight.css">
27-
<link rel="stylesheet" href="tomorrow-night.css">
28-
<link rel="stylesheet" href="ayu-highlight.css">
26+
<link rel="stylesheet" id="highlight-css" href="highlight.css">
27+
<link rel="stylesheet" id="tomorrow-night-css" href="tomorrow-night.css">
28+
<link rel="stylesheet" id="ayu-highlight-css" href="ayu-highlight.css">
2929

3030
<!-- Custom theme stylesheets -->
3131

32-
</head>
33-
<body class="sidebar-visible no-js">
34-
<div id="body-container">
35-
<!-- Provide site root to javascript -->
32+
33+
<!-- Provide site root and default themes to javascript -->
3634
<script>
37-
var path_to_root = "";
38-
var default_theme = window.matchMedia("(prefers-color-scheme: dark)").matches ? "navy" : "light";
35+
const path_to_root = "";
36+
const default_light_theme = "light";
37+
const default_dark_theme = "navy";
3938
</script>
40-
39+
<!-- Start loading toc.js asap -->
40+
<script src="toc.js"></script>
41+
</head>
42+
<body>
43+
<div id="body-container">
4144
<!-- Work around some values being stored in localStorage wrapped in quotes -->
4245
<script>
4346
try {
44-
var theme = localStorage.getItem('mdbook-theme');
45-
var sidebar = localStorage.getItem('mdbook-sidebar');
47+
let theme = localStorage.getItem('mdbook-theme');
48+
let sidebar = localStorage.getItem('mdbook-sidebar');
4649

4750
if (theme.startsWith('"') && theme.endsWith('"')) {
4851
localStorage.setItem('mdbook-theme', theme.slice(1, theme.length - 1));
@@ -56,70 +59,48 @@
5659

5760
<!-- Set the theme before any content is loaded, prevents flash -->
5861
<script>
59-
var theme;
62+
const default_theme = window.matchMedia("(prefers-color-scheme: dark)").matches ? default_dark_theme : default_light_theme;
63+
let theme;
6064
try { theme = localStorage.getItem('mdbook-theme'); } catch(e) { }
6165
if (theme === null || theme === undefined) { theme = default_theme; }
62-
var html = document.querySelector('html');
66+
const html = document.documentElement;
6367
html.classList.remove('light')
6468
html.classList.add(theme);
65-
var body = document.querySelector('body');
66-
body.classList.remove('no-js')
67-
body.classList.add('js');
69+
html.classList.add("js");
6870
</script>
6971

7072
<input type="checkbox" id="sidebar-toggle-anchor" class="hidden">
7173

7274
<!-- Hide / unhide sidebar before it is displayed -->
7375
<script>
74-
var body = document.querySelector('body');
75-
var sidebar = null;
76-
var sidebar_toggle = document.getElementById("sidebar-toggle-anchor");
76+
let sidebar = null;
77+
const sidebar_toggle = document.getElementById("sidebar-toggle-anchor");
7778
if (document.body.clientWidth >= 1080) {
7879
try { sidebar = localStorage.getItem('mdbook-sidebar'); } catch(e) { }
7980
sidebar = sidebar || 'visible';
8081
} else {
8182
sidebar = 'hidden';
8283
}
8384
sidebar_toggle.checked = sidebar === 'visible';
84-
body.classList.remove('sidebar-visible');
85-
body.classList.add("sidebar-" + sidebar);
85+
html.classList.remove('sidebar-visible');
86+
html.classList.add("sidebar-" + sidebar);
8687
</script>
8788

8889
<nav id="sidebar" class="sidebar" aria-label="Table of contents">
89-
<div class="sidebar-scrollbox">
90-
<ol class="chapter"><li class="chapter-item expanded affix "><a href="README-book.html" class="active">Cardano</a></li><li class="chapter-item expanded affix "><li class="part-title">Reference</li><li class="chapter-item expanded "><a href="environments.html"><strong aria-hidden="true">1.</strong> Environments</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="env-preview.html"><strong aria-hidden="true">1.1.</strong> Preview</a></li><li class="chapter-item expanded "><a href="env-preprod.html"><strong aria-hidden="true">1.2.</strong> Pre-production</a></li><li class="chapter-item expanded "><a href="env-mainnet.html"><strong aria-hidden="true">1.3.</strong> Mainnet</a></li></ol></li><li class="chapter-item expanded "><a href="advanced.html"><strong aria-hidden="true">2.</strong> Advanced</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="adv-preview.html"><strong aria-hidden="true">2.1.</strong> Preview pre-release</a></li><li class="chapter-item expanded "><a href="adv-preprod.html"><strong aria-hidden="true">2.2.</strong> Pre-production pre-release</a></li></ol></li><li class="chapter-item expanded "><a href="cost-model.html"><strong aria-hidden="true">3.</strong> Cost Model</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="cm-2024-07-30.html"><strong aria-hidden="true">3.1.</strong> 2024-07-30</a></li><li class="chapter-item expanded "><a href="cm-2023-02-14.html"><strong aria-hidden="true">3.2.</strong> 2023-02-14</a></li><li class="chapter-item expanded "><a href="cm-2022-11-05.html"><strong aria-hidden="true">3.3.</strong> 2022-11-05</a></li><li class="chapter-item expanded "><a href="cm-2022-07-01.html"><strong aria-hidden="true">3.4.</strong> 2022-07-01</a></li></ol></li></ol>
91-
</div>
90+
<!-- populated by js -->
91+
<mdbook-sidebar-scrollbox class="sidebar-scrollbox"></mdbook-sidebar-scrollbox>
92+
<noscript>
93+
<iframe class="sidebar-iframe-outer" src="toc.html"></iframe>
94+
</noscript>
9295
<div id="sidebar-resize-handle" class="sidebar-resize-handle">
9396
<div class="sidebar-resize-indicator"></div>
9497
</div>
9598
</nav>
9699

97-
<!-- Track and set sidebar scroll position -->
98-
<script>
99-
var sidebarScrollbox = document.querySelector('#sidebar .sidebar-scrollbox');
100-
sidebarScrollbox.addEventListener('click', function(e) {
101-
if (e.target.tagName === 'A') {
102-
sessionStorage.setItem('sidebar-scroll', sidebarScrollbox.scrollTop);
103-
}
104-
}, { passive: true });
105-
var sidebarScrollTop = sessionStorage.getItem('sidebar-scroll');
106-
sessionStorage.removeItem('sidebar-scroll');
107-
if (sidebarScrollTop) {
108-
// preserve sidebar scroll position when navigating via links within sidebar
109-
sidebarScrollbox.scrollTop = sidebarScrollTop;
110-
} else {
111-
// scroll sidebar to current active section when navigating via "next/previous chapter" buttons
112-
var activeSection = document.querySelector('#sidebar .active');
113-
if (activeSection) {
114-
activeSection.scrollIntoView({ block: 'center' });
115-
}
116-
}
117-
</script>
118-
119100
<div id="page-wrapper" class="page-wrapper">
120101

121102
<div class="page">
122-
<div id="menu-bar-hover-placeholder"></div>
103+
<div id="menu-bar-hover-placeholder"></div>
123104
<div id="menu-bar" class="menu-bar sticky">
124105
<div class="left-buttons">
125106
<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">
@@ -129,6 +110,7 @@
129110
<i class="fa fa-paint-brush"></i>
130111
</button>
131112
<ul id="theme-list" class="theme-popup" aria-label="Themes" role="menu">
113+
<li role="none"><button role="menuitem" class="theme" id="default_theme">Auto</button></li>
132114
<li role="none"><button role="menuitem" class="theme" id="light">Light</button></li>
133115
<li role="none"><button role="menuitem" class="theme" id="rust">Rust</button></li>
134116
<li role="none"><button role="menuitem" class="theme" id="coal">Coal</button></li>
@@ -193,7 +175,7 @@ <h3 id="documentation"><a class="header" href="#documentation">Documentation</a>
193175
<br />
194176
<hr />
195177
<br />
196-
<center><sub><sup><span style="color:lightgray; font-style:italic">34301acf4d2229db1a881aa26aef88efbcda65f5</span></sup></sub></center>
178+
<center><sub><sup><span style="color:lightgray; font-style:italic">c6aba64fe2fa238a99eb47f6847534c06b6e7694</span></sup></sub></center>
197179

198180
</main>
199181

0 commit comments

Comments
 (0)