aboutsummaryrefslogtreecommitdiffhomepage
path: root/arch
diff options
context:
space:
mode:
authorjohannst <johannst@users.noreply.github.com>2023-04-12 20:57:45 +0000
committerjohannst <johannst@users.noreply.github.com>2023-04-12 20:57:45 +0000
commit4b3a334cf553b9f0b7f831538cb4d23fbdb0594f (patch)
tree3a8e4df94497b437656454bc29e522b56f9765cb /arch
parent3f1d25c3e62f91f2555f0649c7c71f3b730717be (diff)
downloadnotes-4b3a334cf553b9f0b7f831538cb4d23fbdb0594f.tar.gz
notes-4b3a334cf553b9f0b7f831538cb4d23fbdb0594f.zip
deploy: d6deac54dd372c946942637636846893694ce521
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64.html6
-rw-r--r--arch/armv7.html6
-rw-r--r--arch/index.html6
-rw-r--r--arch/riscv.html6
-rw-r--r--arch/x86_64.html6
5 files changed, 25 insertions, 5 deletions
diff --git a/arch/arm64.html b/arch/arm64.html
index 5087fcd..017dd44 100644
--- a/arch/arm64.html
+++ b/arch/arm64.html
@@ -32,6 +32,7 @@
</head>
<body>
+ <div id="body-container">
<!-- Provide site root to javascript -->
<script>
var path_to_root = "../";
@@ -69,10 +70,12 @@
<!-- Hide / unhide sidebar before it is displayed -->
<script>
var html = document.querySelector('html');
- var sidebar = 'hidden';
+ var sidebar = null;
if (document.body.clientWidth >= 1080) {
try { sidebar = localStorage.getItem('mdbook-sidebar'); } catch(e) { }
sidebar = sidebar || 'visible';
+ } else {
+ sidebar = 'hidden';
}
html.classList.remove('sidebar-visible');
html.classList.add("sidebar-" + sidebar);
@@ -418,5 +421,6 @@ required when compiling natively on arm64.</p>
<!-- Custom JS scripts -->
+ </div>
</body>
</html>
diff --git a/arch/armv7.html b/arch/armv7.html
index ab536ae..8a2ae90 100644
--- a/arch/armv7.html
+++ b/arch/armv7.html
@@ -32,6 +32,7 @@
</head>
<body>
+ <div id="body-container">
<!-- Provide site root to javascript -->
<script>
var path_to_root = "../";
@@ -69,10 +70,12 @@
<!-- Hide / unhide sidebar before it is displayed -->
<script>
var html = document.querySelector('html');
- var sidebar = 'hidden';
+ var sidebar = null;
if (document.body.clientWidth >= 1080) {
try { sidebar = localStorage.getItem('mdbook-sidebar'); } catch(e) { }
sidebar = sidebar || 'visible';
+ } else {
+ sidebar = 'hidden';
}
html.classList.remove('sidebar-visible');
html.classList.add("sidebar-" + sidebar);
@@ -436,5 +439,6 @@ required when compiling natively on arm.</p>
<!-- Custom JS scripts -->
+ </div>
</body>
</html>
diff --git a/arch/index.html b/arch/index.html
index bbc62ca..44a5450 100644
--- a/arch/index.html
+++ b/arch/index.html
@@ -32,6 +32,7 @@
</head>
<body>
+ <div id="body-container">
<!-- Provide site root to javascript -->
<script>
var path_to_root = "../";
@@ -69,10 +70,12 @@
<!-- Hide / unhide sidebar before it is displayed -->
<script>
var html = document.querySelector('html');
- var sidebar = 'hidden';
+ var sidebar = null;
if (document.body.clientWidth >= 1080) {
try { sidebar = localStorage.getItem('mdbook-sidebar'); } catch(e) { }
sidebar = sidebar || 'visible';
+ } else {
+ sidebar = 'hidden';
}
html.classList.remove('sidebar-visible');
html.classList.add("sidebar-" + sidebar);
@@ -200,5 +203,6 @@
<!-- Custom JS scripts -->
+ </div>
</body>
</html>
diff --git a/arch/riscv.html b/arch/riscv.html
index c856b38..9dbc129 100644
--- a/arch/riscv.html
+++ b/arch/riscv.html
@@ -32,6 +32,7 @@
</head>
<body>
+ <div id="body-container">
<!-- Provide site root to javascript -->
<script>
var path_to_root = "../";
@@ -69,10 +70,12 @@
<!-- Hide / unhide sidebar before it is displayed -->
<script>
var html = document.querySelector('html');
- var sidebar = 'hidden';
+ var sidebar = null;
if (document.body.clientWidth >= 1080) {
try { sidebar = localStorage.getItem('mdbook-sidebar'); } catch(e) { }
sidebar = sidebar || 'visible';
+ } else {
+ sidebar = 'hidden';
}
html.classList.remove('sidebar-visible');
html.classList.add("sidebar-" + sidebar);
@@ -264,5 +267,6 @@ required when compiling natively on riscv.</p>
<!-- Custom JS scripts -->
+ </div>
</body>
</html>
diff --git a/arch/x86_64.html b/arch/x86_64.html
index 94de965..00dfe64 100644
--- a/arch/x86_64.html
+++ b/arch/x86_64.html
@@ -32,6 +32,7 @@
</head>
<body>
+ <div id="body-container">
<!-- Provide site root to javascript -->
<script>
var path_to_root = "../";
@@ -69,10 +70,12 @@
<!-- Hide / unhide sidebar before it is displayed -->
<script>
var html = document.querySelector('html');
- var sidebar = 'hidden';
+ var sidebar = null;
if (document.body.clientWidth >= 1080) {
try { sidebar = localStorage.getItem('mdbook-sidebar'); } catch(e) { }
sidebar = sidebar || 'visible';
+ } else {
+ sidebar = 'hidden';
}
html.classList.remove('sidebar-visible');
html.classList.add("sidebar-" + sidebar);
@@ -464,5 +467,6 @@ Hi ASM-World!
<!-- Custom JS scripts -->
+ </div>
</body>
</html>