mirror of
https://github.com/sascha-hemi/pycom-documentation.git
synced 2026-03-21 05:06:35 +01:00
initial commit
This commit is contained in:
BIN
themes/doc-theme/.DS_Store
vendored
Normal file
BIN
themes/doc-theme/.DS_Store
vendored
Normal file
Binary file not shown.
20
themes/doc-theme/LICENSE
Normal file
20
themes/doc-theme/LICENSE
Normal file
@@ -0,0 +1,20 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2019 YOUR_NAME_HERE
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
2
themes/doc-theme/archetypes/default.md
Normal file
2
themes/doc-theme/archetypes/default.md
Normal file
@@ -0,0 +1,2 @@
|
||||
+++
|
||||
+++
|
||||
7
themes/doc-theme/layouts/404.html
Normal file
7
themes/doc-theme/layouts/404.html
Normal file
@@ -0,0 +1,7 @@
|
||||
{{ define "main"}}
|
||||
<main id="main">
|
||||
<div>
|
||||
<h1 id="title"><a href="{{ "/" | relURL }}">Go Home</a></h1>
|
||||
</div>
|
||||
</main>
|
||||
{{ end }}
|
||||
17
themes/doc-theme/layouts/partials/alexia.html
Normal file
17
themes/doc-theme/layouts/partials/alexia.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<script type="text/javascript">
|
||||
_atrk_opts = { atrk_acct:"WpWNq1SZw320l9", domain:"pycom.io",dynamic: true};
|
||||
(function() { var as = document.createElement('script'); as.type = 'text/javascript'; as.async = true; as.src = "https://certify-js.alexametrics.com/atrk.js"; var s = document.getElementsByTagName('script')[0];s.parentNode.insertBefore(as, s); })();
|
||||
</script>
|
||||
<noscript><img src="https://certify.alexametrics.com/atrk.gif?account=WpWNq1SZw320l9" style="display:none" height="1" width="1" alt="" /></noscript>
|
||||
|
||||
<!-- Hotjar Tracking Code for https://docs.pycom.io -->
|
||||
<script>
|
||||
(function(h,o,t,j,a,r){
|
||||
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
|
||||
h._hjSettings={hjid:1216663,hjsv:6};
|
||||
a=o.getElementsByTagName('head')[0];
|
||||
r=o.createElement('script');r.async=1;
|
||||
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
|
||||
a.appendChild(r);
|
||||
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
|
||||
</script>
|
||||
11
themes/doc-theme/layouts/partials/article.html
Normal file
11
themes/doc-theme/layouts/partials/article.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{{ define "main" }}
|
||||
|
||||
{{ partial "menu.html" . }}
|
||||
|
||||
{{- partial "menu-contextual.html" . -}}
|
||||
|
||||
<main>
|
||||
{{- .Content -}}
|
||||
</main>
|
||||
|
||||
{{ end }}
|
||||
3
themes/doc-theme/layouts/partials/breadcrumb.html
Normal file
3
themes/doc-theme/layouts/partials/breadcrumb.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<p>
|
||||
{{ partial "breadcrumb_recursive.html" (dict "menu" .Site.Menus.main "page" . ) }}
|
||||
</p>
|
||||
39
themes/doc-theme/layouts/partials/breadcrumb_recursive.html
Normal file
39
themes/doc-theme/layouts/partials/breadcrumb_recursive.html
Normal file
@@ -0,0 +1,39 @@
|
||||
{{ $page := .page }}
|
||||
{{ $prev := . }}
|
||||
|
||||
{{ range .menu }}
|
||||
|
||||
{{ $iz := eq $page.URL .URL}}
|
||||
{{ $haz := in $page.URL .URL}}
|
||||
|
||||
{{ $shownext := false }}
|
||||
|
||||
{{ if .HasChildren }}
|
||||
{{ if or $iz $haz }}
|
||||
|
||||
<a href="{{ .URL | relURL }}" class="bread {{ if or $iz $haz }}hot{{end}}"> {{ .Pre }} {{ .Name }}</a>
|
||||
{{ if not $iz }}>{{ end }}
|
||||
{{ end }}
|
||||
{{ partial "breadcrumb_recursive.html" (dict "menu" .Children "page" $page) }}
|
||||
{{ if or $iz $haz }}
|
||||
|
||||
|
||||
{{ end }}
|
||||
|
||||
{{ else }}
|
||||
{{ if or $iz $haz }}
|
||||
|
||||
<a href="{{ .URL | relURL }}" class="bread">{{ .Name }} </a>
|
||||
|
||||
{{ end }}
|
||||
|
||||
{{ if $iz }}
|
||||
{{ $prev.URL }}
|
||||
|
||||
{{ end }}
|
||||
|
||||
{{ $prev := . }}
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
||||
</ul>
|
||||
5
themes/doc-theme/layouts/partials/footer.html
Normal file
5
themes/doc-theme/layouts/partials/footer.html
Normal file
@@ -0,0 +1,5 @@
|
||||
<v-footer app>
|
||||
<div style="width: 100%;" class="mono ppurple lighten-1 text-xs-center">
|
||||
Copyright © 2019, Pycom Limited.
|
||||
</div>
|
||||
</v-footer>
|
||||
9
themes/doc-theme/layouts/partials/google_analitycs.html
Normal file
9
themes/doc-theme/layouts/partials/google_analitycs.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
||||
|
||||
ga('create', 'UA-72107804-3', 'auto');
|
||||
ga('send', 'pageview');
|
||||
</script>
|
||||
2
themes/doc-theme/layouts/partials/head.html
Normal file
2
themes/doc-theme/layouts/partials/head.html
Normal file
@@ -0,0 +1,2 @@
|
||||
<title>{{ if .Title }}{{ .Title }} | {{ .Site.Title }}{{ else }}{{ .Site.Title }}{{ end }}</title>
|
||||
<meta name="description" content="{{ if .Description }}{{ .Description }}{{ else }}{{ .Site.Params.SiteDescription }}{{ end }}">
|
||||
27
themes/doc-theme/layouts/partials/menu-contextual.html
Normal file
27
themes/doc-theme/layouts/partials/menu-contextual.html
Normal file
@@ -0,0 +1,27 @@
|
||||
{{/*
|
||||
Use Hugo's native Table of contents feature.
|
||||
https://gohugo.io/content-management/toc/
|
||||
*/}}
|
||||
|
||||
{{- if gt .WordCount 400 -}}
|
||||
|
||||
|
||||
<v-slide-y-transition>
|
||||
<v-card class="menu-contextual" v-if="drawer2" @click.stop="drawer2 = !drawer2">
|
||||
<v-card-title class="beba" style="height: 68px; background-color: #1E1E3C; color: #17FFBD">
|
||||
What's in this document
|
||||
<v-btn icon @click.stop="drawer2 = !drawer2" style="color: #17FFBD; position: absolute; right: 0; top: 4px;;">
|
||||
<v-icon>more_vert</v-icon>
|
||||
</v-btn>
|
||||
|
||||
|
||||
</v-card-title>
|
||||
<v-card-text class="fancyScroll righttree">
|
||||
{{ .TableOfContents | replaceRE "<li>" "<li class=\"righttree\">" | safeHTML }}
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
</v-slide-y-transition>
|
||||
|
||||
|
||||
|
||||
{{ end }}
|
||||
65
themes/doc-theme/layouts/partials/menu.html
Normal file
65
themes/doc-theme/layouts/partials/menu.html
Normal file
@@ -0,0 +1,65 @@
|
||||
<v-navigation-drawer
|
||||
v-model="drawer"
|
||||
fixed
|
||||
app
|
||||
class="lighten-4 pt-0"
|
||||
style="overflow-y: hidden; overflow-x: hidden;"
|
||||
>
|
||||
<v-container style="height: 68px; background-color: rgb(23, 23, 48);" class="dark mb-0 pb-1 pt-3 elevation-5 " >
|
||||
<v-img height=48 width=190 src="/logo.svg">
|
||||
</v-container>
|
||||
|
||||
<v-container class="ma-0 pa-0 elevation-1">
|
||||
|
||||
|
||||
|
||||
<v-text-field
|
||||
v-model="q"
|
||||
style="width: 100%;"
|
||||
@change="search"
|
||||
@click:append="search"
|
||||
class="grey lighten-5 mt-0 mr-2 pa-3 ma-0 mono"
|
||||
light
|
||||
hide-details
|
||||
append-icon="search"
|
||||
label="Search"
|
||||
></v-text-field>
|
||||
|
||||
|
||||
</v-container>
|
||||
|
||||
<div class="fancyScroll" style="overflow-y: scroll; overflow-x: hidden;
|
||||
max-height: 100%;">
|
||||
|
||||
<v-divider class="grey lighten-1 mr-2 ml-2 mb-4"></v-divider>
|
||||
|
||||
<!--
|
||||
<v-toolbar floating light class="grey lighten-4" style="width: 272px;">
|
||||
<v-text-field
|
||||
style="width: 228px;"
|
||||
flat
|
||||
|
||||
hide-details
|
||||
prepend-inner-icon="search"
|
||||
label="Search"
|
||||
class="hidden-sm-and-down"
|
||||
></v-text-field>
|
||||
</v-toolbar>
|
||||
-->
|
||||
|
||||
|
||||
<p class="ml-3">
|
||||
<a href="/" class="beba" style="color: #1E1E3C;" ><v-icon style="color: #1E1E3C;" >home</v-icon> Table of content</a>
|
||||
<p>
|
||||
|
||||
{{ partial "menu_recursive.html" (dict "menu" .Site.Menus.main "page" . ) }}
|
||||
|
||||
<v-divider class="grey lighten-1 ma-2 mt-4 mb-4"></v-divider>
|
||||
|
||||
<ul>Have a question ?
|
||||
<li class="lefttree"> <a href="https://forum.pycom.io">Ask on the forum</a>
|
||||
</ul>
|
||||
<p> </p>
|
||||
<p> </p>
|
||||
</div>
|
||||
</v-navigation-drawer>
|
||||
32
themes/doc-theme/layouts/partials/menu_recursive.html
Normal file
32
themes/doc-theme/layouts/partials/menu_recursive.html
Normal file
@@ -0,0 +1,32 @@
|
||||
{{ $page := .page }}
|
||||
{{ $pURL := .page.URL }}
|
||||
<ul class="lefttree ">
|
||||
{{ range .menu }}
|
||||
{{ $iz := eq $page.URL .URL}}
|
||||
{{ $haz := in $page.URL .URL}}
|
||||
{{ $phaz := $page.HasMenuCurrent "main" .}}
|
||||
{{ $subheading := ne .Parent "" }}
|
||||
{{ if .HasChildren }}
|
||||
|
||||
{{ if true }}
|
||||
<li class="lefttree {{ if or $iz $haz }}padleft hot{{ end }}" >
|
||||
<a href="{{ .URL | relURL }}" class="{{ if or $iz $haz }}hot{{end}} {{ if $subheading }}mono{{ end }}"> {{ .Pre }} {{ .Name }}</a>
|
||||
{{ end }}
|
||||
{{ if or $iz $haz $phaz }}
|
||||
{{ partial "menu_recursive.html" (dict "menu" .Children "page" $page) }}
|
||||
{{ end }}
|
||||
|
||||
{{ if or $iz $haz $phaz}}
|
||||
</li>
|
||||
{{ end }}
|
||||
|
||||
{{ else }}
|
||||
|
||||
|
||||
<li class="lefttree {{ if $haz }}hot{{end}}">
|
||||
<a href="{{ .URL | relURL }}" class="{{ if $iz }}hot{{end}} {{ if $subheading }}mono{{ end }}">{{ .Name }}</a>
|
||||
</li>
|
||||
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
100
themes/doc-theme/layouts/partials/prev_next.html
Normal file
100
themes/doc-theme/layouts/partials/prev_next.html
Normal file
@@ -0,0 +1,100 @@
|
||||
{{ $page := .page }}
|
||||
{{ $prev := false }}
|
||||
{{ $prevtmp := false }}
|
||||
{{ $got := false }}
|
||||
{{ $current := false }}
|
||||
|
||||
{{ range .menu }}
|
||||
{{- /** *************************************************************** */ -}}
|
||||
{{ $iz := eq $page.URL .URL}}
|
||||
{{ if $got }}
|
||||
{{ partial "prev_next_btn.html" (dict "context" . "prev" $prev "next" .URL) }}
|
||||
{{ end }}
|
||||
{{ if $iz }}
|
||||
{{ $current = . }}
|
||||
{{ $got = true }}
|
||||
{{ $prev = $prevtmp }}
|
||||
{{ else }}
|
||||
{{ $got = false }}
|
||||
{{ end }}
|
||||
{{ $prevtmp = . }}
|
||||
{{- /** *************************************************************** */ -}}
|
||||
|
||||
{{ if .HasChildren }}
|
||||
{{ range .Children }}
|
||||
{{- /** *************************************************************** */ -}}
|
||||
{{ $iz := eq $page.URL .URL}}
|
||||
{{ if $got }}
|
||||
|
||||
{{ partial "prev_next_btn.html" (dict "context" . "prev" $prev "next" .URL) }}
|
||||
|
||||
{{ end }}
|
||||
{{ if $iz }}
|
||||
{{ $current = . }}
|
||||
{{ $got = true }}
|
||||
{{ $prev = $prevtmp }}
|
||||
{{ else }}
|
||||
{{ $got = false }}
|
||||
{{ end }}
|
||||
{{ $prevtmp = . }}
|
||||
{{- /** *************************************************************** */ -}}
|
||||
|
||||
{{ if .HasChildren }}
|
||||
{{ range .Children }}
|
||||
{{- /** *************************************************************** */ -}}
|
||||
{{ $iz := eq $page.URL .URL}}
|
||||
{{ if $got }}
|
||||
{{ partial "prev_next_btn.html" (dict "context" . "prev" $prev "next" .URL) }}
|
||||
{{ end }}
|
||||
{{ if $iz }}
|
||||
{{ $current = . }}
|
||||
{{ $got = true }}
|
||||
{{ $prev = $prevtmp }}
|
||||
{{ else }}
|
||||
{{ $got = false }}
|
||||
{{ end }}
|
||||
{{ $prevtmp = . }}
|
||||
|
||||
{{- /** *************************************************************** */ -}}
|
||||
|
||||
{{ if .HasChildren }}
|
||||
{{ range .Children }}
|
||||
{{- /** *************************************************************** */ -}}
|
||||
{{ $iz := eq $page.URL .URL}}
|
||||
{{ if $got }}
|
||||
{{ partial "prev_next_btn.html" (dict "context" . "prev" $prev "next" .URL) }}
|
||||
{{ end }}
|
||||
{{ if $iz }}
|
||||
{{ $current = . }}
|
||||
{{ $got = true }}
|
||||
{{ $prev = $prevtmp }}
|
||||
{{ else }}
|
||||
{{ $got = false }}
|
||||
{{ end }}
|
||||
{{ $prevtmp = . }}
|
||||
{{ if .HasChildren }}
|
||||
{{ range .Children }}
|
||||
{{- /** *************************************************************** */ -}}
|
||||
{{ $iz := eq $page.URL .URL}}
|
||||
{{ if $got }}
|
||||
{{ partial "prev_next_btn.html" (dict "context" . "prev" $prev "next" .URL) }}
|
||||
{{ end }}
|
||||
{{ if $iz }}
|
||||
{{ $current = . }}
|
||||
{{ $got = true }}
|
||||
{{ $prev = $prevtmp }}
|
||||
{{ else }}
|
||||
{{ $got = false }}
|
||||
{{ end }}
|
||||
{{ $prevtmp = . }}
|
||||
{{- /** *************************************************************** */ -}}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{- /** *************************************************************** */ -}}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
10
themes/doc-theme/layouts/partials/prev_next_btn.html
Normal file
10
themes/doc-theme/layouts/partials/prev_next_btn.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<v-layout class="full-width prev-next pa-2 mt-4 mb-0" styleZZ="background-color: #7800FF;">
|
||||
<v-flex xs6 class="ppurple">
|
||||
{{ if $.prev }}
|
||||
<v-btn class="ml-4" href="{{ $.prev.URL }}">Previous</v-btn>
|
||||
{{ end }}
|
||||
</v-flex>
|
||||
<v-flex xs6 class="text-xs-right">
|
||||
<v-btn class="mr-4 pbgpurple white--text" href="{{ $.next }}">Next</v-btn>
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
15
themes/doc-theme/layouts/partials/summary.html
Normal file
15
themes/doc-theme/layouts/partials/summary.html
Normal file
@@ -0,0 +1,15 @@
|
||||
{{ define "main" }}
|
||||
<article class="pa3 pa4-ns nested-copy-line-height nested-img">
|
||||
<main class="cf ph3 ph5-l pv3 pv4-l f4 tc-l center measure-wide lh-copy mid-gray">
|
||||
{{- .Content -}}
|
||||
</main>
|
||||
<section class="flex-ns flex-wrap justify-around mt5">
|
||||
{{ range .Paginator.Pages }}
|
||||
<div class="relative w-100 w-30-l mb4 bg-white">
|
||||
{{- partial "summary.html" . -}}
|
||||
</div>
|
||||
{{ end }}
|
||||
</section>
|
||||
{{- template "_internal/pagination.html" . -}}
|
||||
</article>
|
||||
{{ end }}
|
||||
33
themes/doc-theme/layouts/partials/toolbar.html
Normal file
33
themes/doc-theme/layouts/partials/toolbar.html
Normal file
@@ -0,0 +1,33 @@
|
||||
<v-toolbar
|
||||
app
|
||||
fixed
|
||||
scroll-off-screen
|
||||
height=68
|
||||
class="pr-3 pl-2"
|
||||
dark
|
||||
style="background-color: #171730"
|
||||
>
|
||||
<!-- style="background-color: #171730" -->
|
||||
<v-toolbar-title style="width: 260px; " class="ml-4 pl-0 pt-2 text-xs-center hidden-sm-and-down">
|
||||
<v-img height=48 width=190 src="/logo.svg" class="">
|
||||
</v-toolbar-title>
|
||||
|
||||
<v-btn icon @click.stop="drawer = !drawer" style="z-index: 1200;">
|
||||
<v-icon>toc</v-icon>
|
||||
</v-btn>
|
||||
<span class="beba" style="font-size: 1.6rem; opacity: 0.85;">
|
||||
{{ .Page.Title }}
|
||||
</span>
|
||||
|
||||
|
||||
<v-spacer></v-spacer>
|
||||
<div style="width: 210px; background-color: ">
|
||||
<v-select :items="branches" v-model="branch" width=120 class="mono">
|
||||
</div>
|
||||
</v-select>
|
||||
{{- if gt .WordCount 400 -}}
|
||||
<v-btn icon ref="tocBtn" @click.stop="drawer2 = !drawer2" >
|
||||
<v-icon style="color: rgb(23, 255, 189);">more_vert</v-icon>
|
||||
</v-btn>
|
||||
{{ end }}
|
||||
</v-toolbar>
|
||||
299
themes/doc-theme/static/css/doc-theme.css
Normal file
299
themes/doc-theme/static/css/doc-theme.css
Normal file
@@ -0,0 +1,299 @@
|
||||
|
||||
html {
|
||||
font-size: 105%;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.menu-contextual {
|
||||
width: 320px;
|
||||
right: 0px;
|
||||
top: 0px;
|
||||
z-index: 3;
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
li.lefttree, li.righttree {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
aside {
|
||||
padding-bottom: 72px;
|
||||
}
|
||||
|
||||
nav#TableOfContents {
|
||||
margin-left: -48px;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4 {
|
||||
color: #1E1E3C;
|
||||
letter-spacing: 0.1em;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
|
||||
h1 {
|
||||
font-family: 'Beba',Helvetica,Arial,Lucida,sans-serif;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4 {
|
||||
margin-top: 24px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
|
||||
h2 > a {
|
||||
color: #1E1E3C;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Beba";
|
||||
src: url("/fonts/BebasNeue-Regular.eot");
|
||||
src: url("/fonts/BebasNeue-Regular.woff") format("woff"),
|
||||
url("/fonts/BebasNeue-Regular.otf") format("opentype");
|
||||
}
|
||||
/* 'Beba',Helvetica,Arial,Lucida,sans-serif; */
|
||||
|
||||
.mono {
|
||||
font-family: monospace!important;
|
||||
}
|
||||
|
||||
.beba {
|
||||
font-family: 'Beba',Helvetica,Arial,Lucida,sans-serif;
|
||||
letter-spacing: 0.1em;
|
||||
}
|
||||
|
||||
|
||||
.application {
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.application {
|
||||
/* font-family: 'Beba',Helvetica,Arial,Lucida,sans-serif; */
|
||||
font-family:'Space Mono',monospace;
|
||||
}
|
||||
|
||||
p {
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
.bread {
|
||||
font-family: 'Beba',Helvetica,Arial,Lucida,sans-serif;
|
||||
letter-spacing: 0.1em;
|
||||
color: #7800FF;
|
||||
}
|
||||
|
||||
.theme--dark.v-navigation-drawer:not(.v-navigation-drawer--floating) .v-navigation-drawer__border {
|
||||
background-color: transparent;
|
||||
}
|
||||
/** this gives correct offset when link to anchors */
|
||||
*[id]:before {
|
||||
display: block;
|
||||
content: " ";
|
||||
margin-top: -75px;
|
||||
height: 75px;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
|
||||
|
||||
a, li.lefttree > a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a, li.righttree > a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: underline;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
background-color: yellow;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #1E1E3C!important;
|
||||
}
|
||||
|
||||
li > a {
|
||||
color: #1E1E3C;
|
||||
font-weight: 500;
|
||||
line-height: 1.60;
|
||||
}
|
||||
|
||||
li > a.hot {
|
||||
color: #7800FF;
|
||||
text-decoration: underline;
|
||||
background-color: yellow;
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
li.lefttree {
|
||||
margin-top: 6px;
|
||||
margin-bottom: 6px;
|
||||
|
||||
}
|
||||
|
||||
li.lefttree > a {
|
||||
font-family: 'Beba',Helvetica,Arial,Lucida,sans-serif;
|
||||
letter-spacing: 0.1em;
|
||||
}
|
||||
|
||||
li.hot {
|
||||
width: calc(100% + 22px);
|
||||
margin-right: 0px;
|
||||
padding-right: 0px;
|
||||
transform: translate(-22px);
|
||||
padding-left: 22px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
ul.lefttree {
|
||||
padding-right: 0px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
.v-toolbar__content, .v-toolbar__extension {
|
||||
padding:0!important;
|
||||
}
|
||||
|
||||
.danger-alert {
|
||||
background-color: #FF450A !important;
|
||||
margin-top: 24px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.warning-alert {
|
||||
background-color: #FF450A !important;
|
||||
margin-top: 24px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
|
||||
.info-alert {
|
||||
background-color: #00FFFF !important;
|
||||
margin-top: 24px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.theme--light.v-toolbar {
|
||||
color: #171730!important;
|
||||
}
|
||||
|
||||
nav#TableOfContents {
|
||||
overflow-y: scroll;
|
||||
max-height: 640px;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 90%;
|
||||
margin-left: 5%;
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
/*
|
||||
nav#TableOfContents::-webkit-scrollbar, .fancyScroll::-webkit-scrollbar
|
||||
{
|
||||
width: 10px!important;
|
||||
}
|
||||
|
||||
nav#TableOfContents::-webkit-scrollbar-thumb, .fancyScroll::-webkit-scrollbar-thumb
|
||||
{
|
||||
border-radius: 10px!important;
|
||||
background-image: -webkit-gradient(linear,
|
||||
left bottom,
|
||||
left top,
|
||||
color-stop(0.86, rgb(255,255,255)),
|
||||
color-stop(0.72, rgb(120,0,255)));
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
[v-cloak] > * { display:none }
|
||||
[v-cloak]::before {
|
||||
content: " ";
|
||||
display: block;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-image: url('/logo2.svg');
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
|
||||
|
||||
table {
|
||||
display: table;
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
table tr {
|
||||
background-color: #fff;
|
||||
border-top: 1px solid #ccc;
|
||||
}
|
||||
|
||||
table td, table th {
|
||||
padding: 6px 13px;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.ppurple {
|
||||
color: #7800FF;
|
||||
}
|
||||
|
||||
.pbgpurple {
|
||||
background-color: #7800FF!important;
|
||||
color: white;
|
||||
}
|
||||
|
||||
|
||||
.navy {
|
||||
color: #1E1E3C;
|
||||
}
|
||||
|
||||
.prev-next {
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
|
||||
.primary {
|
||||
background-color: red !important;
|
||||
border-color: red !important;
|
||||
}
|
||||
|
||||
pre {
|
||||
background-color: transparent!important;
|
||||
}
|
||||
pre > code {
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
margin-top: 4px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
code {
|
||||
|
||||
padding: 1px;
|
||||
background-color: #EEEEEE;
|
||||
}
|
||||
|
||||
.primary--text {
|
||||
color: #7800FF;
|
||||
}
|
||||
BIN
themes/doc-theme/static/favicon.ico
Normal file
BIN
themes/doc-theme/static/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.2 KiB |
BIN
themes/doc-theme/static/fonts/BebasNeue-Regular.eot
Normal file
BIN
themes/doc-theme/static/fonts/BebasNeue-Regular.eot
Normal file
Binary file not shown.
BIN
themes/doc-theme/static/fonts/BebasNeue-Regular.otf
Normal file
BIN
themes/doc-theme/static/fonts/BebasNeue-Regular.otf
Normal file
Binary file not shown.
BIN
themes/doc-theme/static/fonts/BebasNeue-Regular.ttf
Normal file
BIN
themes/doc-theme/static/fonts/BebasNeue-Regular.ttf
Normal file
Binary file not shown.
BIN
themes/doc-theme/static/fonts/BebasNeue-Regular.woff
Normal file
BIN
themes/doc-theme/static/fonts/BebasNeue-Regular.woff
Normal file
Binary file not shown.
1
themes/doc-theme/static/logo.svg
Normal file
1
themes/doc-theme/static/logo.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 5.6 KiB |
110
themes/doc-theme/static/logo2.svg
Normal file
110
themes/doc-theme/static/logo2.svg
Normal file
@@ -0,0 +1,110 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
version="1.0"
|
||||
width="890.000000pt"
|
||||
height="219.000000pt"
|
||||
viewBox="0 0 890.000000 219.000000"
|
||||
preserveAspectRatio="xMidYMid meet"
|
||||
id="svg3811"
|
||||
sodipodi:docname="logo2.svg"
|
||||
inkscape:version="0.92.2 5c3e80d, 2017-08-06">
|
||||
<defs
|
||||
id="defs3815" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1307"
|
||||
inkscape:window-height="828"
|
||||
id="namedview3813"
|
||||
showgrid="false"
|
||||
inkscape:zoom="1.5337079"
|
||||
inkscape:cx="713.38979"
|
||||
inkscape:cy="186.58434"
|
||||
inkscape:window-x="1369"
|
||||
inkscape:window-y="207"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="svg3811" />
|
||||
<metadata
|
||||
id="metadata3777">
|
||||
Created by potrace 1.15, written by Peter Selinger 2001-2017
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
transform="translate(0.000000,219.000000) scale(0.100000,-0.100000)"
|
||||
fill="#000000"
|
||||
stroke="none"
|
||||
id="g3809">
|
||||
<path
|
||||
d="M2663 2149 c-34 -10 -84 -35 -112 -53 l-51 -35 0 45 0 44 -150 0 -150 0 0 -780 0 -780 150 0 150 0 0 261 0 261 37 -32 c69 -61 135 -84 254 -88 182 -7 295 33 405 143 112 111 164 253 164 445 0 71 -6 139 -15 175 -53 204 -191 353 -370 400 -84 21 -234 19 -312 -6z m232 -283 c51 -23 112 -82 139 -133 25 -50 38 -146 27 -211 -25 -158 -129 -253 -277 -253 -117 0 -188 35 -244 119 -42 64 -53 113 -48 217 4 72 10 100 31 141 49 96 130 142 252 143 53 1 82 -5 120 -23z"
|
||||
id="path3779" />
|
||||
<path
|
||||
d="M4980 2154 c-209 -45 -390 -217 -445 -424 -24 -90 -20 -245 10 -337 47 -149 162 -282 298 -347 105 -50 149 -60 272 -60 169 0 275 38 382 138 53 49 133 164 133 192 0 18 -254 118 -259 103 -10 -32 -96 -109 -144 -129 -72 -31 -164 -31 -235 0 -181 79 -231 348 -94 501 80 89 175 117 286 85 46 -14 70 -29 116 -74 31 -31 59 -63 62 -71 3 -10 36 0 133 39 72 29 134 56 139 61 14 12 -45 101 -115 170 -139 139 -341 196 -539 153z"
|
||||
id="path3781" />
|
||||
<path
|
||||
d="M6185 2160 c-378 -76 -581 -491 -412 -845 73 -152 203 -261 372 -311 95 -28 240 -24 340 10 192 66 340 222 390 412 19 74 19 232 0 304 -54 203 -232 377 -437 425 -67 16 -187 18 -253 5z m211 -287 c69 -23 144 -101 173 -178 45 -119 11 -279 -75 -354 -65 -57 -112 -76 -194 -76 -66 0 -82 4 -130 31 -107 60 -170 186 -157 314 21 200 202 325 383 263z"
|
||||
id="path3783" />
|
||||
<path
|
||||
d="M7508 2159 c-38 -9 -134 -56 -175 -85 -23 -16 -23 -16 -23 30 l0 46 -150 0 -150 0 0 -580 0 -580 150 0 150 0 0 293 c1 441 13 521 92 580 107 81 273 33 307 -88 7 -26 11 -172 11 -412 l0 -373 155 0 154 0 3 383 3 382 25 45 c61 108 210 139 302 62 66 -56 68 -65 68 -489 l0 -383 156 0 155 0 -4 413 c-4 439 -6 456 -57 557 -53 105 -133 167 -250 194 -165 39 -329 6 -448 -91 l-43 -35 -41 37 c-93 85 -260 125 -390 94z"
|
||||
id="path3785" />
|
||||
<path
|
||||
d="M121 1368 l0 -783 195 388 194 387 195 0 195 0 0 395 0 395 -390 0 -390 0 1 -782z"
|
||||
id="path3787" />
|
||||
<path
|
||||
d="M1030 1370 c0 -429 3 -780 8 -780 6 0 782 1542 782 1555 0 3 -178 5 -395 5 l-395 0 0 -780z"
|
||||
id="path3789" />
|
||||
<path
|
||||
d="M3334 2128 c3 -13 106 -259 229 -547 l224 -524 -75 -186 c-41 -102 -83 -207 -93 -233 l-19 -48 169 0 168 0 296 763 c163 419 299 770 303 780 6 16 -6 17 -169 17 l-176 0 -19 -52 c-10 -29 -65 -187 -122 -350 -57 -163 -106 -295 -109 -293 -3 2 -64 159 -136 349 l-130 346 -174 0 -173 0 6 -22z"
|
||||
id="path3791" />
|
||||
<path
|
||||
d="M8520 675 l0 -75 -60 0 -60 0 0 -35 0 -35 60 0 60 0 0 -149 c0 -181 0 -181 122 -181 l78 0 0 35 0 35 -65 0 -65 0 0 130 0 130 75 0 75 0 0 35 0 35 -75 0 -75 0 0 75 0 75 -35 0 -35 0 0 -75z"
|
||||
id="path3793" />
|
||||
<path
|
||||
d="M4726 595 c-98 -35 -148 -151 -115 -270 17 -61 83 -121 142 -130 63 -10 109 0 141 30 l26 24 0 -69 0 -70 -125 0 -125 0 0 -30 0 -30 148 0 c102 0 152 4 160 12 9 9 12 84 12 275 l0 263 -35 0 c-31 0 -35 -3 -35 -27 l0 -26 -22 21 c-46 42 -104 52 -172 27z m125 -70 c113 -59 76 -265 -48 -265 -76 0 -126 56 -127 140 0 104 91 168 175 125z"
|
||||
id="path3795" />
|
||||
<path
|
||||
d="M5238 601 c-109 -35 -164 -139 -138 -256 23 -104 104 -162 212 -152 113 10 178 84 178 200 0 89 -37 159 -101 192 -34 18 -117 26 -151 16z m111 -79 c82 -44 94 -172 23 -235 -31 -28 -98 -34 -138 -12 -85 46 -86 194 -1 245 40 25 73 25 116 2z"
|
||||
id="path3797" />
|
||||
<path
|
||||
d="M6673 603 c-13 -2 -36 -18 -53 -34 l-30 -31 0 31 c0 29 -3 31 -35 31 l-35 0 0 -200 0 -200 35 0 35 0 0 115 c0 129 11 168 56 204 35 28 96 24 128 -8 19 -20 21 -35 24 -166 l3 -145 35 0 34 0 0 148 c0 160 -9 197 -60 234 -26 18 -98 30 -137 21z"
|
||||
id="path3799" />
|
||||
<path
|
||||
d="M7572 599 c-54 -16 -108 -78 -122 -141 -16 -70 0 -155 38 -200 74 -87 221 -91 296 -8 50 55 49 71 -6 84 -21 5 -28 3 -28 -8 0 -8 -14 -26 -31 -40 -24 -20 -41 -26 -81 -26 -44 0 -54 4 -84 34 -21 21 -34 44 -34 60 l0 26 156 0 157 0 -7 52 c-9 63 -26 98 -66 131 -50 43 -119 56 -188 36z m151 -99 c49 -55 41 -60 -88 -60 -63 0 -115 2 -115 5 0 4 7 19 14 34 35 66 138 78 189 21z"
|
||||
id="path3801" />
|
||||
<path
|
||||
d="M8103 603 c-13 -2 -36 -18 -53 -34 l-30 -31 0 31 c0 29 -3 31 -35 31 l-35 0 0 -200 0 -200 35 0 35 0 0 108 c0 59 5 123 10 143 13 47 49 79 97 86 32 4 45 1 69 -20 l29 -25 3 -146 3 -146 35 0 34 0 0 148 c0 160 -9 197 -60 234 -26 18 -98 30 -137 21z"
|
||||
id="path3803" />
|
||||
<path
|
||||
d="M6080 565 l0 -35 60 0 60 0 0 -130 0 -130 -70 0 -70 0 0 -35 0 -35 165 0 165 0 0 35 0 35 -60 0 -60 0 0 165 0 165 -95 0 -95 0 0 -35z"
|
||||
id="path3805" />
|
||||
<path
|
||||
d="M6970 587 c0 -12 70 -221 116 -344 l16 -43 63 0 63 0 26 73 c77 215 106 302 106 314 0 8 -13 13 -38 13 l-38 0 -59 -181 -60 -180 -60 180 -60 181 -37 0 c-25 0 -38 -5 -38 -13z"
|
||||
id="path3807" />
|
||||
</g>
|
||||
<ellipse
|
||||
id="path3824"
|
||||
cx="622.06592"
|
||||
cy="149.17856"
|
||||
rx="4.9340606"
|
||||
ry="4.9642844"
|
||||
style="stroke-width:0.49245027" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 6.3 KiB |
21
themes/doc-theme/theme.toml
Normal file
21
themes/doc-theme/theme.toml
Normal file
@@ -0,0 +1,21 @@
|
||||
# theme.toml template for a Hugo theme
|
||||
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
|
||||
|
||||
name = "Doc Theme"
|
||||
license = "MIT"
|
||||
licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE"
|
||||
description = ""
|
||||
homepage = "http://example.com/"
|
||||
tags = []
|
||||
features = []
|
||||
min_version = "0.41"
|
||||
|
||||
[author]
|
||||
name = ""
|
||||
homepage = ""
|
||||
|
||||
# If porting an existing theme
|
||||
[original]
|
||||
name = ""
|
||||
homepage = ""
|
||||
repo = ""
|
||||
Reference in New Issue
Block a user