Skip to content

Commit 7d7ce82

Browse files
authored
1.7.0 (#1287)
* 1.7.0 * update getting-started images
1 parent 0982521 commit 7d7ce82

17 files changed

+8
-8
lines changed

docs/config.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The following options are supported.
2121

2222
## root
2323

24-
The path to the source root; defaults to `src`. (Prior to <a href="https://github.com/observablehq/framework/pull/1253" class="observablehq-version-badge" data-version="prerelease" title="Added in #1253"></a>, the default was `docs`.)
24+
The path to the source root; defaults to `src`. (Prior to <a href="https://github.com/observablehq/framework/releases/tag/v1.7.0" class="observablehq-version-badge" data-version="^1.7.0" title="Added in 1.7.0"></a>, the default was `docs`.)
2525

2626
## output
2727

@@ -273,14 +273,14 @@ export default {
273273
};
274274
```
275275

276-
## typographer <a href="https://github.com/observablehq/framework/pull/1263" class="observablehq-version-badge" data-version="prerelease" title="Added in #1263"></a>
276+
## typographer <a href="https://github.com/observablehq/framework/releases/tag/v1.7.0" class="observablehq-version-badge" data-version="^1.7.0" title="Added in 1.7.0"></a>
277277

278278
If true, enables simple typographic replacements in Markdown, such as replacing `(c)` with `©` and converting straight quotes to curly quotes. See also the [quotes](#quotes) option, which should be set for non-English languages if the **typographer** option is enabled. For the full list of replacements, see [markdown-it](https://github.com/markdown-it/markdown-it/blob/master/lib/rules_core/replacements.mjs). Defaults to false.
279279

280-
## quotes <a href="https://github.com/observablehq/framework/pull/1263" class="observablehq-version-badge" data-version="prerelease" title="Added in #1263"></a>
280+
## quotes <a href="https://github.com/observablehq/framework/releases/tag/v1.7.0" class="observablehq-version-badge" data-version="^1.7.0" title="Added in 1.7.0"></a>
281281

282282
The set of replacements for straight double and single quotes used when the [**typographer** option](#typographer) is enabled. Defaults to `["“", "”", "‘", "’"]` which is suitable for English. For example, you can use `["«", "»", "„", "“"]` for Russian, `["„", "“", "‚", "‘"]` for German, and `["«\xa0", "\xa0»", "‹\xa0", "\xa0›"]` for French.
283283

284-
## linkify <a href="https://github.com/observablehq/framework/pull/1263" class="observablehq-version-badge" data-version="prerelease" title="Added in #1263"></a>
284+
## linkify <a href="https://github.com/observablehq/framework/releases/tag/v1.7.0" class="observablehq-version-badge" data-version="^1.7.0" title="Added in 1.7.0"></a>
285285

286286
If true (the default), automatically convert URL-like text to links in Markdown.

docs/getting-started.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ Or with Yarn:
152152

153153
You should see something like this:
154154

155-
<pre data-copy="none"><b class="green">Observable Framework</b> v1.6.0
155+
<pre data-copy="none"><b class="green">Observable Framework</b> v1.7.0
156156
↳ <u><a href="http://127.0.0.1:3000/" style="color: inherit;">http://127.0.0.1:3000/</a></u></pre>
157157

158158
<div class="note">
@@ -274,7 +274,7 @@ To personalize this code snippet to your current location, edit the <code>longit
274274
Your data loader should look like this:
275275

276276
<figure class="wide">
277-
<img loading="lazy" src="./getting-started/hello-loader.webp" class="crop">
277+
<img loading="lazy" src="./getting-started/hello-loader.webp" style="aspect-ratio: 3248 / 2112;">
278278
<figcaption>A JavaScript data loader for fetching a local forecast from weather.gov.</figcaption>
279279
</figure>
280280

-7.21 KB
Binary file not shown.

docs/getting-started/hello-data.webp

-7 KB
Binary file not shown.
446 Bytes
Binary file not shown.
-1.16 KB
Binary file not shown.
-2.93 KB
Binary file not shown.

docs/getting-started/hello-grid.webp

-2.61 KB
Binary file not shown.
85.1 KB
Binary file not shown.
-5.09 KB
Binary file not shown.

docs/getting-started/hello-plot.webp

-4.94 KB
Binary file not shown.
7.24 KB
Binary file not shown.
7.7 KB
Binary file not shown.

docs/getting-started/hi-mom-dark.webp

-7.92 KB
Binary file not shown.

docs/getting-started/hi-mom.webp

-9.68 KB
Binary file not shown.

docs/project-structure.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ And a typical project is structured like this:
3434

3535
#### `src`
3636

37-
This is the “source root” — where your source files live. It doesn’t have to be named `src`; you can change it using the **root** [config option](./config). (Prior to <a href="https://github.com/observablehq/framework/pull/1253" class="observablehq-version-badge" data-version="prerelease" title="Added in #1253"></a>, the default was <code>docs</code>.) Pages go here. Each page is a Markdown file. Framework uses [file-based routing](#routing), which means that the name of the file controls where the page is served. You can create as many pages as you like. Use folders to organize your pages.
37+
This is the “source root” — where your source files live. It doesn’t have to be named `src`; you can change it using the **root** [config option](./config). (Prior to <a href="https://github.com/observablehq/framework/releases/tag/v1.7.0" class="observablehq-version-badge" data-version="^1.7.0" title="Added in 1.7.0"></a>, the default was <code>docs</code>.) Pages go here. Each page is a Markdown file. Framework uses [file-based routing](#routing), which means that the name of the file controls where the page is served. You can create as many pages as you like. Use folders to organize your pages.
3838

3939
#### `src/.observablehq/cache`
4040

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@observablehq/framework",
33
"license": "ISC",
4-
"version": "1.6.0",
4+
"version": "1.7.0",
55
"type": "module",
66
"publishConfig": {
77
"access": "public"

0 commit comments

Comments
 (0)