made footer two versions

This commit is contained in:
Quinn Dougherty 2022-08-01 13:16:24 -04:00
parent 0069b3df6f
commit 0a58ebf6e5

View File

@ -5,7 +5,8 @@ const katex = require("rehype-katex");
const lightCodeTheme = require("prism-react-renderer/themes/github"); const lightCodeTheme = require("prism-react-renderer/themes/github");
const darkCodeTheme = require("prism-react-renderer/themes/dracula"); 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} */ /** @type {import('@docusaurus/types').Config} */
const config = { const config = {
@ -115,7 +116,7 @@ const config = {
width: 150, width: 150,
height: 150, height: 150,
}, },
copyright: `v${packageJson.version}`, copyright: `Rescript language package v${langPackageJson.version} | React components package v${componentsPackageJson.version}`,
}, },
prism: { prism: {
theme: lightCodeTheme, theme: lightCodeTheme,