Skip to content

Commit

Permalink
docs: Add version to header.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Nov 12, 2020
1 parent c9cd99f commit 6ee39cc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/* eslint-disable sort-keys */

const pkg = require('../package.json');

module.exports = {
title: 'Packemon',
tagline:
Expand All @@ -19,6 +21,11 @@ module.exports = {
src: 'img/logo.svg',
},
items: [
{
label: `v${pkg.version}`,
position: 'left',
href: `https://www.npmjs.com/package/${pkg.name}`,
},
{
to: 'docs',
activeBasePath: 'docs',
Expand Down

0 comments on commit 6ee39cc

Please sign in to comment.