Merge pull request #1963 from slumbering/docs-index
Display getting started as the index page
This commit is contained in:
commit
64cdadb85e
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
slug: /
|
slug: /1200/local-dev
|
||||||
displayed_sidebar: europa
|
displayed_sidebar: europa
|
||||||
---
|
---
|
||||||
|
|
||||||
|
15
docs/getting-started/index.md
Normal file
15
docs/getting-started/index.md
Normal 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}/>
|
||||||
|
```
|
@ -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"],
|
||||||
},
|
},
|
||||||
|
@ -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);
|
||||||
|
Reference in New Issue
Block a user