Skip to content

Commit

Permalink
docs: upgrade Docus
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Jul 12, 2023
1 parent 2125d4e commit 26dd16a
Show file tree
Hide file tree
Showing 5 changed files with 116 additions and 143 deletions.
4 changes: 2 additions & 2 deletions docs/content/1.guide/1.configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ Read all the [available options](/config) to configure Nitro.
Nitro loads the configuration using [unjs/c12](https://github.com/unjs/c12), giving more possibilities such as using `.nitrorc`.

::code-group
```txt [.nitrorc]
```bash [.nitrorc]
timing=true
```
```txt [.nuxtrc]
```bash [.nuxtrc]
nitro.timing=true
```
::
2 changes: 1 addition & 1 deletion docs/content/3.config.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Public asset directories to serve in development and bundle in production.
If a `public/` directory is detected, it will be added by default, but you can add more by yourself too!

It's possible to set Cache-Control headers for assets using the `maxAge` option:
```
```ts
publicAssets: [
{
baseURL: "images",
Expand Down
2 changes: 1 addition & 1 deletion docs/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default defineNuxtConfig({
extends: '@nuxt-themes/docus',
modules: ['@nuxtjs/plausible', '@nuxthq/studio']
modules: ['@nuxtjs/plausible']
})
3 changes: 1 addition & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"preview": "nuxi preview"
},
"devDependencies": {
"@nuxt-themes/docus": "^1.13.1",
"@nuxthq/studio": "^0.13.3",
"@nuxt-themes/docus": "^1.14.0",
"@nuxtjs/plausible": "^0.2.1",
"nuxt": "3.6.2"
}
Expand Down
Loading

0 comments on commit 26dd16a

Please sign in to comment.