first commit

This commit is contained in:
2026-10-20 09:41:46 -06:00
commit 2f9031492e
116 changed files with 3737 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
{{/* Application directory grouped by category. Context: dict with "headingLevel". */}}
{{ $apps := (site.GetPage "/apps").Pages }}
{{ $h := .headingLevel | default 2 }}
<div class="directory">
{{ range site.Params.appGroups }}
{{ $group := .name }}
{{ $inGroup := where $apps "Params.category" $group }}
{{ with $inGroup }}
<section class="dir-group" id="{{ $group | anchorize }}">
<header class="dir-group-head">
<h{{ $h }}>{{ $group }}</h{{ $h }}>
</header>
<ul class="dir-list">
{{ range .ByTitle }}
<li class="dir-row">
<a class="dir-name" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
<span class="dir-desc">{{ .Params.tagline }}</span>
{{ with .Params.replaces }}<span class="dir-replaces"><span class="visually-hidden">Use instead of </span>{{ range $i, $n := first 3 . }}{{ if $i }}<span class="sep">, </span>{{ end }}<s>{{ $n }}</s>{{ end }}</span>{{ end }}
</li>
{{ end }}
</ul>
</section>
{{ end }}
{{ end }}
</div>
+6
View File
@@ -0,0 +1,6 @@
<footer class="site-footer">
<div class="site-footer-inner">
<p>Documentation for applications hosted by <a href="{{ site.Params.companyURL }}">{{ site.Params.company }}</a> on Federated Core. Each application runs on your own virtual machine.</p>
<p>Application names and trademarks belong to their respective projects. Links to upstream documentation open the project's own website.</p>
</div>
</footer>
+23
View File
@@ -0,0 +1,23 @@
<header class="masthead">
<div class="masthead-inner">
<button class="nav-toggle" type="button" aria-controls="sidebar" aria-expanded="false">
<span class="nav-toggle-bars" aria-hidden="true"></span><span class="visually-hidden">Menu</span>
</button>
<a class="brand" href="{{ "/" | relURL }}">
{{ partial "mark.html" . }}
<span class="brand-text">Federated Computer <span class="brand-sub">Docs</span></span>
</a>
<nav class="topnav" aria-label="Primary">
{{ $current := . }}
{{ range site.Menus.main }}
<a href="{{ .URL }}"{{ if or ($current.IsMenuCurrent "main" .) ($current.HasMenuCurrent "main" .) (and .Page ($current.IsDescendant .Page)) }} aria-current="true"{{ end }}>{{ .Name }}</a>
{{ end }}
</nav>
<div class="search" role="search">
<label class="visually-hidden" for="search-input">Search the documentation</label>
<input id="search-input" type="search" placeholder="Search apps and guides" autocomplete="off" spellcheck="false" aria-controls="search-results" aria-expanded="false">
<kbd class="search-key" aria-hidden="true">/</kbd>
<ol id="search-results" class="search-results" hidden></ol>
</div>
</div>
</header>
+1
View File
@@ -0,0 +1 @@
<img class="mark" src="{{ "clifford.svg" | relURL }}" width="32" height="28" alt="">
+15
View File
@@ -0,0 +1,15 @@
{{ $pages := slice }}
{{ if eq .Section "apps" }}
{{ $pages = (site.GetPage "/apps").Pages.ByTitle }}
{{ else }}
{{ with .CurrentSection }}{{ $pages = .Pages.ByWeight }}{{ end }}
{{ end }}
{{ if and $pages (not .IsSection) }}
{{ $prev := $pages.Prev . }}
{{ $next := $pages.Next . }}
{{/* Pages.Next/Prev are reversed relative to reading order */}}
<nav class="pager" aria-label="Previous and next">
{{ with $next }}<a class="pager-prev" href="{{ .RelPermalink }}"><span>Previous</span>{{ .LinkTitle }}</a>{{ end }}
{{ with $prev }}<a class="pager-next" href="{{ .RelPermalink }}"><span>Next</span>{{ .LinkTitle }}</a>{{ end }}
</nav>
{{ end }}
+6
View File
@@ -0,0 +1,6 @@
{{/* Renders the list of proprietary services an app can replace, struck through. */}}
{{ with .Params.replaces }}
<span class="replaces">
{{ range $i, $name := . }}{{ if $i }}<span class="sep">, </span>{{ end }}<s>{{ $name }}</s>{{ end }}
</span>
{{ end }}
+31
View File
@@ -0,0 +1,31 @@
{{ $current := . }}
<nav id="sidebar" class="sidebar" aria-label="Documentation">
{{ with site.GetPage "/getting-started" }}
<div class="side-group">
<a class="side-heading{{ if eq $current . }} is-current{{ end }}" href="{{ .RelPermalink }}"{{ if eq $current . }} aria-current="page"{{ end }}>{{ .Title }}</a>
<ul>
{{ range .Pages.ByWeight }}
<li><a href="{{ .RelPermalink }}"{{ if eq $current . }} aria-current="page"{{ end }}>{{ .LinkTitle }}</a></li>
{{ end }}
</ul>
</div>
{{ end }}
{{ with site.GetPage "/apps" }}
{{ $apps := .Pages }}
<div class="side-group">
<a class="side-heading{{ if eq $current . }} is-current{{ end }}" href="{{ .RelPermalink }}"{{ if eq $current . }} aria-current="page"{{ end }}>Applications</a>
{{ range site.Params.appGroups }}
{{ $group := .name }}
{{ $inGroup := where $apps "Params.category" $group }}
{{ with $inGroup }}
<p class="side-sub">{{ $group }}</p>
<ul>
{{ range .ByTitle }}
<li><a href="{{ .RelPermalink }}"{{ if eq $current . }} aria-current="page"{{ end }}>{{ .LinkTitle }}</a></li>
{{ end }}
</ul>
{{ end }}
{{ end }}
</div>
{{ end }}
</nav>