Minor updates to website config

This commit is contained in:
Ozzie Gooen 2022-02-09 10:03:07 -05:00
parent 8313fe0f06
commit 1a63acfc7a
3 changed files with 7506 additions and 397 deletions

View File

@ -4745,6 +4745,19 @@
"resolved" "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz" "resolved" "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz"
"version" "1.0.0" "version" "1.0.0"
"fsevents@^1.2.7":
"integrity" "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw=="
"resolved" "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz"
"version" "1.2.13"
dependencies:
"bindings" "^1.5.0"
"nan" "^2.12.1"
"fsevents@^2.1.2", "fsevents@~2.3.2":
"integrity" "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA=="
"resolved" "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz"
"version" "2.3.2"
"function-bind@^1.1.1": "function-bind@^1.1.1":
"integrity" "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" "integrity" "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
"resolved" "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz" "resolved" "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz"
@ -6828,6 +6841,11 @@
"resolved" "https://registry.npmjs.org/mutationobserver-shim/-/mutationobserver-shim-0.3.7.tgz" "resolved" "https://registry.npmjs.org/mutationobserver-shim/-/mutationobserver-shim-0.3.7.tgz"
"version" "0.3.7" "version" "0.3.7"
"nan@^2.12.1":
"integrity" "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ=="
"resolved" "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz"
"version" "2.15.0"
"nano-css@^5.3.1": "nano-css@^5.3.1":
"integrity" "sha512-wfcviJB6NOxDIDfr7RFn/GlaN7I/Bhe4d39ZRCJ3xvZX60LVe2qZ+rDqM49nm4YT81gAjzS+ZklhKP/Gnfnubg==" "integrity" "sha512-wfcviJB6NOxDIDfr7RFn/GlaN7I/Bhe4d39ZRCJ3xvZX60LVe2qZ+rDqM49nm4YT81gAjzS+ZklhKP/Gnfnubg=="
"resolved" "https://registry.npmjs.org/nano-css/-/nano-css-5.3.4.tgz" "resolved" "https://registry.npmjs.org/nano-css/-/nano-css-5.3.4.tgz"

View File

@ -8,13 +8,13 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
const config = { const config = {
title: 'Squiggle', title: 'Squiggle',
tagline: 'A programming language for probabilistic estimation', tagline: 'A programming language for probabilistic estimation',
url: 'https://your-docusaurus-test-site.com', url: 'https://squiggle-documentation.netlify.app',
baseUrl: '/', baseUrl: '/',
onBrokenLinks: 'throw', onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn', onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico', favicon: 'img/favicon.ico',
organizationName: 'facebook', // Usually your GitHub org/user name. organizationName: 'QURI', // Usually your GitHub org/user name.
projectName: 'docusaurus', // Usually your repo name. projectName: 'Squiggle', // Usually your repo name.
presets: [ presets: [
[ [
@ -24,13 +24,13 @@ const config = {
docs: { docs: {
sidebarPath: require.resolve('./sidebars.js'), sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo. // Please change this to your repo.
editUrl: 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/', editUrl: 'https://github.com/foretold-app/squiggle/tree/main/packages/website/',
}, },
blog: { blog: {
showReadingTime: true, showReadingTime: true,
// Please change this to your repo. // Please change this to your repo.
editUrl: editUrl:
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/', 'https://github.com/foretold-app/squiggle/tree/main/packages/website/',
}, },
theme: { theme: {
customCss: require.resolve('./src/css/custom.css'), customCss: require.resolve('./src/css/custom.css'),
@ -57,7 +57,7 @@ const config = {
}, },
{to: '/blog', label: 'Blog', position: 'left'}, {to: '/blog', label: 'Blog', position: 'left'},
{ {
href: 'https://github.com/foretold-app/squiggle', href: 'https://github.com/QURIresearch/squiggle',
label: 'GitHub', label: 'GitHub',
position: 'right', position: 'right',
}, },
@ -67,11 +67,11 @@ const config = {
style: 'dark', style: 'dark',
links: [ links: [
{ {
title: 'Docs', title: 'Blog',
items: [ items: [
{ {
label: 'Tutorial', label: 'Overview',
to: '/docs/intro', to: '/docs/Language',
}, },
], ],
}, },
@ -84,7 +84,7 @@ const config = {
}, },
{ {
label: 'GitHub', label: 'GitHub',
href: 'https://github.com/foretold-app/squiggle', href: 'https://github.com/QURIresearch/squiggle',
}, },
], ],
}, },

File diff suppressed because it is too large Load Diff