From 1bc2e22552a3a64af53d877c00d848b03168a41a Mon Sep 17 00:00:00 2001 From: Andrey Yolkin Date: Sun, 3 Sep 2023 19:42:57 +0300 Subject: [PATCH] refactor(docs): add heading to each utility --- docs/3.api/4.advanced/2.kit.md | 38 +++++++++++++++++++++------------- 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/docs/3.api/4.advanced/2.kit.md b/docs/3.api/4.advanced/2.kit.md index 5f9b9607fd..61f06aad11 100644 --- a/docs/3.api/4.advanced/2.kit.md +++ b/docs/3.api/4.advanced/2.kit.md @@ -2027,35 +2027,45 @@ export default defineNuxtModule({ [source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/nitro.ts) -- `addServerHandler (handler)` -- `addDevServerHandler (handler)` -- `useNitro()` (only usable after `ready` hook) -- `addServerPlugin` -- `addPrerenderRoutes` +### `addServerHandler (handler)` + +### `addDevServerHandler (handler)` + +### `useNitro()` (only usable after `ready` hook) + +### `addServerPlugin` + +### `addPrerenderRoutes` ## Resolving [source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/resolve.ts) -- `resolvePath (path, resolveOptions?)` -- `resolveAlias (path, aliases?)` -- `findPath (paths, resolveOptions?)` -- `createResolver (base)` +### `resolvePath (path, resolveOptions?)` + +### `resolveAlias (path, aliases?)` + +### `findPath (paths, resolveOptions?)` + +### `createResolver (base)` ## Logging [source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/logger.ts) -- `useLogger(scope?)` +### `useLogger(scope?)` ## Builder [source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/build.ts) -- `extendWebpackConfig(callback, options?)` -- `extendViteConfig(callback, options?)` -- `addWebpackPlugin(webpackPlugin, options?)` -- `addVitePlugin(vitePlugin, options?)` +### `extendWebpackConfig(callback, options?)` + +### `extendViteConfig(callback, options?)` + +### `addWebpackPlugin(webpackPlugin, options?)` + +### `addVitePlugin(vitePlugin, options?)` ## Examples