mirror of
https://github.com/rohitg00/skillkit.git
synced 2026-11-20 12:23:29 +00:00
- Create public/api.html with Swagger UI dark theme matching site design - Create public/openapi.json with full OpenAPI 3.1 spec and examples - Add Vercel rewrite: /api -> /api.html - Add "API" nav link to website navbar - Custom dark theme with monospace fonts matching SkillKit branding
25 lines
542 B
JSON
25 lines
542 B
JSON
{
|
|
"buildCommand": "npm run build",
|
|
"outputDirectory": "dist",
|
|
"installCommand": "npm install",
|
|
"framework": "vite",
|
|
"rewrites": [
|
|
{
|
|
"source": "/api",
|
|
"destination": "/api.html"
|
|
},
|
|
{
|
|
"source": "/_next/:path*",
|
|
"destination": "https://skillkit-docs.vercel.app/_next/:path*"
|
|
},
|
|
{
|
|
"source": "/docs/:path*",
|
|
"destination": "https://skillkit-docs.vercel.app/docs/:path*"
|
|
},
|
|
{
|
|
"source": "/docs",
|
|
"destination": "https://skillkit-docs.vercel.app/docs"
|
|
}
|
|
]
|
|
}
|