Skip to content

Commit

Permalink
refactor(concepts): move content to separate section (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrockopp committed Feb 3, 2020
1 parent 3b5b55f commit 0db4b2c
Show file tree
Hide file tree
Showing 60 changed files with 72 additions and 18 deletions.
2 changes: 1 addition & 1 deletion content/api/_index.md
Expand Up @@ -6,5 +6,5 @@ description: >
This section contains information on how to use the Vela API.
menu:
main:
weight: 405
weight: 505
---
2 changes: 1 addition & 1 deletion content/cli/_index.md
Expand Up @@ -6,5 +6,5 @@ description: >
This section contains information on how to use the Vela CLI.
menu:
main:
weight: 505
weight: 605
---
10 changes: 10 additions & 0 deletions content/concepts/_index.md
@@ -0,0 +1,10 @@
---
title: "Concepts"
linkTitle: "Concepts"
layout: concepts
description: >
This section contains information on the components for Vela.
menu:
main:
weight: 5
---
Expand Up @@ -2,7 +2,7 @@
title: "Infrastructure"
linkTitle: "Infrastructure"
description: >
This section contains information on the Vela infrastructure components.
This section contains information on the infrastructure components.
---

The `infrastructure` components are a list of applications that run and operate Vela.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Expand Up @@ -2,7 +2,7 @@
title: "Pipeline"
linkTitle: "Pipeline"
description: >
This section contains information on the Vela pipeline components.
This section contains information on the pipeline components.
---

The `pipeline` component is a list of repeatable, execution instructions for Vela.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Expand Up @@ -2,7 +2,7 @@
title: "Plugin"
linkTitle: "Plugin"
description: >
This section contains information on the Vela plugin component.
This section contains information on the plugin component.
---

COMING SOON!
Expand Up @@ -2,7 +2,7 @@
title: "System"
linkTitle: "System"
description: >
This section contains information on the Vela system components.
This section contains information on the system components.
---

The `system` components are a list of components that Vela uses for operating the system.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Expand Up @@ -2,7 +2,7 @@
title: "Template"
linkTitle: "Template"
description: >
This section contains information on the Vela template component.
This section contains information on the template component.
---

COMING SOON!
2 changes: 1 addition & 1 deletion content/install/_index.md
Expand Up @@ -6,5 +6,5 @@ description: >
Here you can find information describing how to run a Vela instance
menu:
main:
weight: 5
weight: 105
---
2 changes: 1 addition & 1 deletion content/plugins/_index.md
Expand Up @@ -6,5 +6,5 @@ description: >
This section contains information on how to use Vela plugins.
menu:
main:
weight: 205
weight: 305
---
2 changes: 1 addition & 1 deletion content/sdk/_index.md
Expand Up @@ -6,5 +6,5 @@ description: >
This section contains information on how to use the Vela SDKs.
menu:
main:
weight: 605
weight: 705
---
2 changes: 1 addition & 1 deletion content/templates/_index.md
Expand Up @@ -6,7 +6,7 @@ description: >
This section contains information on how to use Vela templates.
menu:
main:
weight: 305
weight: 405
---

COMING SOON!
2 changes: 1 addition & 1 deletion content/usage/_index.md
Expand Up @@ -6,5 +6,5 @@ description: >
This section contains information on how to use Vela.
menu:
main:
weight: 105
weight: 205
---
6 changes: 0 additions & 6 deletions content/usage/concepts/_index.md

This file was deleted.

30 changes: 30 additions & 0 deletions layouts/concepts/baseof.html
@@ -0,0 +1,30 @@
<!doctype html>
<html lang="{{ .Site.Language.Lang }}" class="no-js">
<head>
{{ partial "head.html" . }}
<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }}</title>
</head>
<body class="td-{{ .Kind }}">
<header>
{{ partial "navbar.html" . }}
</header>
<div class="container-fluid td-outer">
<div class="td-main">
<div class="row flex-xl-nowrap">
<div class="col-12 col-md-3 col-xl-2 td-sidebar d-print-none">
{{ partial "sidebar.html" . }}
</div>
<div class="d-none d-xl-block col-xl-2 td-toc d-print-none">
{{ partial "toc.html" . }}
</div>
<main class="col-12 col-md-9 col-xl-8 pl-md-5" role="main">
{{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }}
{{ block "main" . }}{{ end }}
</main>
</div>
</div>
{{ partial "footer.html" . }}
</div>
{{ partial "scripts.html" . }}
</body>
</html>
17 changes: 17 additions & 0 deletions layouts/concepts/list.html
@@ -0,0 +1,17 @@
{{ define "main" }}
<div class="td-content">
<h1>{{ .Title }}</h1>
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
{{ .Content }}
{{ partial "section-index.html" . }}
{{ if (and (not .Params.hide_feedback) (.Site.Params.ui.feedback.enable) (.Site.GoogleAnalytics)) }}
{{ partial "feedback.html" .Site.Params.ui.feedback }}
<br />
{{ end }}
{{ if (.Site.DisqusShortname) }}
<br />
{{ partial "disqus-comment.html" . }}
{{ end }}
<div class="text-muted mt-5 pt-3 border-top">{{ partial "page-meta-lastmod.html" . }}</div>
</div>
{{ end }}
3 changes: 3 additions & 0 deletions layouts/concepts/single.html
@@ -0,0 +1,3 @@
{{ define "main" }}
{{ .Render "content" }}
{{ end }}

0 comments on commit 0db4b2c

Please sign in to comment.