Skip to content

Commit 96b0075

Browse files
committed
feat: move docs to components repo
1 parent 0055322 commit 96b0075

90 files changed

Lines changed: 54926 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ composer.lock
77
!tests/Foundation/fixtures/hyperf1/composer.lock
88
tests/Http/fixtures
99
.env
10+
docs/node_modules/
11+
docs/.vuepress/dist/
12+
docs/.vuepress/.cache
13+
docs/.vuepress/.temp

docs/.vuepress/config.js

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
import { defaultTheme } from '@vuepress/theme-default'
2+
import { defineUserConfig } from 'vuepress/cli'
3+
import { viteBundler } from '@vuepress/bundler-vite'
4+
import { mdEnhancePlugin } from "vuepress-plugin-md-enhance"
5+
import { redirectPlugin } from '@vuepress/plugin-redirect'
6+
import { docsearchPlugin } from '@vuepress/plugin-docsearch'
7+
import { sidebarConfig } from './sidebar.js'
8+
import { removeHtmlExtensionPlugin } from 'vuepress-plugin-remove-html-extension'
9+
import { seoPlugin } from '@vuepress/plugin-seo'
10+
11+
export default defineUserConfig({
12+
lang: 'en-US',
13+
title: 'Hypervel',
14+
description: 'A Coroutine PHP Framework for Laravel Artisans.',
15+
16+
ignoreDeadLinks: true,
17+
bundler: viteBundler(),
18+
19+
plugins: [
20+
seoPlugin({
21+
hostname: 'https://hypervel.org',
22+
fallBackImage: 'https://hypervel.org/home.png',
23+
customHead: (head) => {
24+
head.push(['title', {}, 'Hypervel - A Coroutine PHP Framework for Laravel Artisans.']);
25+
},
26+
ogp: (ogp, page) => ({
27+
...ogp,
28+
'og:title': 'Hypervel - A Coroutine PHP Framework for Laravel Artisans',
29+
'og:description': "Hypervel is a Laravel-style framework with native coroutine support for ultra-high performance.",
30+
'twitter:title': 'Hypervel - A Coroutine PHP Framework For Laravel Artisans',
31+
'twitter:description': "Hypervel is a Laravel-style framework with native coroutine support for ultra-high performance.",
32+
'twitter:image': 'https://hypervel.org/home.png',
33+
'twitter:card': 'summary_large_image',
34+
}),
35+
}),
36+
removeHtmlExtensionPlugin(),
37+
mdEnhancePlugin({
38+
hint: true,
39+
tasklist: true,
40+
include: true,
41+
tabs: true,
42+
align: true,
43+
chart: true,
44+
}),
45+
redirectPlugin({
46+
config: {
47+
'/docs': '/docs/introduction.html',
48+
},
49+
}),
50+
docsearchPlugin({
51+
appId: 'VH8TNYFP5F',
52+
apiKey: '434aa2025192c8d2fb19499cb78e5d48',
53+
indexName: 'hypervel'
54+
}),
55+
],
56+
57+
theme: defaultTheme({
58+
logo: 'icon.svg',
59+
60+
docsRepo: 'hypervel/hypervel.org',
61+
62+
docsBranch: 'main/docs',
63+
64+
navbar: [
65+
'/',
66+
{
67+
text: 'Documentation',
68+
link: '/docs/introduction',
69+
},
70+
{
71+
text: 'GitHub',
72+
link: 'https://github.com/hypervel/hypervel',
73+
}
74+
],
75+
76+
sidebar: sidebarConfig,
77+
78+
sidebarDepth: 0,
79+
}),
80+
})

docs/.vuepress/public/favicon.ico

16.6 KB
Binary file not shown.

docs/.vuepress/public/home.png

48.8 KB
Loading

docs/.vuepress/public/icon.png

13.8 KB
Loading

docs/.vuepress/public/icon.svg

Lines changed: 2 additions & 0 deletions
Loading
364 KB
Loading
308 KB
Loading

docs/.vuepress/public/logo.png

15.7 KB
Loading

docs/.vuepress/public/logo.svg

Lines changed: 68 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)