mirror of
https://github.com/eosswedenorg/thalos-docs
synced 2026-06-19 05:00:03 +02:00
Initial Commit
This commit is contained in:
commit
f81ec14da7
21 changed files with 1781 additions and 0 deletions
1
.vitepress/.gitignore
vendored
Normal file
1
.vitepress/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
cache/
|
||||
77
.vitepress/config.ts
Normal file
77
.vitepress/config.ts
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
import { defineConfig } from 'vitepress'
|
||||
|
||||
// https://vitepress.dev/reference/site-config
|
||||
export default defineConfig({
|
||||
title: "Thalos",
|
||||
description: "A VitePress Site",
|
||||
cleanUrls: true,
|
||||
themeConfig: {
|
||||
search: {
|
||||
provider: 'local'
|
||||
},
|
||||
|
||||
// https://vitepress.dev/reference/default-theme-config
|
||||
nav: [
|
||||
{ text: 'Home', link: '/' },
|
||||
{ text: 'Documentation', link: '/docs/' }
|
||||
],
|
||||
|
||||
sidebar: [
|
||||
{
|
||||
text: "Getting Started",
|
||||
collapsed: true,
|
||||
items: [
|
||||
{
|
||||
text: 'Installation',
|
||||
link: '/docs/installation/',
|
||||
collapsed: true,
|
||||
items: [
|
||||
{
|
||||
text: "Package Managers",
|
||||
items: [
|
||||
{ text: "Ubuntu/Debian", link: '/docs/installation/debian' },
|
||||
]
|
||||
},
|
||||
{ text: "Bundled binaries", link: '/docs/installation/#bundled-binaries' },
|
||||
{ text: "Compiling from source", link: '/docs/installation/#compiling-from-source' },
|
||||
]
|
||||
},
|
||||
{
|
||||
text: 'Configuration',
|
||||
link: '/docs/configuration'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
text: 'Architecture',
|
||||
collapsed: true,
|
||||
items: [
|
||||
{ text: 'Overview', link: '/docs/architecture/' },
|
||||
{ text: 'Benchmark', link: '/docs/architecture/benchmark' }
|
||||
]
|
||||
},
|
||||
{
|
||||
text: 'API',
|
||||
collapsed: true,
|
||||
items: [
|
||||
{ text: 'Messages', link: '/docs/api/messages' },
|
||||
{ text: 'Channels', link: '/docs/api/redis-channels' },
|
||||
{ text: 'Clients', link: '/docs/api/clients' }
|
||||
],
|
||||
}
|
||||
],
|
||||
|
||||
socialLinks: [
|
||||
{ icon: 'github', link: 'https://github.com/eosswedenorg/thalos' }
|
||||
],
|
||||
footer: {
|
||||
message: 'Released under the MIT License.',
|
||||
copyright: 'Copyright © 2023 Sw/eden'
|
||||
}
|
||||
},
|
||||
|
||||
markdown: {
|
||||
lineNumbers: true
|
||||
}
|
||||
|
||||
})
|
||||
12
.vitepress/theme/custom.css
Normal file
12
.vitepress/theme/custom.css
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
:root {
|
||||
--vp-c-bg: #fcfcfc;
|
||||
--vp-c-brand: #bc544b;
|
||||
--vp-c-brand-light: #ca5d53;
|
||||
--vp-c-brand-lighter: #e7695e;
|
||||
--vp-c-brand-dark: #8d413a;
|
||||
--vp-c-brand-darker: #7e3933;
|
||||
}
|
||||
|
||||
.dark {
|
||||
--vp-c-bg: #1e1e20;
|
||||
}
|
||||
5
.vitepress/theme/index.ts
Normal file
5
.vitepress/theme/index.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import DefaultTheme from 'vitepress/theme'
|
||||
|
||||
import './custom.css'
|
||||
|
||||
export default DefaultTheme;
|
||||
Loading…
Add table
Add a link
Reference in a new issue