mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-19 13:00:28 +00:00
Migrate odin-html-docs to pkg.odin-lang.org repo
This commit is contained in:
@@ -1,45 +0,0 @@
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<footer class="odin-footer">
|
||||
<div class="container pb-5 pt-5">
|
||||
<div class="row g-4">
|
||||
<div class="col">
|
||||
<a class="navbar-brand" href="https://odin-lang.org">
|
||||
<img class="mb-3" src="https://odin-lang.org/logo.svg" height="30" alt="Odin"></a>
|
||||
<p>
|
||||
The Data-Oriented Language for Sane Software Development.
|
||||
</p>
|
||||
</div>
|
||||
<nav class="col-md-auto">
|
||||
<h4 class="fw-normal">Resources</h4>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="https://odin-lang.org/docs" class="link-light">Docs</a></li>
|
||||
<li><a href="https://pkg.odin-lang.org/" class="link-light">Packages</a></li>
|
||||
<li><a href="https://odin-lang.org/news" class="link-light">News</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<nav class="col-md-auto">
|
||||
<h4 class="fw-normal">Community</h4>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="https://github.com/odin-lang/Odin" target="_blank" class="link-light">GitHub</a></li>
|
||||
<li><a href="https://discord.com/invite/sVBPHEv" target="_blank" class="link-light">Discord</a></li>
|
||||
<li><a href="https://www.twitch.tv/ginger_bill" target="_blank" class="link-light">Twitch</a></li>
|
||||
<li><a href="https://www.youtube.com/channel/UCUSck1dOH7VKmG4lRW7tZXg" target="_blank" class="link-light">YouTube</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<nav class="col-md-auto">
|
||||
<h4 class="fw-normal">Contribute</h4>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="https://github.com/odin-lang/Odin/issues" target="_blank" class="link-light">Issues</a></li>
|
||||
<li><a href="https://www.patreon.com/gingerbill" target="_blank" class="link-light">Donate</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div class="mt-4 text-muted">© 2016–2022 Ginger Bill</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script src="https://odin-lang.org/lib/bootstrap/js/bootstrap.min.js"></script>
|
||||
<script src="https://odin-lang.org/js/script.js"></script>
|
||||
<script>hljs.highlightAll()</script>
|
||||
@@ -1,36 +0,0 @@
|
||||
<!-- REMEMBER TO REMOVE -->
|
||||
<script type="text/javascript" src="https://livejs.com/live.js"></script>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="https://odin-lang.org/scss/custom.min.css">
|
||||
<link rel=stylesheet href=//odin-lang.org/lib/highlight/styles/github-dark.min.css>
|
||||
<script src=//odin-lang.org/lib/highlight/highlight.min.js></script>
|
||||
<script>hljs.registerLanguage("odin",function(a){return{aliases:["odin","odinlang","odin-lang"],keywords:{keyword:"auto_cast bit_set break case cast context continue defer distinct do dynamic else enum fallthrough for foreign if import in map not_in or_else or_return package proc return struct switch transmute type_of typeid union using when where",literal:"true false nil",built_in:"abs align_of cap clamp complex conj expand_to_tuple imag jmag kmag len max min offset_of quaternion real size_of soa_unzip soa_zip swizzle type_info_of type_of typeid_of"},illegal:"</",contains:[a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,{className:"string",variants:[a.QUOTE_STRING_MODE,{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"`"}]},{className:"number",variants:[{begin:a.C_NUMBER_RE+"[ijk]",relevance:1},a.C_NUMBER_MODE]}]}})</script>
|
||||
<script>hljs.highlightAll()</script>
|
||||
<link rel="stylesheet" type="text/css" href="https://odin-lang.org/css/style.css">
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/style.css">
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<header class="sticky-top">
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-primary odin-menu">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href="https://odin-lang.org/">
|
||||
<img src="https://odin-lang.org/logo.svg" height="30" alt="Odin"></a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#odin-navbar-content" aria-controls="odin-navbar-content" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button>
|
||||
<div class="collapse navbar-collapse" id="odin-navbar-content">
|
||||
<ul class="navbar-nav ms-md-auto">
|
||||
<li class="nav-item"><a class="nav-link" href="https://odin-lang.org/">Home</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://odin-lang.org/docs">Docs</a></li>
|
||||
<li class="nav-item"><a class="nav-link active" href="/">Packages</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://odin-lang.org/news">News</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://odin-lang.org/community">Community</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/odin-lang/Odin" target="_blank">GitHub</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
<main>
|
||||
<div class="container">
|
||||
@@ -1,6 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{0:s}</title>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,180 +0,0 @@
|
||||
/* doc directories */
|
||||
|
||||
table.directory {
|
||||
/*border: 1px solid #ccc!important;*/
|
||||
table-layout: fixed;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
header.collection-header ul {
|
||||
margin-top: 1em;
|
||||
margin-bottom: 0;
|
||||
padding-left: 0.5em;
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
hr.collection-hr {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
|
||||
.doc-directory tr {
|
||||
padding-left: 1em!important;
|
||||
border-top: 1px solid #ccc!important;
|
||||
border-bottom: 1px solid #ccc!important;
|
||||
}
|
||||
|
||||
.doc-directory td {
|
||||
padding: 0.25em 0.5em;
|
||||
}
|
||||
.directory-child td {
|
||||
padding-left: 2em!important;
|
||||
}
|
||||
|
||||
.directory-child td+td {
|
||||
position: relative;
|
||||
left: -1.5em!important;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.doc-directory tr[aria-expanded=true] td.pkg-name:before {
|
||||
content: "\2193";
|
||||
}
|
||||
.doc-directory tr[aria-expanded=false] td.pkg-name:before {
|
||||
content: "\2192"!important;
|
||||
}
|
||||
|
||||
.doc-directory tr[aria-hidden=true] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
/* doc page */
|
||||
|
||||
pre.doc-code {
|
||||
white-space: pre-wrap;
|
||||
word-break: keep-all;
|
||||
word-wrap: break-word;
|
||||
tab-size: 8;
|
||||
background-color: #f8f8f8;
|
||||
color: #202224;
|
||||
border: 1px solid #c6c8ca;
|
||||
border-radius: 0.25rem;
|
||||
padding: 0.625rem;
|
||||
}
|
||||
pre.doc-code a {
|
||||
font-family: Consolas,Liberation Mono,Menlo,monospace!important;
|
||||
text-decoration: none;
|
||||
color: #2179d8;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
pre.doc-code a.code-procedure {
|
||||
color: #047919;
|
||||
}
|
||||
|
||||
.pkg-line-doc {
|
||||
color: #444;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
.doc-source {
|
||||
display: inline;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.doc-source a {
|
||||
text-decoration: none;
|
||||
color: #666666;
|
||||
font-size: 0.75em;
|
||||
}
|
||||
.doc-source a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
a > .a-hidden {
|
||||
opacity: 0;
|
||||
}
|
||||
a:hover > .a-hidden {
|
||||
opacity: 100;
|
||||
}
|
||||
section.documentation h3 {
|
||||
font-size: calc(1.1rem + .2vw);
|
||||
}
|
||||
|
||||
.pkg-index h3 {
|
||||
margin-top: 0 !important;
|
||||
padding-top: 0 !important;
|
||||
}
|
||||
|
||||
|
||||
.documentation .pkg-entity {
|
||||
padding-bottom: 0.75rem;
|
||||
border-bottom: 1px solid #d0d0d0;
|
||||
}
|
||||
|
||||
details.doc-index > summary {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
details.doc-index ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
details.odin-doc-toggle > summary.hideme span:before {
|
||||
content: "Expand description";
|
||||
}
|
||||
details.odin-doc-toggle[open] > summary.hideme span:before {
|
||||
content: "Close description";
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
details.odin-doc-toggle[open] > summary.hideme {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
details.code-example > summary {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 991px) {
|
||||
#pkg-sidebar {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
#pkg-sidebar {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
#pkg-sidebar > div {
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
|
||||
#pkg-sidebar ul {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#pkg-sidebar li:not(:last-child) {
|
||||
margin-bottom: 0.25rem;
|
||||
}
|
||||
|
||||
|
||||
#pkg-sidebar li > ul {
|
||||
padding-left: 1.25rem;
|
||||
}
|
||||
|
||||
#pkg-sidebar a.active {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
#TableOfContents {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
#TableOfContents > ul {
|
||||
overflow-x: auto;
|
||||
}
|
||||
Reference in New Issue
Block a user