Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add request-lifecycle to the documentation + new homepage #23

Merged
merged 4 commits into from
Jun 9, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
docs(#15): add request_lifecycle and base path to docs
  • Loading branch information
francescovallone committed Jun 7, 2024
commit 153d0de685fbde6ce6743fc11b2cbc3f64ddad32
43 changes: 27 additions & 16 deletions .website/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ export default defineConfig({
},
// https://vitepress.dev/reference/default-theme-config
logo: '/serinus-logo.png',
search: {
provider: 'local'
},
nav: [
{
text: 'pub.dev',
Expand All @@ -29,38 +32,46 @@ export default defineConfig({
{ text: 'Introduction', link: '/introduction' },
{
text: 'Overview',
base: '/overview/',
collapsed: false,
items: [
{ text: 'Getting Started', link: '/overview/getting_started' },
{ text: 'Modules', link: '/overview/modules' },
{ text: 'Controllers', link: '/overview/controllers' },
{ text: 'Routes', link: '/overview/routes' },
{ text: 'Providers', link: '/overview/providers' },
{ text: 'Middlewares', link: '/overview/middlewares' },
{ text: 'Guards', link: '/overview/guards' },
{ text: 'Pipes', link: '/overview/pipes' },
{ text: 'WebSockets', link: '/overview/websockets' },
{ text: 'Getting Started', link: 'getting_started' },
{ text: 'Modules', link: 'modules' },
{ text: 'Controllers', link: 'controllers' },
{ text: 'Routes', link: 'routes' },
{ text: 'Providers', link: 'providers' },
{ text: 'Middlewares', link: 'middlewares' },
{ text: 'Guards', link: 'guards' },
{ text: 'Pipes', link: 'pipes' },
{ text: 'WebSockets', link: 'websockets' },
]
},
{
text: 'Techniques',
base: '/techniques/',
collapsed: true,
items: [
{ text: 'Model View Controller', link: '/techniques/mvc' },
{ text: 'Versioning', link: '/techniques/versioning' },
{ text: 'Global Prefix', link: '/techniques/global_prefix' },
{ text: 'Body Size Limit', link: '/techniques/body_size_limit' },
{ text: 'Model View Controller', link: 'mvc' },
{ text: 'Versioning', link: 'versioning' },
{ text: 'Global Prefix', link: 'global_prefix' },
{ text: 'Body Size Limit', link: 'body_size_limit' },
]
},
{
text: 'Request Lifecycle',
link: '/request_lifecycle'
},
{
text: 'Plugins',
base: '/plugins/',
collapsed: true,
items: [
{ text: 'Configuration', link: '/plugins/configuration' },
{ text: 'Serve Static Files', link: '/plugins/serve_static' },
{ text: 'Configuration', link: 'configuration' },
{ text: 'Serve Static Files', link: 'serve_static' },
{ text: 'CRON [WIP]' },
{ text: 'Swagger [WIP]' }
],
link: '/plugins/'
link: '/'
}
]
},
Expand Down
Empty file added .website/request_lifecycle.md
Empty file.
Loading