Skip to content

Commit 86c6b24

Browse files
matteasonlarbish
andauthored
docs(customization): DocsAsideLeftBody override in en and fr
Co-authored-by: Baptiste Leproux <[email protected]>
1 parent 2a9009e commit 86c6b24

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

‎docs/content/en/2.concepts/5.customization.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ By default this components is empty but you can have a look at how we're overrid
218218

219219
### `DocsAsideLeftBody`
220220

221-
To customize main part of the left aside of the documentation pages. You can create the`components/DocsAsideLeftTop.vue` component. Your component will replace the default file navigation provided by Docus theme.
221+
To customize main part of the left aside of the documentation pages. You can create the`components/DocsAsideLeftBody.vue` component. Your component will replace the default file navigation provided by Docus theme.
222222

223223
![Docs aside left body visualisation](/documentation/docs-aside-left-body.webp)
224224

‎docs/content/fr/2.concepts/5.customization.md‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,22 @@ to: https://github.com/nuxt/image/blob/docs/docus/docus/app/components/DocsAside
200200
Par défaut, ce composant est vide mais vous pouvez voir comment nous le surchargeons sur la documentation Nuxt Image.
201201
::
202202

203+
### `DocsAsideLeftBody`
204+
205+
Pour personnaliser la partie principale de l'aside gauche des pages de documentation, créez le composant `components/DocsAsideLeftBody.vue`. Votre composant remplacera la navigation des fichiers fournie par le thème Docus.
206+
207+
![Docs aside gauche principal](/documentation/docs-aside-left-body.webp)
208+
209+
::u-button
210+
---
211+
color: neutral
212+
icon: i-lucide-code-xml
213+
to: https://github.com/nuxt-content/docus/tree/main/layer/app/components/docs/DocsAsideLeftBody.vue
214+
variant: link
215+
---
216+
Code du composant par défaut
217+
::
218+
203219
## Icônes personnalisées
204220

205221
Docus utilise [Nuxt Icon](https://github.com/nuxt/icon) avec le fournisseur [Iconify](https://iconify.design/), vous donnant accès à des milliers d'icônes prêtes à l'emploi (ex. `i-lucide-arrow-right`, `i-simple-icons-github`).

0 commit comments

Comments
 (0)