Skip to content

Commit c1444fc

Browse files
committed
docs: adjust styleguide config
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent 1d5e8fd commit c1444fc

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

docs/app-containers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
- SPDX-License-Identifier: AGPL-3.0-or-later
44
-->
55

6-
All applications must to be wrapped in one of the provided app containers.
6+
All applications must be wrapped in one of the provided app containers.
77
Those containers provide base styling and context for all components.
88

99
### Available containers
1010
#### `NcContent`
11-
This is the main container useable for all apps that provide app content.
11+
This is the main container for all apps that provide full web-page interface.
1212
Often you would use then `NcAppContent` and maybe `NcAppNavigation` within it.
1313

1414
#### `NcGuestContent`

src/components/NcGuestContent/NcGuestContent.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ It can't be used multiple times on the same page.
1616

1717
### Usage
1818

19-
```vue static
19+
```html static
2020
<template>
2121
<NcGuestContent>
2222
<h2>Hello guest</h2>

styleguide.config.cjs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -207,15 +207,11 @@ module.exports = async () => {
207207
{
208208
name: 'App containers',
209209
content: 'docs/app-containers.md',
210+
components: [
211+
'src/components/NcContent/NcContent.vue',
212+
'src/components/NcGuestContent/NcGuestContent.vue',
213+
],
210214
sections: [
211-
{
212-
name: 'NcContent',
213-
components: 'src/components/NcContent/NcContent.vue',
214-
},
215-
{
216-
name: 'NcGuestContent',
217-
components: 'src/components/NcGuestContent/NcGuestContent.vue',
218-
},
219215
{
220216
name: 'NcAppContent',
221217
components: 'src/components/NcAppContent/NcAppContent.vue',

0 commit comments

Comments
 (0)