From 0a58ebf6e5ef13931badad17b3c1e23d908a9d4e Mon Sep 17 00:00:00 2001 From: Quinn Dougherty Date: Mon, 1 Aug 2022 13:16:24 -0400 Subject: [PATCH] made footer two versions --- packages/website/docusaurus.config.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/website/docusaurus.config.js b/packages/website/docusaurus.config.js index 36aee6da..41505035 100644 --- a/packages/website/docusaurus.config.js +++ b/packages/website/docusaurus.config.js @@ -5,7 +5,8 @@ const katex = require("rehype-katex"); const lightCodeTheme = require("prism-react-renderer/themes/github"); const darkCodeTheme = require("prism-react-renderer/themes/dracula"); -const packageJson = require("./package.json"); +const langPackageJson = require("../squiggle-lang/package.json"); +const componentsPackageJson = require("../components/package.json"); /** @type {import('@docusaurus/types').Config} */ const config = { @@ -115,7 +116,7 @@ const config = { width: 150, height: 150, }, - copyright: `v${packageJson.version}`, + copyright: `Rescript language package v${langPackageJson.version} | React components package v${componentsPackageJson.version}`, }, prism: { theme: lightCodeTheme,