Merge pull request #1963 from slumbering/docs-index

Display getting started as the index page
This commit is contained in:
Gerhard Lazu 2022-03-31 15:41:06 +01:00 committed by GitHub
commit 64cdadb85e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 7 deletions

View File

@ -1,5 +1,5 @@
---
slug: /
slug: /1200/local-dev
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",
label: "Getting Started",
collapsible: false,
collapsed: false,
link: {
type: 'generated-index',
title: 'Getting Started',
description:
"Run your CI/CD pipelines locally, then easily integrate them with any CI environment.",
type: 'doc',
id: 'getting-started/index'
},
items: ["getting-started/local-dev", "getting-started/ci-environment"],
},

View File

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