Skip to content

Commit 7c29888

Browse files
committed
doc: Do not override assets while building the styleguide
Signed-off-by: Ferdinand Thiessen <[email protected]>
1 parent 04c0258 commit 7c29888

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/components/NcAvatar/NcAvatar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
### Avatar with image
1515

1616
```vue
17-
<NcAvatar url="https://nextcloud.com/wp-content/themes/next/assets/img/common/nextcloud-square-logo.png" />
17+
<NcAvatar url="favicon-touch.png" />
1818
```
1919

2020
### Avatar with material design icon

styleguide.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ module.exports = async () => {
3232
path.join(__dirname, 'styleguide/assets/additional.css'),
3333
path.join(__dirname, 'styleguide/assets/styleguide.css'),
3434
],
35+
36+
assetsDir: path.join(__dirname, 'styleguide/assets/img'),
37+
styleguideDir: 'styleguide/build',
38+
3539
pagePerSection: true,
3640
minimize: true,
3741
verbose: false,

0 commit comments

Comments
 (0)