Sidebar order of pages; adjusted title/subtitle; cleanup

Value: [1e-7 to 1e-3]
This commit is contained in:
Quinn Dougherty 2022-05-10 15:23:04 -04:00
parent 744d5e0ad1
commit 3f30bddfc0
12 changed files with 22 additions and 26 deletions

View File

@ -1,6 +1,6 @@
--- ---
title: "Known Bugs" title: "Known Bugs"
sidebar_position: 6 sidebar_position: 1
--- ---
import { SquiggleEditor } from "../../src/components/SquiggleEditor"; import { SquiggleEditor } from "../../src/components/SquiggleEditor";

View File

@ -1,9 +1,8 @@
--- ---
sidebar_position: 4 title: Future Features
sidebar_position: 3
--- ---
# Future Features
Squiggle is still very early. The main first goal is to become stable. This means having a clean codebase, having decent test coverage, and having a syntax we are reasonably confident in. Later on, there are many other features that will be interesting to explore. Squiggle is still very early. The main first goal is to become stable. This means having a clean codebase, having decent test coverage, and having a syntax we are reasonably confident in. Later on, there are many other features that will be interesting to explore.
## Programming Language Features ## Programming Language Features

View File

@ -1,5 +1,5 @@
--- ---
sidebar_position: 6 sidebar_position: 2
title: Gallery title: Gallery
--- ---

View File

@ -1,5 +1,5 @@
--- ---
sidebar_position: 5 sidebar_position: 4
title: Three Formats of Distributions title: Three Formats of Distributions
author: Ozzie Gooen author: Ozzie Gooen
date: 02-19-2022 date: 02-19-2022

View File

@ -1,6 +1,6 @@
--- ---
title: "Distribution Creation" title: "Distribution Creation"
sidebar_position: 8 sidebar_position: 2
--- ---
import TOCInline from "@theme/TOCInline"; import TOCInline from "@theme/TOCInline";

View File

@ -1,6 +1,6 @@
--- ---
title: "Functions Reference" title: "Functions Reference"
sidebar_position: 7 sidebar_position: 3
--- ---
import { SquiggleEditor } from "../../src/components/SquiggleEditor"; import { SquiggleEditor } from "../../src/components/SquiggleEditor";

View File

@ -1,5 +1,5 @@
--- ---
sidebar_position: 2 sidebar_position: 1
title: Language Basics title: Language Basics
--- ---
@ -49,5 +49,6 @@ ozzie_estimate(1) * nuno_estimate(1, 1)`}
## See more ## See more
- [Functions reference](https://squiggle-language.com/docs/Features/Functions) - [Distribution creation](./Distributions)
- [Gallery](https://squiggle-language.com/docs/Discussions/Gallery) - [Functions reference](./Functions)
- [Gallery](../Discussions/Gallery)

View File

@ -1,5 +1,5 @@
--- ---
sidebar_position: 3 sidebar_position: 4
title: Node Packages title: Node Packages
--- ---

View File

@ -7,10 +7,10 @@ Squiggle is an _estimation language_, and a syntax for _calculating and expressi
## Get started ## Get started
- [Gallery](https://www.squiggle-language.com/docs/Discussions/Gallery) - [Gallery](./Discussions/Gallery)
- [Squiggle playground](https://squiggle-language.com/playground) - [Squiggle playground](/playground)
- [Language basics](https://www.squiggle-language.com/docs/Features/Language) - [Language basics](./Features/Language)
- [Squiggle functions source of truth](https://www.squiggle-language.com/docs/Features/Functions) - [Squiggle functions source of truth](./docs/Features/Functions)
- [Known bugs](https://www.squiggle-language.com/docs/Discussions/Bugs) - [Known bugs](./Discussions/Bugs)
- [Original lesswrong sequence](https://www.lesswrong.com/s/rDe8QE5NvXcZYzgZ3) - [Original lesswrong sequence](https://www.lesswrong.com/s/rDe8QE5NvXcZYzgZ3)
- [Author your squiggle models as Observable notebooks](https://observablehq.com/@hazelfire/squiggle) - [Author your squiggle models as Observable notebooks](https://observablehq.com/@hazelfire/squiggle)

View File

@ -9,8 +9,8 @@ const path = require("path");
/** @type {import('@docusaurus/types').Config} */ /** @type {import('@docusaurus/types').Config} */
const config = { const config = {
title: "Squiggle (alpha)", title: "Squiggle",
tagline: "Estimation language for forecasters", tagline: "An estimation language for forecasters",
url: "https://squiggle-language.com", url: "https://squiggle-language.com",
baseUrl: "/", baseUrl: "/",
onBrokenLinks: "throw", onBrokenLinks: "throw",

View File

@ -12,6 +12,9 @@ function HomepageHeader() {
<header className={clsx("hero hero--primary", styles.heroBanner)}> <header className={clsx("hero hero--primary", styles.heroBanner)}>
<div className="container"> <div className="container">
<h1 className="hero__title">{siteConfig.title}</h1> <h1 className="hero__title">{siteConfig.title}</h1>
<p className="hero__subtitle">
<i>Early access</i>
</p>
<p className="hero__subtitle">{siteConfig.tagline}</p> <p className="hero__subtitle">{siteConfig.tagline}</p>
<div className={styles.buttons}></div> <div className={styles.buttons}></div>
</div> </div>

View File

@ -1,7 +0,0 @@
---
title: Markdown page example
---
# Markdown page example
You don't need React to write simple standalone pages.