Skip to content

Commit

Permalink
chore(docs): added version indicator for doc-website
Browse files Browse the repository at this point in the history
  • Loading branch information
mahabubx7 committed Oct 30, 2024
1 parent 92101ee commit c06046d
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 15 deletions.
2 changes: 2 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
"assets": [
"package.json",
"package-lock.json",
"docs/package.json",
"docs/package-lock.json",
"CHANGELOG.md"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
Expand Down
20 changes: 10 additions & 10 deletions docs/.vitepress/cache/deps/_metadata.json
Original file line number Diff line number Diff line change
@@ -1,49 +1,49 @@
{
"hash": "09da0a02",
"hash": "334951a4",
"configHash": "c1e2a9ff",
"lockfileHash": "cca6cc97",
"browserHash": "da177740",
"lockfileHash": "706478d1",
"browserHash": "3b657482",
"optimized": {
"vue": {
"src": "../../../node_modules/vue/dist/vue.runtime.esm-bundler.js",
"file": "vue.js",
"fileHash": "26b39272",
"fileHash": "72a6db04",
"needsInterop": false
},
"vitepress > @vue/devtools-api": {
"src": "../../../node_modules/@vue/devtools-api/dist/index.js",
"file": "vitepress___@vue_devtools-api.js",
"fileHash": "14a05e67",
"fileHash": "135233f4",
"needsInterop": false
},
"vitepress > @vueuse/core": {
"src": "../../../node_modules/@vueuse/core/index.mjs",
"file": "vitepress___@vueuse_core.js",
"fileHash": "7a50a48d",
"fileHash": "32c1322b",
"needsInterop": false
},
"vitepress > @vueuse/integrations/useFocusTrap": {
"src": "../../../node_modules/@vueuse/integrations/useFocusTrap.mjs",
"file": "vitepress___@vueuse_integrations_useFocusTrap.js",
"fileHash": "a384743f",
"fileHash": "aeebf412",
"needsInterop": false
},
"vitepress > mark.js/src/vanilla.js": {
"src": "../../../node_modules/mark.js/src/vanilla.js",
"file": "vitepress___mark__js_src_vanilla__js.js",
"fileHash": "a2345b94",
"fileHash": "89b87b45",
"needsInterop": false
},
"vitepress > minisearch": {
"src": "../../../node_modules/minisearch/dist/es/index.js",
"file": "vitepress___minisearch.js",
"fileHash": "1eb9588f",
"fileHash": "c5bd68fe",
"needsInterop": false
},
"@theme/index": {
"src": "../../../node_modules/vitepress/dist/client/theme-default/index.js",
"file": "@theme_index.js",
"fileHash": "ed317aad",
"fileHash": "93dc045a",
"needsInterop": false
}
},
Expand Down
17 changes: 15 additions & 2 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { defineConfig } from "vitepress"
import pkg from "../package.json"

// https://vitepress.dev/reference/site-config
export default defineConfig({
Expand Down Expand Up @@ -26,8 +27,20 @@ export default defineConfig({
nav: [
{ text: "Guide", link: "/guide" },
{ text: "Reference", link: "/api" },
{ text: "Our Team", link: "/team" }

{ text: "Our Team", link: "/team" },
{
text: `v${pkg.version}`,
items: [
{
text: "Releases",
link: "https://github.com/mahabubx7/akar/releases"
},
{
text: "New Issue",
link: "https://github.com/mahabubx7/akar/issues/new/choose"
}
]
}
// sponsers place
],

Expand Down
2 changes: 1 addition & 1 deletion docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docs",
"version": "1.0.0",
"version": "1.0.3",
"description": "akar.js documentation website using vitepress",
"main": "index.js",
"scripts": {
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"module": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"release": "release-it",
"format": "prettier --write .",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
Expand Down

0 comments on commit c06046d

Please sign in to comment.