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
|
||||
---
|
||||
|
||||
|
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",
|
||||
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"],
|
||||
},
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user