Skip to content

Commit 281d6f6

Browse files
committed
feat: New next-doscord-auth docs
1 parent f57991f commit 281d6f6

28 files changed

Lines changed: 746 additions & 495 deletions

File tree

.github/workflows/upload.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
build-and-deploy:
1111
runs-on: ubuntu-latest
12-
12+
1313
steps:
1414
- name: Checkout code
1515
uses: actions/checkout@v4

.vscode/extensions.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"recommendations": ["astro-build.astro-vscode"],
3-
"unwantedRecommendations": []
2+
"recommendations": ["astro-build.astro-vscode"],
3+
"unwantedRecommendations": []
44
}

.vscode/launch.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"version": "0.2.0",
3-
"configurations": [
4-
{
5-
"command": "./node_modules/.bin/astro dev",
6-
"name": "Development server",
7-
"request": "launch",
8-
"type": "node-terminal"
9-
}
10-
]
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"command": "./node_modules/.bin/astro dev",
6+
"name": "Development server",
7+
"request": "launch",
8+
"type": "node-terminal"
9+
}
10+
]
1111
}

astro.config.mjs

Lines changed: 98 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import catppuccin from "@catppuccin/starlight";
77
import starlightLlmsTxt from "starlight-llms-txt";
88
import starlightCoolerCredit from "starlight-cooler-credit";
99
import starlightVideos from "starlight-videos";
10-
import inoxToolsStarWarp from "@inox-tools/star-warp";
1110
import starlightGiscus from "starlight-giscus";
1211

1312
import tailwindcss from "@tailwindcss/vite";
@@ -16,104 +15,103 @@ import react from "@astrojs/react";
1615

1716
// https://astro.build/config
1817
export default defineConfig({
19-
output: "static",
20-
site: "https://docs.mikn.dev/",
21-
vite: {
22-
plugins: [tailwindcss()],
23-
},
24-
integrations: [
25-
starlight({
26-
components: {
27-
Footer: "./src/components/Footer.astro",
28-
},
29-
title: "MikanDev Docs",
30-
logo: {
31-
src: "./src/assets/mikan.png",
32-
},
33-
favicon: "/favicon.ico",
34-
head: [
35-
{
36-
tag: "script",
37-
attrs: {
38-
src: "https://cdn.mikn.dev/analytics/script",
39-
defer: true,
40-
},
41-
},
42-
{
43-
tag: "script",
44-
content: `
45-
document.addEventListener('DOMContentLoaded', function() {
46-
swetrix.init('MtbYzx4P3t1x', {
47-
apiURL: 'https://analytics.mikandev.tech/log',
48-
})
49-
swetrix.trackViews()
50-
})
18+
output: "static",
19+
site: "https://docs.mikn.dev/",
20+
vite: {
21+
plugins: [tailwindcss()],
22+
},
23+
integrations: [
24+
starlight({
25+
components: {
26+
Footer: "./src/components/Footer.astro",
27+
},
28+
title: "MikanDev Docs",
29+
logo: {
30+
src: "./src/assets/mikan.png",
31+
},
32+
favicon: "/favicon.ico",
33+
head: [
34+
{
35+
tag: "script",
36+
attrs: {
37+
src: "https://cdn.mikn.dev/analytics/script",
38+
defer: true,
39+
},
40+
},
41+
{
42+
tag: "script",
43+
content: `
44+
document.addEventListener('DOMContentLoaded', function() {
45+
swetrix.init('fy3w6Gq3Vl4K', {
46+
apiURL: 'https://analytics.mikandev.com/backend/v1/log',
47+
})
48+
swetrix.trackViews()
49+
})
5150
`,
52-
},
53-
],
54-
social: [
55-
{
56-
icon: "github",
57-
label: "GitHub",
58-
href: "https://github.com/mikndotdev",
59-
},
60-
],
61-
sidebar: [
62-
{
63-
label: "General documentation",
64-
autogenerate: {
65-
directory: "general",
66-
},
67-
},
68-
{
69-
label: "Solutions",
70-
autogenerate: {
71-
directory: "solutions/general",
72-
},
73-
},
74-
{
75-
label: "Developer solutions",
76-
autogenerate: {
77-
directory: "solutions/developers",
78-
},
79-
},
80-
{
81-
label: "Self-host guides",
82-
autogenerate: {
83-
directory: "solutions/selfhost-guides",
84-
},
85-
},
86-
{
87-
label: "Legal",
88-
autogenerate: {
89-
directory: "legal",
90-
},
91-
},
92-
{ label: "llms.txt", link: "/llms.txt" },
93-
],
94-
plugins: [
95-
starlightImageZoom(),
96-
starlightDocSearch({
97-
appId: "KRQFAC5Z85",
98-
apiKey: "c4b66d49f62268958e939c0eabab55db",
99-
indexName: "mikn",
100-
}),
101-
starlightLlmsTxt(),
102-
starlightCoolerCredit(),
103-
starlightVideos(),
104-
catppuccin({
105-
dark: { flavor: "mocha", accent: "yellow" },
106-
light: { flavor: "latte", accent: "sky" },
107-
}),
108-
starlightGiscus({
109-
repo: "mikndotdev/mikandev-docs",
110-
repoId: "R_kgDOL-oJKw",
111-
category: "Comments",
112-
categoryId: "DIC_kwDOL-oJK84Cq3kv",
113-
}),
114-
],
115-
}),
116-
inoxToolsStarWarp(),
117-
react(),
118-
],
51+
},
52+
],
53+
social: [
54+
{
55+
icon: "github",
56+
label: "GitHub",
57+
href: "https://github.com/mikndotdev",
58+
},
59+
],
60+
sidebar: [
61+
{
62+
label: "General documentation",
63+
autogenerate: {
64+
directory: "general",
65+
},
66+
},
67+
{
68+
label: "Solutions",
69+
autogenerate: {
70+
directory: "solutions/general",
71+
},
72+
},
73+
{
74+
label: "Developer solutions",
75+
autogenerate: {
76+
directory: "solutions/developers",
77+
},
78+
},
79+
{
80+
label: "Self-host guides",
81+
autogenerate: {
82+
directory: "solutions/selfhost-guides",
83+
},
84+
},
85+
{
86+
label: "Legal",
87+
autogenerate: {
88+
directory: "legal",
89+
},
90+
},
91+
{ label: "llms.txt", link: "/llms.txt" },
92+
],
93+
plugins: [
94+
starlightImageZoom(),
95+
starlightDocSearch({
96+
appId: "KRQFAC5Z85",
97+
apiKey: "c4b66d49f62268958e939c0eabab55db",
98+
indexName: "mikn",
99+
}),
100+
starlightLlmsTxt(),
101+
starlightCoolerCredit(),
102+
starlightVideos(),
103+
catppuccin({
104+
dark: { flavor: "mocha", accent: "yellow" },
105+
light: { flavor: "latte", accent: "sky" },
106+
}),
107+
starlightGiscus({
108+
repo: "mikndotdev/mikandev-docs",
109+
repoId: "R_kgDOL-oJKw",
110+
category: "Comments",
111+
categoryId: "DIC_kwDOL-oJK84Cq3kv",
112+
}),
113+
],
114+
}),
115+
react(),
116+
],
119117
});

biome.json

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3-
"vcs": {
4-
"enabled": false,
5-
"clientKind": "git",
6-
"useIgnoreFile": false
7-
},
8-
"files": {
9-
"ignoreUnknown": false,
10-
"ignore": []
11-
},
12-
"formatter": {
13-
"enabled": true,
14-
"indentStyle": "tab"
15-
},
16-
"organizeImports": {
17-
"enabled": true
18-
},
19-
"linter": {
20-
"enabled": true,
21-
"rules": {
22-
"recommended": true
23-
}
24-
},
25-
"javascript": {
26-
"formatter": {
27-
"quoteStyle": "double"
28-
}
29-
}
2+
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3+
"vcs": {
4+
"enabled": false,
5+
"clientKind": "git",
6+
"useIgnoreFile": false
7+
},
8+
"files": {
9+
"ignoreUnknown": false,
10+
"ignore": []
11+
},
12+
"formatter": {
13+
"enabled": true,
14+
"indentStyle": "tab"
15+
},
16+
"organizeImports": {
17+
"enabled": true
18+
},
19+
"linter": {
20+
"enabled": true,
21+
"rules": {
22+
"recommended": true
23+
}
24+
},
25+
"javascript": {
26+
"formatter": {
27+
"quoteStyle": "double"
28+
}
29+
}
3030
}

bun.lockb

39.4 KB
Binary file not shown.

package.json

Lines changed: 44 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,46 @@
11
{
2-
"name": "mikandev-docs",
3-
"version": "0.0.1",
4-
"dependencies": {
5-
"@astrojs/check": "0.9.5",
6-
"@astrojs/react": "^4.4.2",
7-
"@astrojs/starlight": "0.36.2",
8-
"@astrojs/starlight-docsearch": "^0.6.1",
9-
"@astrojs/starlight-tailwind": "4.0.2",
10-
"@astrojs/tailwind": "6.0.2",
11-
"@biomejs/biome": "^1.9.4",
12-
"@catppuccin/starlight": "^1.0.2",
13-
"@inox-tools/star-warp": "^0.5.0",
14-
"@mikandev/jda-icons-react": "^1.0.8",
15-
"@tailwindcss/vite": "^4.1.17",
16-
"@types/react": "^19.2.6",
17-
"@types/react-dom": "^19.2.3",
18-
"astro": "5.15.9",
19-
"astro-feelback": "^0.3.4",
20-
"react": "^19.2.0",
21-
"react-dom": "^19.2.0",
22-
"sharp": "^0.34.5",
23-
"starlight-cooler-credit": "^0.4.1",
24-
"starlight-giscus": "^0.8.1",
25-
"starlight-image-zoom": "^0.13.2",
26-
"starlight-llms-txt": "^0.5.1",
27-
"starlight-package-managers": "^0.11.1",
28-
"starlight-videos": "^0.3.1",
29-
"tailwindcss": "^4.1.17",
30-
"typescript": "^5.9.3"
31-
},
32-
"engines": {
33-
"node": ">=18.0.0"
34-
},
35-
"scripts": {
36-
"dev": "astro dev",
37-
"start": "astro dev",
38-
"build": "astro check && astro build",
39-
"preview": "astro preview",
40-
"format": "biome format --write .",
41-
"astro": "astro",
42-
"deploy": "wrangler deploy"
43-
},
44-
"type": "module"
2+
"name": "mikandev-docs",
3+
"version": "0.0.1",
4+
"type": "module",
5+
"scripts": {
6+
"dev": "astro dev",
7+
"start": "astro dev",
8+
"build": "astro check && astro build",
9+
"preview": "astro preview",
10+
"format": "oxfmt",
11+
"astro": "astro",
12+
"deploy": "wrangler deploy"
13+
},
14+
"dependencies": {
15+
"@astrojs/check": "0.9.8",
16+
"@astrojs/react": "5.0.2",
17+
"@astrojs/starlight": "0.38.2",
18+
"@astrojs/starlight-docsearch": "0.7.0",
19+
"@astrojs/starlight-tailwind": "5.0.0",
20+
"@astrojs/tailwind": "6.0.2",
21+
"@catppuccin/starlight": "^1.1.1",
22+
"@mikandev/jda-icons-react": "^1.0.8",
23+
"@tailwindcss/vite": "^4.2.2",
24+
"@types/react": "^19.2.14",
25+
"@types/react-dom": "^19.2.3",
26+
"astro": "6.1.1",
27+
"astro-feelback": "^0.3.4",
28+
"react": "^19.2.4",
29+
"react-dom": "^19.2.4",
30+
"sharp": "^0.34.5",
31+
"starlight-cooler-credit": "^0.6.0",
32+
"starlight-giscus": "^0.9.1",
33+
"starlight-image-zoom": "^0.14.1",
34+
"starlight-llms-txt": "^0.8.0",
35+
"starlight-package-managers": "^0.12.0",
36+
"starlight-videos": "^0.4.0",
37+
"tailwindcss": "^4.2.2",
38+
"typescript": "^6.0.2"
39+
},
40+
"devDependencies": {
41+
"oxfmt": "^0.42.0"
42+
},
43+
"engines": {
44+
"node": ">=18.0.0"
45+
}
4546
}

0 commit comments

Comments
 (0)