This commit is contained in:
taskylizard 2023-10-27 01:28:30 +05:30
parent cd7ee89bf9
commit c20d13074e
No known key found for this signature in database
GPG Key ID: 5CABA3D642DDC497
6 changed files with 36 additions and 30 deletions

14
.prettierc.json Normal file
View File

@ -0,0 +1,14 @@
{
"semi": true,
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"singleQuote": false,
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"trailingComma": "all",
"bracketSpacing": true,
"bracketSameLine": true,
"arrowParens": "always",
"proseWrap": "always",
}

1
.prettierignore Normal file
View File

@ -0,0 +1 @@
**/*.md

View File

@ -22,15 +22,13 @@ export default defineConfig({
// TODO: add navbar items
nav: [],
sidebar: [
{
text: "Examples",
items: [
{ text: "Markdown Examples", link: "/markdown-examples" },
{ text: "Runtime API Examples", link: "/api-examples" },
{ text: "Beginners Guide to Piracy", link: "/Beginners-Guide" },
{ text: "Adblocking / Privacy", link: "/AdblockVPNGuide" },
{ text: "Artificial Intelligence", link: "/AI" },
],
},
socialLinks: [
{ icon: "github", link: "https://github.com/fmhy/FMHYEdit" },
{ icon: "discord", link: "https://discord.gg/Stz6y6NgNg" },
],
// TODO: add socials
socialLinks: [],
},
});

View File

@ -1,18 +0,0 @@
import { defineConfig } from "vitepress";
export const sharedConfig = defineConfig({
lang: "en-US",
lastUpdated: true,
cleanUrls: true,
appearance: "dark",
head: [
["meta", { name: "theme-color", content: "#7bc5e4" }],
["meta", { name: "og:type", content: "website" }],
["meta", { name: "og:locale", content: "en" }],
],
themeConfig: {
search: {
provider: "local",
},
},
});

View File

@ -8,5 +8,8 @@
"dependencies": {
"vitepress": "1.0.0-rc.24",
"vue": "^3.3.7"
},
"devDependencies": {
"prettier": "^3.0.3"
}
}

View File

@ -12,6 +12,11 @@ dependencies:
specifier: ^3.3.7
version: 3.3.7
devDependencies:
prettier:
specifier: ^3.0.3
version: 3.0.3
packages:
/@algolia/autocomplete-core@1.9.3(@algolia/client-search@4.20.0)(algoliasearch@4.20.0)(search-insights@2.9.0):
@ -42,9 +47,6 @@ packages:
peerDependencies:
'@algolia/client-search': '>= 4.9.1 < 6'
algoliasearch: '>= 4.9.1 < 6'
peerDependenciesMeta:
'@algolia/client-search':
optional: true
dependencies:
'@algolia/autocomplete-shared': 1.9.3(@algolia/client-search@4.20.0)(algoliasearch@4.20.0)
'@algolia/client-search': 4.20.0
@ -732,6 +734,12 @@ packages:
resolution: {integrity: sha512-mKUD7RRkQQM6s7Rkmi7IFkoEHjuFqRQUaXamO61E6Nn7vqF/bo7EZCmSyrUnp2UWHw0O7XjZ2eeXis+m7tf4lg==}
dev: false
/prettier@3.0.3:
resolution: {integrity: sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==}
engines: {node: '>=14'}
hasBin: true
dev: true
/rollup@3.29.4:
resolution: {integrity: sha512-oWzmBZwvYrU0iJHtDmhsm662rC15FRXmcjCk1xD771dFDx5jJ02ufAQQTn0etB2emNk4J9EZg/yWKpsn9BWGRw==}
engines: {node: '>=14.18.0', npm: '>=8.0.0'}