Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Yvonnick Esnault <yvonnick.esnault@corp.ovh.com>
  • Loading branch information
yesnault committed Mar 18, 2019
1 parent 46fd936 commit 12fb6e3
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 36 deletions.
29 changes: 28 additions & 1 deletion docs/content/docs/_index.md
@@ -1,3 +1,30 @@
---
title: Documentation
title: CDS Documentation
cid: docsHome
layout: docs_home
class: gridPage
linkTitle: "Documentation"
main_menu: true
weight: 1
menu:
main:
title: "Documentation"
overview: >
CDS is an Enterprise-Grade Continuous Delivery & DevOps Automation Open Source Platform.
cards:
- name: concepts
title: "Understand the basics"
description: "Learn about CDS and its concepts."
button: "Learn Concepts"
button_path: "/docs/concepts"
- name: tutorials
title: "Try CDS"
description: "Follow tutorials to learn how to use CDS Workflows."
button: "View Tutorials"
button_path: "/docs/tutorials"
- name: setup
title: "Set up a CDS"
description: "Get CDS running based on your infrastructure."
button: "Set up CDS"
button_path: "/hosting"
---
31 changes: 0 additions & 31 deletions docs/content/docs/home/_index.md

This file was deleted.

Expand Up @@ -220,7 +220,7 @@ cdsctl admin integration-model import public-configuration.yml

Add the deployment configuration on your application.

Parameters `deployement_files`, `helm_chart` and `helm_values` contains
Parameters `deployement_files`, `helm_chart` and `helm_values` contain
path of the files in your CDS Job.

`contrib/helm/cds/` is the same as `{{.cds.workspace}}/contrib/helm/cds/`
Expand Down
7 changes: 4 additions & 3 deletions docs/layouts/partials/top-menu.html
Expand Up @@ -13,11 +13,12 @@

{{ if eq .Section $.Section }}
<ul>
{{ range $menuSections }}
{{ if $p.IsDescendant . }}
{{ end }}
{{ $menuSelected := $p.IsDescendant . }}
<li><a href="{{ .RelPermalink }}"{{ if $menuSelected }} class="menuSelected"{{ end }}>{{ .LinkTitle }}</a></li>
<li><a href="{{ relref . "/docs/_index.md" }}"{{ if eq $p.Params.cid "docsHome" }} class="menuSelected"{{ end }}>Home</a></li>
{{ range $menuSections }}
{{ $menuSelected := $p.IsDescendant . }}
<li><a href="{{ .RelPermalink }}"{{ if $menuSelected }} class="menuSelected"{{ end }}>{{ .LinkTitle }}</a></li>
{{ end }}
</ul>
{{ end }}
Expand Down

0 comments on commit 12fb6e3

Please sign in to comment.