-
Notifications
You must be signed in to change notification settings - Fork 881
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2e225f7
commit badf56c
Showing
35 changed files
with
1,031 additions
and
1,396 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
import {defineConfig} from 'vitepress'; | ||
import {tabsMarkdownPlugin} from 'vitepress-plugin-tabs'; | ||
|
||
// https://vitepress.dev/reference/site-config | ||
export default defineConfig({ | ||
title: 'commitlint', | ||
description: 'Lint commit messages', | ||
|
||
head: [['link', {rel: 'icon', type: 'image/png', href: '/assets/icon.png'}]], | ||
|
||
themeConfig: { | ||
// https://vitepress.dev/reference/default-theme-config | ||
logo: '/assets/icon.png', | ||
|
||
nav: [ | ||
{text: 'Home', link: '/'}, | ||
{text: 'Guides', link: '/guides/getting-started'}, | ||
{text: 'Reference', link: '/reference/configuration'}, | ||
], | ||
|
||
sidebar: [ | ||
{ | ||
text: 'Guides', | ||
base: '/guides', | ||
items: [ | ||
{text: 'Getting started', link: '/getting-started'}, | ||
{text: 'Local setup', link: '/local-setup'}, | ||
{text: 'CI setup', link: '/ci-setup'}, | ||
{text: 'Use prompt', link: '/use-prompt'}, | ||
], | ||
}, | ||
{ | ||
text: 'Reference', | ||
base: '/reference', | ||
items: [ | ||
{text: 'CLI', link: '/cli'}, | ||
{text: 'Configuration', link: '/configuration'}, | ||
{text: 'Rules configuration', link: '/rules-configuration'}, | ||
{text: 'Rules', link: '/rules'}, | ||
{text: 'API', link: '/api'}, | ||
{text: 'Plugins', link: '/plugins'}, | ||
{text: 'Prompt', link: '/prompt'}, | ||
{text: 'Examples', link: '/examples'}, | ||
{text: 'Community projects', link: '/community-projects'}, | ||
], | ||
}, | ||
{ | ||
text: 'Concepts', | ||
base: '/concepts', | ||
items: [ | ||
{text: 'Commit-conventions', link: '/commit-conventions'}, | ||
{text: 'Shareable config', link: '/shareable-config'}, | ||
], | ||
}, | ||
{ | ||
text: 'Support', | ||
base: '/support', | ||
collapsed: true, | ||
items: [ | ||
{text: 'Releases', link: '/releases'}, | ||
{text: 'Upgrade commitlint', link: '/upgrade'}, | ||
], | ||
}, | ||
{ | ||
text: 'Attributions', | ||
link: '/attributions', | ||
}, | ||
], | ||
|
||
socialLinks: [ | ||
{ | ||
icon: 'github', | ||
link: 'https://github.com/conventional-changelog/commitlint', | ||
}, | ||
], | ||
|
||
search: { | ||
provider: 'local', | ||
}, | ||
}, | ||
|
||
markdown: { | ||
config(md) { | ||
md.use(tabsMarkdownPlugin); | ||
}, | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// .vitepress/theme/index.ts | ||
import type {Theme} from 'vitepress'; | ||
import DefaultTheme from 'vitepress/theme'; | ||
import {enhanceAppWithTabs} from 'vitepress-plugin-tabs/client'; | ||
|
||
export default { | ||
extends: DefaultTheme, | ||
enhanceApp({app}) { | ||
enhanceAppWithTabs(app); | ||
}, | ||
} satisfies Theme; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Attributions | ||
|
||
`commitlint` is possible because of the hard work of the folks of the `conventional-changelog` project | ||
|
||
--- | ||
|
||
Thanks [@markusoelhafen](https://github.com/markusoelhafen) for providing | ||
the `commitlint` icon | ||
|
||
--- | ||
|
||
Homepage SVG Demo generated with [svg-term-cli](https://github.com/marionebl/svg-term-cli) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.