-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<script src="deps/jquery-3.6.0/jquery-3.6.0.min.js"></script> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> | ||
<link href="deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet" /> | ||
<script src="deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script> | ||
<link href="deps/font-awesome-6.5.2/css/all.min.css" rel="stylesheet" /> | ||
<link href="deps/font-awesome-6.5.2/css/v4-shims.min.css" rel="stylesheet" /> | ||
<script src="deps/headroom-0.11.0/headroom.min.js"></script> | ||
<script src="deps/headroom-0.11.0/jQuery.headroom.min.js"></script> | ||
<script src="deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script> | ||
<script src="deps/clipboard.js-2.0.11/clipboard.min.js"></script> | ||
<script src="deps/search-1.0.0/autocomplete.jquery.min.js"></script> | ||
<script src="deps/search-1.0.0/fuse.min.js"></script> | ||
<script src="deps/search-1.0.0/mark.min.js"></script> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/*! | ||
* headroom.js v0.9.4 - Give your page some headroom. Hide your header until you need it | ||
* Copyright (c) 2017 Nick Williams - http://wicky.nillia.ms/headroom.js | ||
* License: MIT | ||
*/ | ||
|
||
!function(a){a&&(a.fn.headroom=function(b){return this.each(function(){var c=a(this),d=c.data("headroom"),e="object"==typeof b&&b;e=a.extend(!0,{},Headroom.options,e),d||(d=new Headroom(this,e),d.init(),c.data("headroom",d)),"string"==typeof b&&(d[b](),"destroy"===b&&c.removeData("headroom"))})},a("[data-headroom]").each(function(){var b=a(this);b.headroom(b.data())}))}(window.Zepto||window.jQuery); |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// https://github.com/jgm/pandoc/blob/29fa97ab96b8e2d62d48326e1b949a71dc41f47a/src/Text/Pandoc/Writers/HTML.hs#L332-L345 | ||
document.addEventListener("DOMContentLoaded", function () { | ||
var mathElements = document.getElementsByClassName("math"); | ||
var macros = []; | ||
for (var i = 0; i < mathElements.length; i++) { | ||
var texText = mathElements[i].firstChild; | ||
if (mathElements[i].tagName == "SPAN") { | ||
katex.render(texText.data, mathElements[i], { | ||
displayMode: mathElements[i].classList.contains("display"), | ||
throwOnError: false, | ||
macros: macros, | ||
fleqn: false | ||
}); | ||
}}}); |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
|
||
/*! | ||
* Color mode toggler for Bootstrap's docs (https://getbootstrap.com/) | ||
* Copyright 2011-2023 The Bootstrap Authors | ||
* Licensed under the Creative Commons Attribution 3.0 Unported License. | ||
* Updates for {pkgdown} by the {bslib} authors, also licensed under CC-BY-3.0. | ||
*/ | ||
|
||
const getStoredTheme = () => localStorage.getItem('theme') | ||
const setStoredTheme = theme => localStorage.setItem('theme', theme) | ||
|
||
const getPreferredTheme = () => { | ||
const storedTheme = getStoredTheme() | ||
if (storedTheme) { | ||
return storedTheme | ||
} | ||
|
||
return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light' | ||
} | ||
|
||
const setTheme = theme => { | ||
if (theme === 'auto') { | ||
document.documentElement.setAttribute('data-bs-theme', (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light')) | ||
} else { | ||
document.documentElement.setAttribute('data-bs-theme', theme) | ||
} | ||
} | ||
|
||
function bsSetupThemeToggle () { | ||
'use strict' | ||
|
||
const showActiveTheme = (theme, focus = false) => { | ||
var activeLabel, activeIcon; | ||
|
||
document.querySelectorAll('[data-bs-theme-value]').forEach(element => { | ||
const buttonTheme = element.getAttribute('data-bs-theme-value') | ||
const isActive = buttonTheme == theme | ||
|
||
element.classList.toggle('active', isActive) | ||
element.setAttribute('aria-pressed', isActive) | ||
|
||
if (isActive) { | ||
activeLabel = element.textContent; | ||
activeIcon = element.querySelector('span').classList.value; | ||
} | ||
}) | ||
|
||
const themeSwitcher = document.querySelector('#dropdown-lightswitch') | ||
if (!themeSwitcher) { | ||
return | ||
} | ||
|
||
themeSwitcher.setAttribute('aria-label', activeLabel) | ||
themeSwitcher.querySelector('span').classList.value = activeIcon; | ||
|
||
if (focus) { | ||
themeSwitcher.focus() | ||
} | ||
} | ||
|
||
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', () => { | ||
const storedTheme = getStoredTheme() | ||
if (storedTheme !== 'light' && storedTheme !== 'dark') { | ||
setTheme(getPreferredTheme()) | ||
} | ||
}) | ||
|
||
window.addEventListener('DOMContentLoaded', () => { | ||
showActiveTheme(getPreferredTheme()) | ||
|
||
document | ||
.querySelectorAll('[data-bs-theme-value]') | ||
.forEach(toggle => { | ||
toggle.addEventListener('click', () => { | ||
const theme = toggle.getAttribute('data-bs-theme-value') | ||
setTheme(theme) | ||
setStoredTheme(theme) | ||
showActiveTheme(theme, true) | ||
}) | ||
}) | ||
}) | ||
} | ||
|
||
setTheme(getPreferredTheme()); | ||
bsSetupThemeToggle(); |
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<urlset xmlns = 'http://www.sitemaps.org/schemas/sitemap/0.9'> | ||
<url><loc>/404.html</loc></url> | ||
<url><loc>/LICENSE.html</loc></url> | ||
<url><loc>/articles/index.html</loc></url> | ||
<url><loc>/articles/using-rcoins.html</loc></url> | ||
<url><loc>/authors.html</loc></url> | ||
<url><loc>/index.html</loc></url> | ||
<url><loc>/news/index.html</loc></url> | ||
<url><loc>/reference/bucharest.html</loc></url> | ||
<url><loc>/reference/index.html</loc></url> | ||
<url><loc>/reference/stroke.html</loc></url> | ||
<url><loc>https://cityriverspaces.github.io/rcoins/404.html</loc></url> | ||
<url><loc>https://cityriverspaces.github.io/rcoins/LICENSE.html</loc></url> | ||
<url><loc>https://cityriverspaces.github.io/rcoins/articles/index.html</loc></url> | ||
<url><loc>https://cityriverspaces.github.io/rcoins/articles/using-rcoins.html</loc></url> | ||
<url><loc>https://cityriverspaces.github.io/rcoins/authors.html</loc></url> | ||
<url><loc>https://cityriverspaces.github.io/rcoins/index.html</loc></url> | ||
<url><loc>https://cityriverspaces.github.io/rcoins/news/index.html</loc></url> | ||
<url><loc>https://cityriverspaces.github.io/rcoins/reference/bucharest.html</loc></url> | ||
<url><loc>https://cityriverspaces.github.io/rcoins/reference/index.html</loc></url> | ||
<url><loc>https://cityriverspaces.github.io/rcoins/reference/stroke.html</loc></url> | ||
</urlset> | ||
|