Skip to content

Commit

Permalink
fix: remove stale version file, add version to footer
Browse files Browse the repository at this point in the history
  • Loading branch information
dwmkerr committed Apr 6, 2022
1 parent 5b3016d commit 1d7f14b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 4 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');

// Load our package so we can show metadata like the version.
const package = require('./package.json');

const title = 'Effective Shell';
const organizationName = 'dwmkerr';
const projectName = 'effective-shell';
Expand Down Expand Up @@ -115,7 +118,7 @@ const config = {
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Dave Kerr. Website built with Docusaurus.`,
copyright: `Effective Shell v${package.version}. Copyright © ${new Date().getFullYear()} Dave Kerr. Website built with Docusaurus.`,
},
prism: {
theme: lightCodeTheme,
Expand Down
1 change: 0 additions & 1 deletion samples/.version.txt

This file was deleted.

5 changes: 2 additions & 3 deletions scripts/build-samples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
# This file builds the 'samples' folder. Means it will:
#
# 1. Copy all of the files from 'samples'
# 2. Add the .version.txt file to the samples
# 3. Clone the sample repositories, which are hosted at github.com/effective-shell
# 4. Create a zip archive and tar.gz archive
# 2. Clone the sample repositories, which are hosted at github.com/effective-shell
# 3. Create a zip archive and tar.gz archive
#
# The samples will be created in the './artifacts' folder.

Expand Down

0 comments on commit 1d7f14b

Please sign in to comment.