diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8c4c4f55..16d98d4d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,3 +18,6 @@ jobs: run: | yarn install yarn test + - name: build + run: | + yarn build diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b246ff6..269021e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +## [0.16.1](https://github.com/vuejs/vitepress/compare/v0.16.0...v0.16.1) (2021-08-11) + +### Features + +- info custom container ([4925fb5](https://github.com/vuejs/vitepress/commit/4925fb5c29c59b7e17d050ab4346f71afc0463cd)) + +# [0.16.0](https://github.com/vuejs/vitepress/compare/v0.15.6...v0.16.0) (2021-08-10) + +This version uses Vue 3.2.0. + +### Bug Fixes + +- override target and rel links attribute in config ([#332](https://github.com/vuejs/vitepress/issues/332)) ([9d98dbb](https://github.com/vuejs/vitepress/commit/9d98dbbe60d477a78d6dc0e80d16fdddedcd4ed5)) +- **edit-link:** let frontmatter overwrite global editLink ([#340](https://github.com/vuejs/vitepress/issues/340)) ([cfbba80](https://github.com/vuejs/vitepress/commit/cfbba80a0a6e33bcb2ca3d4450fb9624dcd6d140)) + ## [0.15.6](https://github.com/vuejs/vitepress/compare/v0.15.5...v0.15.6) (2021-07-02) ### Bug Fixes diff --git a/docs/guide/markdown.md b/docs/guide/markdown.md index 49fd2f4c..8d00d001 100644 --- a/docs/guide/markdown.md +++ b/docs/guide/markdown.md @@ -128,6 +128,10 @@ Custom containers can be defined by their types, titles, and contents. This is a tip ::: +::: info +This is an info box +::: + ::: warning This is a warning ::: @@ -143,6 +147,10 @@ This is a dangerous warning This is a tip ::: +::: info +This is an info box +::: + ::: warning This is a warning ::: diff --git a/package.json b/package.json index 81807166..c4786d97 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vitepress", - "version": "0.15.6", + "version": "0.16.1", "description": "Vite & Vue powered static site generator", "main": "dist/node/index.js", "typings": "types/index.d.ts", @@ -66,9 +66,9 @@ "@docsearch/css": "^1.0.0-alpha.28", "@docsearch/js": "^1.0.0-alpha.28", "@types/markdown-it": "^12.0.1", - "@vitejs/plugin-vue": "^1.2.3", - "@vue/compiler-sfc": "^3.1.1", - "@vue/server-renderer": "^3.1.1", + "@vitejs/plugin-vue": "^1.4.0", + "@vue/compiler-sfc": "^3.2.1", + "@vue/server-renderer": "^3.2.1", "chalk": "^4.1.1", "compression": "^1.7.4", "debug": "^4.3.2", @@ -88,8 +88,8 @@ "polka": "^0.5.2", "prismjs": "^1.23.0", "sirv": "^1.0.12", - "vite": "^2.3.7", - "vue": "^3.1.1" + "vite": "^2.5.0", + "vue": "^3.2.1" }, "devDependencies": { "@types/compression": "^1.7.0", diff --git a/src/client/theme-default/components/AlgoliaSearchBox.vue b/src/client/theme-default/components/AlgoliaSearchBox.vue index fee1c1c2..89023a2e 100644 --- a/src/client/theme-default/components/AlgoliaSearchBox.vue +++ b/src/client/theme-default/components/AlgoliaSearchBox.vue @@ -2,7 +2,7 @@ import '@docsearch/css' import docsearch from '@docsearch/js' import { useRoute, useRouter, useData } from 'vitepress' -import { defineProps, getCurrentInstance, onMounted, watch } from 'vue' +import { getCurrentInstance, onMounted, watch } from 'vue' import type { DefaultTheme } from '../config' import type { DocSearchHit } from '@docsearch/react/dist/esm/types' diff --git a/src/client/theme-default/components/BuySellAds.vue b/src/client/theme-default/components/BuySellAds.vue index 9a73a60c..6c998b39 100644 --- a/src/client/theme-default/components/BuySellAds.vue +++ b/src/client/theme-default/components/BuySellAds.vue @@ -1,5 +1,5 @@