Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ composer.lock
!tests/Foundation/fixtures/hyperf1/composer.lock
tests/Http/fixtures
.env
docs/node_modules/
docs/.vuepress/dist/
docs/.vuepress/.cache
docs/.vuepress/.temp
80 changes: 80 additions & 0 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
import { defaultTheme } from '@vuepress/theme-default'
import { defineUserConfig } from 'vuepress/cli'
import { viteBundler } from '@vuepress/bundler-vite'
import { mdEnhancePlugin } from "vuepress-plugin-md-enhance"
import { redirectPlugin } from '@vuepress/plugin-redirect'
import { docsearchPlugin } from '@vuepress/plugin-docsearch'
import { sidebarConfig } from './sidebar.js'
import { removeHtmlExtensionPlugin } from 'vuepress-plugin-remove-html-extension'
import { seoPlugin } from '@vuepress/plugin-seo'

export default defineUserConfig({
lang: 'en-US',
title: 'Hypervel',
description: 'A Coroutine PHP Framework for Laravel Artisans.',

ignoreDeadLinks: true,
bundler: viteBundler(),

plugins: [
seoPlugin({
hostname: 'https://hypervel.org',
fallBackImage: 'https://hypervel.org/home.png',
customHead: (head) => {
head.push(['title', {}, 'Hypervel - A Coroutine PHP Framework for Laravel Artisans.']);
},
ogp: (ogp, page) => ({
...ogp,
'og:title': 'Hypervel - A Coroutine PHP Framework for Laravel Artisans',
'og:description': "Hypervel is a Laravel-style framework with native coroutine support for ultra-high performance.",
'twitter:title': 'Hypervel - A Coroutine PHP Framework For Laravel Artisans',
'twitter:description': "Hypervel is a Laravel-style framework with native coroutine support for ultra-high performance.",
'twitter:image': 'https://hypervel.org/home.png',
'twitter:card': 'summary_large_image',
}),
}),
removeHtmlExtensionPlugin(),
mdEnhancePlugin({
hint: true,
tasklist: true,
include: true,
tabs: true,
align: true,
chart: true,
}),
redirectPlugin({
config: {
'/docs': '/docs/introduction.html',
},
}),
docsearchPlugin({
appId: 'VH8TNYFP5F',
apiKey: '434aa2025192c8d2fb19499cb78e5d48',
indexName: 'hypervel'
}),
],

theme: defaultTheme({
logo: 'icon.svg',

docsRepo: 'hypervel/hypervel.org',

docsBranch: 'main/docs',

navbar: [
'/',
{
text: 'Documentation',
link: '/docs/introduction',
},
{
text: 'GitHub',
link: 'https://github.com/hypervel/hypervel',
}
],

sidebar: sidebarConfig,

sidebarDepth: 0,
}),
})
Binary file added docs/.vuepress/public/favicon.ico
Binary file not shown.
Binary file added docs/.vuepress/public/home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.vuepress/public/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions docs/.vuepress/public/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.vuepress/public/images/prompts-example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.vuepress/public/images/whoops.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.vuepress/public/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
68 changes: 68 additions & 0 deletions docs/.vuepress/public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading