Minor documentation cleanup

This commit is contained in:
Ozzie Gooen 2022-02-18 17:14:45 -05:00
parent dd064be7f5
commit e73e643b42
3 changed files with 14 additions and 15 deletions

View File

@ -7,7 +7,7 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
/** @type {import('@docusaurus/types').Config} */ /** @type {import('@docusaurus/types').Config} */
const config = { const config = {
title: 'Squiggle (alpha)', title: 'Squiggle (alpha)',
tagline: "A programming language for probabilistic estimation. It's still heavily experimental, and we're working to get to a stable release candidate.", tagline: "Scorable programming, for use by forecasters",
url: 'https://squiggle-documentation.netlify.app', url: 'https://squiggle-documentation.netlify.app',
baseUrl: '/', baseUrl: '/',
onBrokenLinks: 'throw', onBrokenLinks: 'throw',
@ -53,9 +53,14 @@ const config = {
type: 'doc', type: 'doc',
docId: 'Language', docId: 'Language',
position: 'left', position: 'left',
label: 'Tutorial', label: 'Documentation',
}, },
{to: '/blog', label: 'Blog', position: 'left'}, {to: '/blog', label: 'Blog', position: 'left'},
{
href: 'https://playground.squiggle-language.com/dist-builder',
label: 'Playground',
position: 'left',
},
{ {
href: 'https://github.com/QURIresearch/squiggle', href: 'https://github.com/QURIresearch/squiggle',
label: 'GitHub', label: 'GitHub',

View File

@ -5,7 +5,6 @@ import styles from './HomepageFeatures.module.css';
const FeatureList = [ const FeatureList = [
{ {
title: 'Probabilistic', title: 'Probabilistic',
Svg: require('../../static/img/undraw_docusaurus_tree.svg').default,
description: ( description: (
<> <>
Squiggle makes working with probability distributions really easy. Squiggle makes working with probability distributions really easy.
@ -14,7 +13,6 @@ const FeatureList = [
}, },
{ {
title: 'Portable', title: 'Portable',
Svg: require('../../static/img/undraw_docusaurus_mountain.svg').default,
description: ( description: (
<> <>
Squiggle is in a small Rescript / Javascript library. It can be used wherever Rescript and Javascript are available. Squiggle is in a small Rescript / Javascript library. It can be used wherever Rescript and Javascript are available.
@ -23,7 +21,6 @@ const FeatureList = [
}, },
{ {
title: 'Fast', title: 'Fast',
Svg: require('../../static/img/undraw_docusaurus_react.svg').default,
description: ( description: (
<> <>
Squiggle tries to get as far as it can without resorting to Monte Carlo simulation, but does so when necessary. Squiggle tries to get as far as it can without resorting to Monte Carlo simulation, but does so when necessary.
@ -35,9 +32,6 @@ const FeatureList = [
function Feature({Svg, title, description}) { function Feature({Svg, title, description}) {
return ( return (
<div className={clsx('col col--4')}> <div className={clsx('col col--4')}>
<div className="text--center">
<Svg className={styles.featureSvg} alt={title} />
</div>
<div className="text--center padding-horiz--md"> <div className="text--center padding-horiz--md">
<h3>{title}</h3> <h3>{title}</h3>
<p>{description}</p> <p>{description}</p>

View File

@ -6,13 +6,13 @@
/* You can override the default Infima variables here. */ /* You can override the default Infima variables here. */
:root { :root {
--ifm-color-primary: #2e8555; --ifm-color-primary: #2488df;
--ifm-color-primary-dark: #29784c; --ifm-color-primary-dark: #176fcd;
--ifm-color-primary-darker: #277148; --ifm-color-primary-darker: #1f58cb;
--ifm-color-primary-darkest: #205d3b; --ifm-color-primary-darkest: #1e2672;
--ifm-color-primary-light: #33925d; --ifm-color-primary-light: #49acd3;
--ifm-color-primary-lighter: #359962; --ifm-color-primary-lighter: #4fb1c7;
--ifm-color-primary-lightest: #3cad6e; --ifm-color-primary-lightest: #3dbfd3;
--ifm-code-font-size: 95%; --ifm-code-font-size: 95%;
} }