shop audit
This commit is contained in:
5
website/content/tools/_index.md
Normal file
5
website/content/tools/_index.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
title: "Tools & Packages"
|
||||
description: "Package management, shop architecture, and development tools"
|
||||
type: "tools"
|
||||
---
|
||||
21
website/data/tools_sections.yaml
Normal file
21
website/data/tools_sections.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
sections:
|
||||
- title: "Packages"
|
||||
page: "/docs/packages/"
|
||||
id: "packages"
|
||||
group: "Packages"
|
||||
- title: "Shop Architecture"
|
||||
page: "/docs/shop/"
|
||||
id: "shop"
|
||||
group: "Packages"
|
||||
- title: "Writing C Modules"
|
||||
page: "/docs/c-modules/"
|
||||
id: "c-modules"
|
||||
group: "Development"
|
||||
- title: "Testing"
|
||||
page: "/docs/testing/"
|
||||
id: "testing"
|
||||
group: "Development"
|
||||
- title: "Compiler Tools"
|
||||
page: "/docs/compiler-tools/"
|
||||
id: "compiler-tools"
|
||||
group: "Development"
|
||||
19
website/themes/knr/layouts/tools/list.html
Normal file
19
website/themes/knr/layouts/tools/list.html
Normal file
@@ -0,0 +1,19 @@
|
||||
{{ define "main" }}
|
||||
<div class="longform-layout">
|
||||
<nav class="toc-nav" id="toc-nav">
|
||||
<h3>Contents</h3>
|
||||
<ul id="toc-list"></ul>
|
||||
</nav>
|
||||
<article class="longform-content" id="longform-content">
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ range .Site.Data.tools_sections.sections }}
|
||||
<section id="{{ .id }}" data-toc-title="{{ .title }}" data-toc-group="{{ .group }}">
|
||||
{{ with $.Site.GetPage .page }}
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
</section>
|
||||
{{ end }}
|
||||
</article>
|
||||
</div>
|
||||
<script src="/js/toc.js"></script>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user