This repository has been archived on 2024-05-03. You can view files and clone it, but cannot push or open issues or pull requests.
treefmt/docs/.vitepress/config.mts
Brian McGee aa2b9e8bc3
doc: fix social links
Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-05-03 18:13:58 +01:00

44 lines
1.2 KiB
TypeScript

import { defineConfig } from 'vitepress'
// https://vitepress.dev/reference/site-config
export default defineConfig({
base: '/treefmt-go/',
title: "Treefmt",
description: "one CLI to format your repo",
head: [
['link', { rel: 'icon', href: '/logo.png' }],
],
themeConfig: {
logo: '/logo.svg',
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: 'Home', link: '/' },
{ text: 'Quick Start', link: '/quick-start' }
],
sidebar: [
{ text: 'Quick Start', link: '/quick-start' },
{ text: 'Installation', link: '/installation' },
{ text: 'Overview', link: '/overview' },
{ text: 'Usage', link: '/usage' },
{ text: 'Formatter Specification', link: '/formatter-spec' },
{ text: 'Contributing', link: '/contributing' },
{ text: 'FAQ', link: '/faq' },
],
socialLinks: [
{ icon: 'github', link: 'https://github.com/numtide/treefmt-go' }
],
footer: {
message: 'Released under the <a href="https://https://github.com/numtide/treefmt-go/src/branch/main/LICENSE.md">MIT License</a>.',
copyright: "Copyright © 2024-present Treefmt Contributors"
}
}
})