Display getting started as the index page

Signed-off-by: jffarge <jf@dagger.io>
This commit is contained in:
jffarge 2022-03-31 15:53:25 +02:00
parent e4e59f5ac8
commit 095d4a327b
4 changed files with 19 additions and 7 deletions

View File

@ -1,5 +1,5 @@
--- ---
slug: / slug: /1200/local-dev
displayed_sidebar: europa displayed_sidebar: europa
--- ---

View File

@ -0,0 +1,15 @@
---
slug: /
displayed_sidebar: europa
---
# Getting Started
```mdx-code-block
import DocCardList from '@theme/DocCardList';
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
Run your CI/CD pipelines locally, then easily integrate them with any CI environment.
<DocCardList items={useCurrentSidebarCategory().items}/>
```

View File

@ -79,12 +79,9 @@ module.exports = {
type: "category", type: "category",
label: "Getting Started", label: "Getting Started",
collapsible: false, collapsible: false,
collapsed: false,
link: { link: {
type: 'generated-index', type: 'doc',
title: 'Getting Started', id: 'getting-started/index'
description:
"Run your CI/CD pipelines locally, then easily integrate them with any CI environment.",
}, },
items: ["getting-started/local-dev", "getting-started/ci-environment"], items: ["getting-started/local-dev", "getting-started/ci-environment"],
}, },

View File

@ -124,7 +124,7 @@ code {
--ifm-h3-vertical-rhythm-top: 2; --ifm-h3-vertical-rhythm-top: 2;
} }
a { a:not(.card) {
font-weight: bold; font-weight: bold;
text-decoration: underline; text-decoration: underline;
color: var(--ifm-color-primary-dark); color: var(--ifm-color-primary-dark);