Skip to content

Commit

Permalink
feat: finish first version of the layout
Browse files Browse the repository at this point in the history
  • Loading branch information
teresalves committed Aug 8, 2024
1 parent a03bf46 commit 4729eeb
Show file tree
Hide file tree
Showing 42 changed files with 15,582 additions and 76 deletions.
2 changes: 1 addition & 1 deletion config/_default/menus/menus.en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

[[main]]
name = "Docs"
url = "/docs/kubernetes/basic-commands/"
url = "/docs/introduction/overview"
# url = "/docs/1.0/prologue/introduction/"
weight = 10

Expand Down
4 changes: 2 additions & 2 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Welcome to Doks"
title: "Teresa Alves"
description: ""
lead: "Congrats on setting up a new Doks project!"
lead: "Docs, Thoughts and Dogs"
date: 2023-09-07T16:33:54+02:00
lastmod: 2023-09-07T16:33:54+02:00
draft: false
Expand Down
15 changes: 15 additions & 0 deletions content/docs/introduction/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: "Introduction"
description: ""
summary: ""
date: 2023-09-07T16:06:50+02:00
lastmod: 2023-09-07T16:06:50+02:00
draft: false
weight: 100
toc: true
seo:
title: "" # custom title (optional)
description: "" # custom description (recommended)
canonical: "" # custom canonical URL (optional)
noindex: false # false (default) or true
---
18 changes: 18 additions & 0 deletions content/docs/introduction/overview.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: "Overview"
description: "Overview of the docs"
summary: ""
date: 2023-09-07T16:04:48+02:00
lastmod: 2023-09-07T16:04:48+02:00
draft: false
weight: 110
toc: true
seo:
title: "" # custom title (optional)
description: "" # custom description (recommended)
canonical: "" # custom canonical URL (optional)
noindex: false # false (default) or true
---

These docs summarize some technologies and respective commands related to Backend and Platform Engineering.
Feel free to post a PR to update typos or new interesting commands, or put in an issue if you wish to see a whole new module. The search bar works too, if you're looking for something in particular.
2 changes: 0 additions & 2 deletions hugo_stats.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"htmlElements": {
"tags": [
"![image](ellie.png)",
"a",
"article",
"aside",
Expand Down Expand Up @@ -249,7 +248,6 @@
"further-reading",
"getting-logs-and-events",
"going-inside-the-pod",
"h-rh-i-0",
"need-help-with-life",
"offcanvasNavMain",
"offcanvasNavMainLabel",
Expand Down
18 changes: 7 additions & 11 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h1>{{ .Title }}</h1>
</div>
<div class="col-lg-9 col-xl-8 text-center">
<p class="lead">{{ .Params.lead | safeHTML }}</p>
<a class="btn btn-primary btn-cta rounded-pill btn-lg my-3" href="/docs/{{ if site.Params.doks.docsVersioning }}{{ site.Params.doks.docsVersion }}/{{ end }}guides/example-guide/" role="button">{{ i18n "get_started" }}</a>
<a class="btn btn-primary btn-cta rounded-pill btn-lg my-3" href="/docs/{{ if site.Params.doks.docsVersioning }}{{ site.Params.doks.docsVersion }}/{{ end }}introduction/overview/" role="button">Check the Docs</a>
{{ .Content }}
</div>
</div>
Expand All @@ -24,20 +24,16 @@ <h1>{{ .Title }}</h1>
<div class="container">
<div class="row justify-content-center text-center">
<div class="col-lg-5">
<h2 class="h4">Update content</h2>
<p>Edit <code>content/_index.md</code> to see this page change.</p>
<h2 class="h4">Read some docs</h2>
<p>Learn more in the <a href="/docs/introduction/overview">Docs</a></p>
</div>
<div class="col-lg-5">
<h2 class="h4">Add new content</h2>
<p>Add Markdown files to <code>content</code> to create new pages.</p>
<h2 class="h4">Reflect on some thoughts</h2>
<p>I am mostly sharing <a href="/aboutme/events/">events</a>, really</p>
</div>
<div class="col-lg-5">
<h2 class="h4">Configure your site</h2>
<p>Edit your config in <code>config/_default/hyas/doks.toml</code>.</p>
</div>
<div class="col-lg-5">
<h2 class="h4">Read the docs</h2>
<p>Learn more in the <a href="https://getdoks.org/">Docs</a>.</p>
<h2 class="h4">Check out some dogs</h2>
<p>There is only one <a href="/aboutme/aboutme/dogs">dog</a>. But it is a really cute dog</p>
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions public/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
{
"@type": "ListItem",
"item": "http://localhost:1313/",
"name": "Welcome to Doks",
"name": "Teresa Alves",
"position": 1
},
{
Expand Down Expand Up @@ -124,7 +124,7 @@ <h5 class="offcanvas-title" id="offcanvasNavMainLabel">Teresa Alves</h5>
<a class="nav-link" href="http://localhost:1313/aboutme/aboutme/quick-summary/">About Me</a>
</li>
<li class="nav-item">
<a class="nav-link" href="http://localhost:1313/docs/kubernetes/basic-commands/">Docs</a>
<a class="nav-link" href="http://localhost:1313/docs/introduction/overview">Docs</a>
</li>
<li class="nav-item">
<a class="nav-link" href="http://localhost:1313/blog/">Blog</a>
Expand Down
4 changes: 2 additions & 2 deletions public/aboutme/aboutme/dogs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
{
"@type": "ListItem",
"item": "http://localhost:1313/",
"name": "Welcome to Doks",
"name": "Teresa Alves",
"position": 1
},
{
Expand Down Expand Up @@ -204,7 +204,7 @@ <h5 class="offcanvas-title" id="offcanvasNavMainLabel">Teresa Alves</h5>
<a class="nav-link" href="http://localhost:1313/aboutme/aboutme/quick-summary/">About Me</a>
</li>
<li class="nav-item">
<a class="nav-link" href="http://localhost:1313/docs/kubernetes/basic-commands/">Docs</a>
<a class="nav-link" href="http://localhost:1313/docs/introduction/overview">Docs</a>
</li>
<li class="nav-item">
<a class="nav-link" href="http://localhost:1313/blog/">Blog</a>
Expand Down
4 changes: 2 additions & 2 deletions public/aboutme/aboutme/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
{
"@type": "ListItem",
"item": "http://localhost:1313/",
"name": "Welcome to Doks",
"name": "Teresa Alves",
"position": 1
},
{
Expand Down Expand Up @@ -195,7 +195,7 @@ <h5 class="offcanvas-title" id="offcanvasNavMainLabel">Teresa Alves</h5>
<a class="nav-link" href="http://localhost:1313/aboutme/aboutme/quick-summary/">About Me</a>
</li>
<li class="nav-item">
<a class="nav-link" href="http://localhost:1313/docs/kubernetes/basic-commands/">Docs</a>
<a class="nav-link" href="http://localhost:1313/docs/introduction/overview">Docs</a>
</li>
<li class="nav-item">
<a class="nav-link" href="http://localhost:1313/blog/">Blog</a>
Expand Down
2 changes: 1 addition & 1 deletion public/aboutme/aboutme/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<link>http://localhost:1313/aboutme/aboutme/dogs/</link>
<pubDate>Thu, 07 Sep 2023 16:04:48 +0200</pubDate>
<guid>http://localhost:1313/aboutme/aboutme/dogs/</guid>
<description>Have some dogs here.&#xA;This is the best dog, Ellie:</description>
<description>This is the best dog, Ellie:&#xA;Right now, she is my only pup. Maybe when she gets less crazy I can get another one.</description>
</item>
</channel>
</rss>
4 changes: 2 additions & 2 deletions public/aboutme/aboutme/quick-summary/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
{
"@type": "ListItem",
"item": "http://localhost:1313/",
"name": "Welcome to Doks",
"name": "Teresa Alves",
"position": 1
},
{
Expand Down Expand Up @@ -204,7 +204,7 @@ <h5 class="offcanvas-title" id="offcanvasNavMainLabel">Teresa Alves</h5>
<a class="nav-link" href="http://localhost:1313/aboutme/aboutme/quick-summary/">About Me</a>
</li>
<li class="nav-item">
<a class="nav-link" href="http://localhost:1313/docs/kubernetes/basic-commands/">Docs</a>
<a class="nav-link" href="http://localhost:1313/docs/introduction/overview">Docs</a>
</li>
<li class="nav-item">
<a class="nav-link" href="http://localhost:1313/blog/">Blog</a>
Expand Down
4 changes: 2 additions & 2 deletions public/aboutme/events/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
{
"@type": "ListItem",
"item": "http://localhost:1313/",
"name": "Welcome to Doks",
"name": "Teresa Alves",
"position": 1
},
{
Expand Down Expand Up @@ -195,7 +195,7 @@ <h5 class="offcanvas-title" id="offcanvasNavMainLabel">Teresa Alves</h5>
<a class="nav-link" href="http://localhost:1313/aboutme/aboutme/quick-summary/">About Me</a>
</li>
<li class="nav-item">
<a class="nav-link" href="http://localhost:1313/docs/kubernetes/basic-commands/">Docs</a>
<a class="nav-link" href="http://localhost:1313/docs/introduction/overview">Docs</a>
</li>
<li class="nav-item">
<a class="nav-link" href="http://localhost:1313/blog/">Blog</a>
Expand Down
4 changes: 2 additions & 2 deletions public/aboutme/events/public-speaking-events/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
{
"@type": "ListItem",
"item": "http://localhost:1313/",
"name": "Welcome to Doks",
"name": "Teresa Alves",
"position": 1
},
{
Expand Down Expand Up @@ -204,7 +204,7 @@ <h5 class="offcanvas-title" id="offcanvasNavMainLabel">Teresa Alves</h5>
<a class="nav-link" href="http://localhost:1313/aboutme/aboutme/quick-summary/">About Me</a>
</li>
<li class="nav-item">
<a class="nav-link" href="http://localhost:1313/docs/kubernetes/basic-commands/">Docs</a>
<a class="nav-link" href="http://localhost:1313/docs/introduction/overview">Docs</a>
</li>
<li class="nav-item">
<a class="nav-link" href="http://localhost:1313/blog/">Blog</a>
Expand Down
4 changes: 2 additions & 2 deletions public/aboutme/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
{
"@type": "ListItem",
"item": "http://localhost:1313/",
"name": "Welcome to Doks",
"name": "Teresa Alves",
"position": 1
},
{
Expand Down Expand Up @@ -188,7 +188,7 @@ <h5 class="offcanvas-title" id="offcanvasNavMainLabel">Teresa Alves</h5>
<a class="nav-link" href="http://localhost:1313/aboutme/aboutme/quick-summary/">About Me</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="http://localhost:1313/docs/kubernetes/basic-commands/" aria-current="true">Docs</a>
<a class="nav-link active" href="http://localhost:1313/docs/introduction/overview" aria-current="true">Docs</a>
</li>
<li class="nav-item">
<a class="nav-link" href="http://localhost:1313/blog/">Blog</a>
Expand Down
4 changes: 2 additions & 2 deletions public/aboutme/resources/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
{
"@type": "ListItem",
"item": "http://localhost:1313/",
"name": "Welcome to Doks",
"name": "Teresa Alves",
"position": 1
},
{
Expand Down Expand Up @@ -197,7 +197,7 @@ <h5 class="offcanvas-title" id="offcanvasNavMainLabel">Teresa Alves</h5>
<a class="nav-link" href="http://localhost:1313/aboutme/aboutme/quick-summary/">About Me</a>
</li>
<li class="nav-item">
<a class="nav-link" href="http://localhost:1313/docs/kubernetes/basic-commands/">Docs</a>
<a class="nav-link" href="http://localhost:1313/docs/introduction/overview">Docs</a>
</li>
<li class="nav-item">
<a class="nav-link" href="http://localhost:1313/blog/">Blog</a>
Expand Down
4 changes: 2 additions & 2 deletions public/blog/example-post/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
{
"@type": "ListItem",
"item": "http://localhost:1313/",
"name": "Welcome to Doks",
"name": "Teresa Alves",
"position": 1
},
{
Expand Down Expand Up @@ -166,7 +166,7 @@ <h5 class="offcanvas-title" id="offcanvasNavMainLabel">Teresa Alves</h5>
<a class="nav-link" href="http://localhost:1313/aboutme/aboutme/quick-summary/">About Me</a>
</li>
<li class="nav-item">
<a class="nav-link" href="http://localhost:1313/docs/kubernetes/basic-commands/">Docs</a>
<a class="nav-link" href="http://localhost:1313/docs/introduction/overview">Docs</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="http://localhost:1313/blog/" aria-current="true">Blog</a>
Expand Down
4 changes: 2 additions & 2 deletions public/blog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
{
"@type": "ListItem",
"item": "http://localhost:1313/",
"name": "Welcome to Doks",
"name": "Teresa Alves",
"position": 1
},
{
Expand Down Expand Up @@ -124,7 +124,7 @@ <h5 class="offcanvas-title" id="offcanvasNavMainLabel">Teresa Alves</h5>
<a class="nav-link" href="http://localhost:1313/aboutme/aboutme/quick-summary/">About Me</a>
</li>
<li class="nav-item">
<a class="nav-link" href="http://localhost:1313/docs/kubernetes/basic-commands/">Docs</a>
<a class="nav-link" href="http://localhost:1313/docs/introduction/overview">Docs</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="http://localhost:1313/blog/" aria-current="true">Blog</a>
Expand Down
4 changes: 2 additions & 2 deletions public/categories/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
{
"@type": "ListItem",
"item": "http://localhost:1313/",
"name": "Welcome to Doks",
"name": "Teresa Alves",
"position": 1
},
{
Expand Down Expand Up @@ -124,7 +124,7 @@ <h5 class="offcanvas-title" id="offcanvasNavMainLabel">Teresa Alves</h5>
<a class="nav-link" href="http://localhost:1313/aboutme/aboutme/quick-summary/">About Me</a>
</li>
<li class="nav-item">
<a class="nav-link" href="http://localhost:1313/docs/kubernetes/basic-commands/">Docs</a>
<a class="nav-link" href="http://localhost:1313/docs/introduction/overview">Docs</a>
</li>
<li class="nav-item">
<a class="nav-link" href="http://localhost:1313/blog/">Blog</a>
Expand Down
4 changes: 2 additions & 2 deletions public/contributors/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
{
"@type": "ListItem",
"item": "http://localhost:1313/",
"name": "Welcome to Doks",
"name": "Teresa Alves",
"position": 1
},
{
Expand Down Expand Up @@ -124,7 +124,7 @@ <h5 class="offcanvas-title" id="offcanvasNavMainLabel">Teresa Alves</h5>
<a class="nav-link" href="http://localhost:1313/aboutme/aboutme/quick-summary/">About Me</a>
</li>
<li class="nav-item">
<a class="nav-link" href="http://localhost:1313/docs/kubernetes/basic-commands/">Docs</a>
<a class="nav-link" href="http://localhost:1313/docs/introduction/overview">Docs</a>
</li>
<li class="nav-item">
<a class="nav-link" href="http://localhost:1313/blog/">Blog</a>
Expand Down
24 changes: 22 additions & 2 deletions public/docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
{
"@type": "ListItem",
"item": "http://localhost:1313/",
"name": "Welcome to Doks",
"name": "Teresa Alves",
"position": 1
},
{
Expand Down Expand Up @@ -125,6 +125,18 @@ <h5 class="offcanvas-title" id="offcanvasNavSectionLabel">Docs</h5>
<nav class="section-nav docs-links">
<ul class="list-unstyled">

<li>
<details open>
<summary>Introduction</summary>
<ul class="list-unstyled list-nested">

<li>
<a href="/docs/introduction/overview/">Overview</a>
</li>
</ul>
</details>
</li>

<li>
<details open>
<summary>Kubernetes</summary>
Expand Down Expand Up @@ -184,7 +196,7 @@ <h5 class="offcanvas-title" id="offcanvasNavMainLabel">Teresa Alves</h5>
<a class="nav-link" href="http://localhost:1313/aboutme/aboutme/quick-summary/">About Me</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="http://localhost:1313/docs/kubernetes/basic-commands/" aria-current="true">Docs</a>
<a class="nav-link active" href="http://localhost:1313/docs/introduction/overview" aria-current="true">Docs</a>
</li>
<li class="nav-item">
<a class="nav-link" href="http://localhost:1313/blog/">Blog</a>
Expand Down Expand Up @@ -305,6 +317,14 @@ <h1 class="text-center">Docs</h1>



<div class="card my-3">
<div class="card-body">
<a class="stretched-link" href="/docs/introduction/overview/">Overview &rarr;</a>
</div>
</div>



<div class="card my-3">
<div class="card-body">
<a class="stretched-link" href="/docs/resources/">Resources &rarr;</a>
Expand Down
Loading

0 comments on commit 4729eeb

Please sign in to comment.