feat: generate docs
This commit is contained in:
@@ -4,11 +4,11 @@ import type { Middleware } from './types.ts';
|
||||
|
||||
export class Session implements Middleware {
|
||||
apply(app: Koa): void {
|
||||
app.keys = ['foka-ci'];
|
||||
app.keys = ['mini-ci'];
|
||||
app.use(
|
||||
session(
|
||||
{
|
||||
key: 'foka.sid',
|
||||
key: 'mini-ci.sid',
|
||||
maxAge: 86400000,
|
||||
autoCommit: true /** (boolean) automatically commit headers (default true) */,
|
||||
overwrite: true /** (boolean) can overwrite or not (default true) */,
|
||||
|
||||
@@ -7,7 +7,7 @@ import { pluginSvgr } from '@rsbuild/plugin-svgr';
|
||||
export default defineConfig({
|
||||
plugins: [pluginReact(), pluginLess(), pluginSvgr()],
|
||||
html: {
|
||||
title: 'Foka CI',
|
||||
title: 'Mini CI',
|
||||
},
|
||||
source: {
|
||||
define: {
|
||||
|
||||
@@ -31,7 +31,7 @@ function Home() {
|
||||
>
|
||||
<div className="flex flex-row items-center justify-center h-[56px]">
|
||||
<Logo />
|
||||
{!collapsed && <h2 className="ml-4 text-xl font-medium">Foka CI</h2>}
|
||||
{!collapsed && <h2 className="ml-4 text-xl font-medium">Mini CI</h2>}
|
||||
</div>
|
||||
<Menu
|
||||
className="flex-1"
|
||||
|
||||
@@ -59,7 +59,7 @@ function ProjectCard({ project }: ProjectCardProps) {
|
||||
|
||||
return (
|
||||
<Card
|
||||
className="foka-card !rounded-xl border border-gray-200 h-[280px] cursor-pointer"
|
||||
className="!rounded-xl border border-gray-200 h-[280px] cursor-pointer"
|
||||
hoverable
|
||||
bodyStyle={{ padding: '20px' }}
|
||||
onClick={onProjectClick}
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"@pages/*": ["./src/pages/*"],
|
||||
"@styles/*": ["./src/styles/*"],
|
||||
"@assets/*": ["./src/assets/*"],
|
||||
"@shared": ["src/utils"]
|
||||
"@utils/*": ["./src/utils/*"]
|
||||
}
|
||||
},
|
||||
"include": ["src"]
|
||||
|
||||
Reference in New Issue
Block a user