Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(app): avatar size #84

Merged
merged 1 commit into from
Aug 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ node_modules
# style copy with components build
packages/windi/*.css
docs/.vitepress/cache/
docs/public/play
docs/public/play
# Local Netlify folder
.netlify
10 changes: 5 additions & 5 deletions docs/docs/.vitepress/cache/deps/_metadata.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"hash": "886852c2",
"browserHash": "d1a9925d",
"hash": "6b40b191",
"browserHash": "24ffda9e",
"optimized": {
"vue": {
"src": "../../../../../node_modules/.pnpm/vue@3.3.4/node_modules/vue/dist/vue.runtime.esm-bundler.js",
"file": "vue.js",
"fileHash": "64089f1d",
"fileHash": "04532c96",
"needsInterop": false
},
"vitepress > @vue/devtools-api": {
"src": "../../../../../node_modules/.pnpm/@vue+devtools-api@6.5.0/node_modules/@vue/devtools-api/lib/esm/index.js",
"file": "vitepress___@vue_devtools-api.js",
"fileHash": "102b03c4",
"fileHash": "3aaf9efa",
"needsInterop": false
},
"@vueuse/core": {
"src": "../../../../../node_modules/.pnpm/@vueuse+core@10.2.1_vue@3.3.4/node_modules/@vueuse/core/index.mjs",
"file": "@vueuse_core.js",
"fileHash": "72f12bff",
"fileHash": "94371e3a",
"needsInterop": false
}
},
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/guide/components/avatar.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ You can use `size` prop to change the size of the Avatar.

<demo src="../../components/Avatar/avatarSize.vue" />

By defaut, the size is set to `md`.
By defaut, the `WAvatar` size is set to `md`.


## Chip
Expand Down
3 changes: 0 additions & 3 deletions docs/docs/guide/getting-started/hello.md

This file was deleted.

21 changes: 21 additions & 0 deletions docs/docs/netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# example netlify.toml
[build]
command = "pnpm run build"
functions = "netlify/functions"
publish = "docs/docs/.vitepress/dist"

## Uncomment to use this redirect for Single Page Applications like create-react-app.
## Not needed for static site generators.
#[[redirects]]
# from = "/*"
# to = "/index.html"
# status = 200

## (optional) Settings for Netlify Dev
## https://github.com/netlify/cli/blob/main/docs/netlify-dev.md#project-detection
#[dev]
# command = "yarn start" # Command to start your dev server
# port = 3000 # Port that the dev server will be listening on
# publish = "dist" # Folder with the static content for _redirect file

## more info on configuring this file: https://docs.netlify.com/configure-builds/file-based-configuration/
5 changes: 3 additions & 2 deletions docs/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@
"serve": "vitepress serve"
},
"dependencies": {
"markdown-it": "^13.0.1",
"@windi-ui/vue": "workspace:^"
"@windi-ui/vue": "workspace:^",
"markdown-it": "^13.0.1"
},
"devDependencies": {
"@types/markdown-it": "^12.2.3",
"netlify-cli": "^15.11.0",
"postcss-prefix-selector": "^1.16.0"
}
}
39 changes: 39 additions & 0 deletions docs/docs/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"rebaseWhen": "conflicted",
"schedule": [
"before 6am on the first day of the month"
],
"baseBranches": [
"main"
],
"rangeStrategy": "bump",
"ignoreDeps": [
"node",
"pnpm"
],
"packageRules": [
{
"matchFiles": [
"package.json"
],
"matchUpdateTypes": [
"patch",
"minor",
"major"
],
"groupName": "root",
"groupSlug": "shared-root",
"labels": [
"dependencies"
],
"addLabels": [
"dependencies"
]
}
]
}

7 changes: 7 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[build.environment]
NETLIFY_USE_PNPM = "true"
NODE_VERSION = "16"

[build]
publish = "docs/docs/.vitepress/dist"
command = "pnpm install && pnpm -w run deploy"
Loading