Skip to content

Commit

Permalink
doc: Do not override assets while building the styleguide
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
  • Loading branch information
susnux committed Jan 21, 2025
1 parent 04c0258 commit 7c29888
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/NcAvatar/NcAvatar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
### Avatar with image

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

### Avatar with material design icon
Expand Down
4 changes: 4 additions & 0 deletions styleguide.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ module.exports = async () => {
path.join(__dirname, 'styleguide/assets/additional.css'),
path.join(__dirname, 'styleguide/assets/styleguide.css'),
],

assetsDir: path.join(__dirname, 'styleguide/assets/img'),
styleguideDir: 'styleguide/build',

pagePerSection: true,
minimize: true,
verbose: false,
Expand Down

0 comments on commit 7c29888

Please sign in to comment.