-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automated deployment: Tue Jul 16 01:17:15 UTC 2024 e2360ea
- Loading branch information
0 parents
commit b6ba484
Showing
12 changed files
with
524 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
body { | ||
margin: 1em 2em; | ||
font-family: Helvetica, sans-serif; | ||
background-color: #f8f8f8; | ||
font-size: 1em; | ||
} | ||
|
||
h1, h2, h3, h4, h5, h6 { | ||
margin-top: 0.3em; | ||
margin-bottom: 0.3em; | ||
} | ||
h1, h2, h3, h4 { font-weight: 500; } | ||
h2 { font-size: 1.75em } | ||
h3 { font-size: 1.5em } | ||
h4 { font-size: 1.33em } | ||
h5 { font-size: 1em } | ||
|
||
a { | ||
text-decoration: none; | ||
color: #0366a5; | ||
} | ||
a:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
a.permalink { display: none; } | ||
a.permalink:hover { | ||
text-decoration: none; | ||
} | ||
*:hover > a.permalink { display: inline; } | ||
|
||
nav { | ||
padding: 1em; | ||
background-color: #eee; | ||
border-radius: 0.5em; | ||
display: flex; | ||
flex-wrap: wrap; | ||
} | ||
|
||
nav .navbar-right { | ||
margin-left: auto; | ||
} | ||
|
||
/* Remove first level of nesting for a package's index section. */ | ||
#pkg-index + ul, #pkg-examples + ul { | ||
list-style-type: none; | ||
padding: 0; | ||
} | ||
|
||
code, kbd, pre { | ||
font-family: Consolas, monospace; | ||
} | ||
|
||
pre { | ||
color: #222; | ||
overflow-x: auto; | ||
border: 1px solid #ccc; | ||
border-radius: 0.5em; | ||
background-color: #eee; | ||
padding: 0.75em; | ||
font-size: 0.9em; | ||
} | ||
|
||
details.example > summary { | ||
color: #0366a5; | ||
cursor: pointer; | ||
} | ||
|
||
details.deprecated > summary { | ||
list-style: none; | ||
} | ||
|
||
span.deprecated-tag { | ||
color: #eee; | ||
background-color: #999; | ||
padding: 0.125rem 0.3rem; | ||
border-radius: 0.3rem; | ||
font-size: 0.7rem; | ||
vertical-align: middle; | ||
cursor: pointer; | ||
} | ||
|
||
#search { margin: 0.3em 0; } | ||
|
||
#generated-by-footer { font-size: x-small; } | ||
|
||
/* Background */ .bg { background-color: #ffffff; } | ||
/* PreWrapper */ .chroma { background-color: #ffffff; } | ||
/* Error */ .chroma .err { color: #a61717; background-color: #e3d2d2 } | ||
/* LineLink */ .chroma .lnlinks { outline: none; text-decoration: none; color: inherit } | ||
/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; } | ||
/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; } | ||
/* LineHighlight */ .chroma .hl { background-color: #e5e5e5 } | ||
/* LineNumbersTable */ .chroma .lnt { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f } | ||
/* LineNumbers */ .chroma .ln { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f } | ||
/* Line */ .chroma .line { display: flex; } | ||
/* Keyword */ .chroma .k { color: #000000; font-weight: bold } | ||
/* KeywordConstant */ .chroma .kc { color: #000000; font-weight: bold } | ||
/* KeywordDeclaration */ .chroma .kd { color: #000000; font-weight: bold } | ||
/* KeywordNamespace */ .chroma .kn { color: #000000; font-weight: bold } | ||
/* KeywordPseudo */ .chroma .kp { color: #000000; font-weight: bold } | ||
/* KeywordReserved */ .chroma .kr { color: #000000; font-weight: bold } | ||
/* KeywordType */ .chroma .kt { color: #445588; font-weight: bold } | ||
/* NameAttribute */ .chroma .na { color: #008080 } | ||
/* NameBuiltin */ .chroma .nb { color: #0086b3 } | ||
/* NameBuiltinPseudo */ .chroma .bp { color: #999999 } | ||
/* NameClass */ .chroma .nc { color: #445588; font-weight: bold } | ||
/* NameConstant */ .chroma .no { color: #008080 } | ||
/* NameDecorator */ .chroma .nd { color: #3c5d5d; font-weight: bold } | ||
/* NameEntity */ .chroma .ni { color: #800080 } | ||
/* NameException */ .chroma .ne { color: #990000; font-weight: bold } | ||
/* NameFunction */ .chroma .nf { color: #990000; font-weight: bold } | ||
/* NameLabel */ .chroma .nl { color: #990000; font-weight: bold } | ||
/* NameNamespace */ .chroma .nn { color: #555555 } | ||
/* NameTag */ .chroma .nt { color: #000080 } | ||
/* NameVariable */ .chroma .nv { color: #008080 } | ||
/* NameVariableClass */ .chroma .vc { color: #008080 } | ||
/* NameVariableGlobal */ .chroma .vg { color: #008080 } | ||
/* NameVariableInstance */ .chroma .vi { color: #008080 } | ||
/* LiteralString */ .chroma .s { color: #dd1144 } | ||
/* LiteralStringAffix */ .chroma .sa { color: #dd1144 } | ||
/* LiteralStringBacktick */ .chroma .sb { color: #dd1144 } | ||
/* LiteralStringChar */ .chroma .sc { color: #dd1144 } | ||
/* LiteralStringDelimiter */ .chroma .dl { color: #dd1144 } | ||
/* LiteralStringDoc */ .chroma .sd { color: #dd1144 } | ||
/* LiteralStringDouble */ .chroma .s2 { color: #dd1144 } | ||
/* LiteralStringEscape */ .chroma .se { color: #dd1144 } | ||
/* LiteralStringHeredoc */ .chroma .sh { color: #dd1144 } | ||
/* LiteralStringInterpol */ .chroma .si { color: #dd1144 } | ||
/* LiteralStringOther */ .chroma .sx { color: #dd1144 } | ||
/* LiteralStringRegex */ .chroma .sr { color: #009926 } | ||
/* LiteralStringSingle */ .chroma .s1 { color: #dd1144 } | ||
/* LiteralStringSymbol */ .chroma .ss { color: #990073 } | ||
/* LiteralNumber */ .chroma .m { color: #009999 } | ||
/* LiteralNumberBin */ .chroma .mb { color: #009999 } | ||
/* LiteralNumberFloat */ .chroma .mf { color: #009999 } | ||
/* LiteralNumberHex */ .chroma .mh { color: #009999 } | ||
/* LiteralNumberInteger */ .chroma .mi { color: #009999 } | ||
/* LiteralNumberIntegerLong */ .chroma .il { color: #009999 } | ||
/* LiteralNumberOct */ .chroma .mo { color: #009999 } | ||
/* Operator */ .chroma .o { color: #000000; font-weight: bold } | ||
/* OperatorWord */ .chroma .ow { color: #000000; font-weight: bold } | ||
/* Comment */ .chroma .c { color: #999988; font-style: italic } | ||
/* CommentHashbang */ .chroma .ch { color: #999988; font-style: italic } | ||
/* CommentMultiline */ .chroma .cm { color: #999988; font-style: italic } | ||
/* CommentSingle */ .chroma .c1 { color: #999988; font-style: italic } | ||
/* CommentSpecial */ .chroma .cs { color: #999999; font-weight: bold; font-style: italic } | ||
/* CommentPreproc */ .chroma .cp { color: #999999; font-weight: bold; font-style: italic } | ||
/* CommentPreprocFile */ .chroma .cpf { color: #999999; font-weight: bold; font-style: italic } | ||
/* GenericDeleted */ .chroma .gd { color: #000000; background-color: #ffdddd } | ||
/* GenericEmph */ .chroma .ge { color: #000000; font-style: italic } | ||
/* GenericError */ .chroma .gr { color: #aa0000 } | ||
/* GenericHeading */ .chroma .gh { color: #999999 } | ||
/* GenericInserted */ .chroma .gi { color: #000000; background-color: #ddffdd } | ||
/* GenericOutput */ .chroma .go { color: #888888 } | ||
/* GenericPrompt */ .chroma .gp { color: #555555 } | ||
/* GenericStrong */ .chroma .gs { font-weight: bold } | ||
/* GenericSubheading */ .chroma .gu { color: #aaaaaa } | ||
/* GenericTraceback */ .chroma .gt { color: #aa0000 } | ||
/* GenericUnderline */ .chroma .gl { text-decoration: underline } | ||
/* TextWhitespace */ .chroma .w { color: #bbbbbb } |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// If the page was opened with an anchor (e.g. #foo), | ||
// and the destination is a <details> element, open it. | ||
function openDetailsAnchor() { | ||
let hash = window.location.hash | ||
if (!hash) { | ||
return | ||
} | ||
let el = document.getElementById(hash.slice(1)) // remove leading '#' | ||
if (!el) { | ||
return | ||
} | ||
|
||
let details = el.closest("details") | ||
while (details) { | ||
details.open = true | ||
details = details.parentElement.closest("details") | ||
} | ||
|
||
// New elements may have appeared. | ||
// Set hash again to scroll to the right place. | ||
window.location.hash = hash; | ||
return false; | ||
} | ||
|
||
window.addEventListener('hashchange', openDetailsAnchor) | ||
|
||
window.addEventListener('load', () => { | ||
document.querySelectorAll("h2, h3, h4, h5, h6").forEach((el) => { | ||
if (!el.id) { | ||
return | ||
} | ||
el.innerHTML += ' <a class="permalink" href="#'+el.id+'">¶</a>' | ||
}) | ||
|
||
document.querySelectorAll("details.example > summary").forEach((el) => { | ||
let id = el.parentElement.id; | ||
if (!id) { | ||
return | ||
} | ||
el.innerHTML += ' <a class="permalink" href="#'+id+'">¶</a>' | ||
}) | ||
|
||
openDetailsAnchor() | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta name="generator" content="doc2go"> | ||
<link href="../_/css/main.css" rel="stylesheet" /> | ||
<link rel="apple-touch-icon" sizes="180x180" href="../_/icons/apple-touch-icon.png"> | ||
<link rel="icon" type="image/png" sizes="32x32" href="../_/icons/favicon-32x32.png"> | ||
<link rel="icon" type="image/png" sizes="16x16" href="../_/icons/favicon-16x16.png"> | ||
<link rel="shortcut icon" href="../_/icons/favicon.ico"><title>github.com</title> | ||
</head> | ||
<body> | ||
<nav> | ||
github.com<span class="navbar-right"> | ||
<a href="..">Root</a></span> | ||
</nav> | ||
<main><h3 id="pkg-directories">Directories</h3> | ||
|
||
<table> | ||
<tbody> | ||
<tr> | ||
<td><a href="johnlettman/oyster/types">johnlettman/oyster/types</a></td> | ||
<td></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</main> | ||
<hr> | ||
<footer> | ||
<small id="generated-by-footer"> | ||
Generated with <a href="https://abhinav.github.io/doc2go/">doc2go</a> | ||
</small> | ||
</footer> | ||
<script src="../_/js/permalink.js"></script></body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta name="generator" content="doc2go"> | ||
<link href="../../_/css/main.css" rel="stylesheet" /> | ||
<link rel="apple-touch-icon" sizes="180x180" href="../../_/icons/apple-touch-icon.png"> | ||
<link rel="icon" type="image/png" sizes="32x32" href="../../_/icons/favicon-32x32.png"> | ||
<link rel="icon" type="image/png" sizes="16x16" href="../../_/icons/favicon-16x16.png"> | ||
<link rel="shortcut icon" href="../../_/icons/favicon.ico"><title>github.com/johnlettman</title> | ||
</head> | ||
<body> | ||
<nav> | ||
<a href="..">github.com</a>/johnlettman<span class="navbar-right"> | ||
<a href="../..">Root</a></span> | ||
</nav> | ||
<main><h3 id="pkg-directories">Directories</h3> | ||
|
||
<table> | ||
<tbody> | ||
<tr> | ||
<td><a href="oyster/types">oyster/types</a></td> | ||
<td></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</main> | ||
<hr> | ||
<footer> | ||
<small id="generated-by-footer"> | ||
Generated with <a href="https://abhinav.github.io/doc2go/">doc2go</a> | ||
</small> | ||
</footer> | ||
<script src="../../_/js/permalink.js"></script></body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta name="generator" content="doc2go"> | ||
<link href="../../../_/css/main.css" rel="stylesheet" /> | ||
<link rel="apple-touch-icon" sizes="180x180" href="../../../_/icons/apple-touch-icon.png"> | ||
<link rel="icon" type="image/png" sizes="32x32" href="../../../_/icons/favicon-32x32.png"> | ||
<link rel="icon" type="image/png" sizes="16x16" href="../../../_/icons/favicon-16x16.png"> | ||
<link rel="shortcut icon" href="../../../_/icons/favicon.ico"><title>github.com/johnlettman/oyster</title> | ||
</head> | ||
<body> | ||
<nav> | ||
<a href="../..">github.com</a>/<a href="..">johnlettman</a>/oyster<span class="navbar-right"> | ||
<a href="../../..">Root</a></span> | ||
</nav> | ||
<main><h3 id="pkg-directories">Directories</h3> | ||
|
||
<table> | ||
<tbody> | ||
<tr> | ||
<td><a href="types">types</a></td> | ||
<td></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</main> | ||
<hr> | ||
<footer> | ||
<small id="generated-by-footer"> | ||
Generated with <a href="https://abhinav.github.io/doc2go/">doc2go</a> | ||
</small> | ||
</footer> | ||
<script src="../../../_/js/permalink.js"></script></body> | ||
</html> |
Oops, something went wrong.