feat(documentation): svelte app as document generator (#566)

* check in full site application

* rm unused assets components

* change base css

* i18n

* new doc workflow

* fix crosslink to doc in github

* nav, console link, assets, console brand

* edit configjs server

* rm go struct references

* cleanup input output bindings

* working dir

* export path

* always trigger

* rel paths

* cname

* rev workdir

* fix fallbacklanguage, home on large screens

* remove mit from site
This commit is contained in:
Max Peintner
2020-08-11 09:53:09 +02:00
committed by GitHub
parent 5efcd7b2f9
commit 2c517d6278
70 changed files with 6483 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
<style>
a {
display: flex;
align-items: center;
color: var(--text);
text-decoration: none;
border: none;
padding: 0;
}
a:hover {
text-decoration: none;
border: none;
padding: 0;
}
</style>
<script>
import { getContext } from 'svelte';
export let segment = null;
export let external = null;
export let title = '';
const current = getContext('nav');
</script>
{#if external}
<a href={external}><slot></slot></a>
{:else}
<a rel="prefetch" alt="{title}" href={segment}><slot></slot></a>
{/if}