-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Raphael Strotz <Xzelsius@users.noreply.github.com>
- Loading branch information
Showing
34 changed files
with
7,043 additions
and
6 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
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,10 @@ | ||
import { defineConfig } from 'vitepress'; | ||
import { shared } from './shared'; | ||
import { en } from './en'; | ||
|
||
export default defineConfig({ | ||
...shared, | ||
locales: { | ||
root: { label: 'English', ...en }, | ||
}, | ||
}); |
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,83 @@ | ||
import { type DefaultTheme, defineConfig } from 'vitepress'; | ||
|
||
export const en = defineConfig({ | ||
lang: 'en-US', | ||
description: 'A lightweight development kit built to help developing applications using .NET', | ||
|
||
themeConfig: { | ||
nav: nav(), | ||
|
||
sidebar: { | ||
'/guide/': { | ||
base: '/guide/', | ||
items: guideSidebar(), | ||
}, | ||
'/contributing/': { | ||
base: '/contributing/', | ||
items: contributingSidebar(), | ||
}, | ||
}, | ||
|
||
editLink: { | ||
pattern: 'https://github.com/Xzelsius/Ayaka/edit/main/docs/:path', | ||
text: 'Edit this page on GitHub', | ||
}, | ||
|
||
footer: { | ||
message: 'Released under the MIT License.', | ||
copyright: 'Copyright © Raphael Strotz. All rights reserved.', | ||
}, | ||
}, | ||
}); | ||
|
||
function nav(): DefaultTheme.NavItem[] { | ||
return [ | ||
{ | ||
text: 'Guide', | ||
link: '/guide/getting-started', | ||
activeMatch: '/guide/', | ||
}, | ||
{ | ||
text: 'Contributing', | ||
link: '/contributing/sources', | ||
activeMatch: '/contributing/', | ||
}, | ||
]; | ||
} | ||
|
||
function guideSidebar(): DefaultTheme.SidebarItem[] { | ||
return [ | ||
{ | ||
text: 'Guide', | ||
collapsed: false, | ||
items: [ | ||
{ text: 'Getting started', link: 'getting-started' }, | ||
{ text: 'Packages', link: 'packages' }, | ||
{ text: 'Compatibility', link: 'compatibility' }, | ||
], | ||
}, | ||
]; | ||
} | ||
|
||
function contributingSidebar(): DefaultTheme.SidebarItem[] { | ||
return [ | ||
{ | ||
text: 'Overview', | ||
collapsed: false, | ||
items: [ | ||
{ text: 'Sources', link: 'sources' }, | ||
{ text: 'Renovate', link: 'renovate' }, | ||
], | ||
}, | ||
{ | ||
text: 'Contributing', | ||
collapsed: false, | ||
items: [ | ||
{ text: 'Code Guidelines', link: 'code-guidelines' }, | ||
{ text: 'Bug Reports', link: 'bug-reports' }, | ||
{ text: 'Feature Requests', link: 'feature-requests' }, | ||
{ text: 'Pull Requests', link: 'pull-requests' }, | ||
], | ||
}, | ||
]; | ||
} |
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,28 @@ | ||
import { defineConfig } from 'vitepress'; | ||
|
||
export const shared = defineConfig({ | ||
title: 'Ayaka', | ||
|
||
base: '/ayaka/', | ||
|
||
rewrites: { | ||
'en/:rest*': ':rest*', | ||
}, | ||
|
||
lastUpdated: true, | ||
cleanUrls: true, | ||
metaChunk: true, | ||
|
||
themeConfig: { | ||
logo: { | ||
dark: '/logo-white.svg', | ||
light: '/logo-black.svg', | ||
width: 24, | ||
height: 24, | ||
}, | ||
|
||
socialLinks: [ | ||
{ icon: 'github', link: 'https://github.com/Xzelsius/Ayaka' }, | ||
], | ||
}, | ||
}); |
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,6 @@ | ||
:root { | ||
--vp-c-brand-1: var(--vp-c-green-1); | ||
--vp-c-brand-2: var(--vp-c-green-2); | ||
--vp-c-brand-3: var(--vp-c-green-3); | ||
--vp-c-brand-soft: var(--vp-c-green-soft); | ||
} |
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,4 @@ | ||
import DefaultTheme from 'vitepress/theme'; | ||
import './custom.css'; | ||
|
||
export default DefaultTheme; |
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,17 @@ | ||
# Bug Reports | ||
|
||
A bug is a demonstrable problem that is caused by the code in the repository. Good bug reports are extremely helpful - thank you! | ||
|
||
## Guidelines | ||
|
||
When creating a bug report, please follow these guidelines: | ||
|
||
1. Check if the issue has already been reported — [Issues] | ||
2. Check if the issue has been fixed — Try to reproduce it using the latest `main` branch | ||
3. Isolate the problem | ||
4. Submit using the `Bug report` template — [Submit a Bug report] | ||
|
||
A good bug report shouldn't leave other needing to chase you up for more information. Please try to be as detailed as possible in your report. | ||
|
||
[Issues]: https://github.com/Xzelsius/Ayaka/issues | ||
[Submit a bug report]: https://github.com/Xzelsius/Ayaka/issues/new?template=bug_report.yml |
Oops, something went wrong.