Skip to content

Commit

Permalink
docs: add npm link
Browse files Browse the repository at this point in the history
  • Loading branch information
Avivbens committed Jun 7, 2024
1 parent c9a3357 commit 09f9ed2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { defineConfig } from 'vitepress'
// @ts-expect-error
import { description } from '../../package.json'
import { author, description, name } from '../../package.json'
import { GOOGLE_ANALYTICS_ID, GOOGLE_ANALYTICS_SCRIPT } from './analytics/google-analytics.config'
import { REPOSITORY_FULLNAME, getDocsBase, remoteDefaultBranch } from './constants/repository.mjs'
import { NAVBAR } from './navbar.config.mjs'
Expand Down Expand Up @@ -38,6 +38,7 @@ export default defineConfig({
socialLinks: [
//
{ icon: 'github', link: `https://github.com/${REPOSITORY_FULLNAME}#readme` },
{ icon: 'npm', link: `https://www.npmjs.com/package/${name}` },
],
search: { provider: 'local' },
editLink: {
Expand All @@ -49,7 +50,7 @@ export default defineConfig({
},
footer: {
message: 'Released under the MIT License',
copyright: 'Copyright © 2024-present Aviv Ben Shahar',
copyright: `Copyright © 2024-present ${author.name}`,
},
},
})

0 comments on commit 09f9ed2

Please sign in to comment.