diff options
author | Houston (Bot) | 2024-01-26 14:20:18 -0800 |
---|---|---|
committer | GitHub | 2024-01-26 23:20:18 +0100 |
commit | 0ecdf8c4a899df46a6599ed10844a7b3eacee5d1 (patch) | |
tree | 3e8ab9defad6e385a7e2f91cf1e418f7a4fe3568 | |
parent | 21b36201aa1e01c8395d0f24b2fa4e32b90550bb (diff) | |
download | IT.starlight-0ecdf8c4a899df46a6599ed10844a7b3eacee5d1.tar.gz IT.starlight-0ecdf8c4a899df46a6599ed10844a7b3eacee5d1.tar.bz2 IT.starlight-0ecdf8c4a899df46a6599ed10844a7b3eacee5d1.zip |
[ci] release (#1413)@astrojs/starlight@0.17.0
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
-rw-r--r-- | .changeset/odd-rocks-clean.md | 5 | ||||
-rw-r--r-- | .changeset/shy-stingrays-turn.md | 5 | ||||
-rw-r--r-- | examples/basics/package.json | 2 | ||||
-rw-r--r-- | examples/tailwind/package.json | 2 | ||||
-rw-r--r-- | packages/starlight/CHANGELOG.md | 74 | ||||
-rw-r--r-- | packages/starlight/package.json | 2 | ||||
-rw-r--r-- | pnpm-lock.yaml | 4 |
7 files changed, 46 insertions, 48 deletions
diff --git a/.changeset/odd-rocks-clean.md b/.changeset/odd-rocks-clean.md deleted file mode 100644 index 6c4bffd6..00000000 --- a/.changeset/odd-rocks-clean.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@astrojs/starlight": minor ---- - -Adds new `disable404Route` config option to disable injection of Astro’s default 404 route diff --git a/.changeset/shy-stingrays-turn.md b/.changeset/shy-stingrays-turn.md deleted file mode 100644 index d53066d5..00000000 --- a/.changeset/shy-stingrays-turn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@astrojs/starlight": minor ---- - -Adds a new [`<Code>` component](https://starlight.astro.build/guides/components/#code) to render dynamic code strings with Expressive Code diff --git a/examples/basics/package.json b/examples/basics/package.json index 44e341c1..5fe0f34e 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/starlight": "^0.16.0", + "@astrojs/starlight": "^0.17.0", "astro": "^4.2.1", "sharp": "^0.32.5" } diff --git a/examples/tailwind/package.json b/examples/tailwind/package.json index 3968d505..7506a659 100644 --- a/examples/tailwind/package.json +++ b/examples/tailwind/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/starlight": "^0.16.0", + "@astrojs/starlight": "^0.17.0", "@astrojs/starlight-tailwind": "^2.0.1", "@astrojs/tailwind": "^5.1.0", "astro": "^4.2.1", diff --git a/packages/starlight/CHANGELOG.md b/packages/starlight/CHANGELOG.md index 9d89d48e..74588f24 100644 --- a/packages/starlight/CHANGELOG.md +++ b/packages/starlight/CHANGELOG.md @@ -1,5 +1,13 @@ # @astrojs/starlight +## 0.17.0 + +### Minor Changes + +- [#1389](https://github.com/withastro/starlight/pull/1389) [`21b3620`](https://github.com/withastro/starlight/commit/21b36201aa1e01c8395d0f24b2fa4e32b90550bb) Thanks [@connor-baer](https://github.com/connor-baer)! - Adds new `disable404Route` config option to disable injection of Astro’s default 404 route + +- [#1395](https://github.com/withastro/starlight/pull/1395) [`ce05dfb`](https://github.com/withastro/starlight/commit/ce05dfb4b1e9b90fad057d5d4328e4445f986b3b) Thanks [@hippotastic](https://github.com/hippotastic)! - Adds a new [`<Code>` component](https://starlight.astro.build/guides/components/#code) to render dynamic code strings with Expressive Code + ## 0.16.0 ### Minor Changes @@ -20,7 +28,7 @@ ```css .sl-link-card a { - line-height: 1.6; + line-height: 1.6; } ``` @@ -40,14 +48,14 @@ ```css /* Restore vertical spacing to match Starlight v0.15 and below. */ .sl-markdown-content - :not(a, strong, em, del, span, input, code) - + :not(a, strong, em, del, span, input, code, :where(.not-content *)) { - margin-top: 1.5rem; + :not(a, strong, em, del, span, input, code) + + :not(a, strong, em, del, span, input, code, :where(.not-content *)) { + margin-top: 1.5rem; } .sl-markdown-content - :not(h1, h2, h3, h4, h5, h6) - + :is(h1, h2, h3, h4, h5, h6):not(:where(.not-content *)) { - margin-top: 2.5rem; + :not(h1, h2, h3, h4, h5, h6) + + :is(h1, h2, h3, h4, h5, h6):not(:where(.not-content *)) { + margin-top: 2.5rem; } ``` @@ -59,9 +67,9 @@ starlight-toc a[aria-current='true'], starlight-toc a[aria-current='true']:hover, starlight-toc a[aria-current='true']:focus { - font-weight: 600; - color: var(--sl-color-text-invert); - background-color: var(--sl-color-text-accent); + font-weight: 600; + color: var(--sl-color-text-invert); + background-color: var(--sl-color-text-accent); } ``` @@ -134,14 +142,14 @@ import starlight from '@astrojs/starlight'; export default defineConfig({ - // Disable link prefetching: - prefetch: false, - - integrations: [ - starlight({ - // ... - }), - ], + // Disable link prefetching: + prefetch: false, + + integrations: [ + starlight({ + // ... + }), + ], }); ``` @@ -198,12 +206,12 @@ import starlight from '@astrojs/starlight'; export default defineConfig({ - trailingSlash: 'always', - integrations: [ - starlight({ - // ... - }), - ], + trailingSlash: 'always', + integrations: [ + starlight({ + // ... + }), + ], }); ``` @@ -551,16 +559,16 @@ ```css :root { - --sl-hue-accent: 234; - --sl-color-accent-low: hsl(var(--sl-hue-accent), 54%, 20%); - --sl-color-accent: hsl(var(--sl-hue-accent), 100%, 60%); - --sl-color-accent-high: hsl(var(--sl-hue-accent), 100%, 87%); + --sl-hue-accent: 234; + --sl-color-accent-low: hsl(var(--sl-hue-accent), 54%, 20%); + --sl-color-accent: hsl(var(--sl-hue-accent), 100%, 60%); + --sl-color-accent-high: hsl(var(--sl-hue-accent), 100%, 87%); } :root[data-theme='light'] { - --sl-color-accent-high: hsl(var(--sl-hue-accent), 80%, 30%); - --sl-color-accent: hsl(var(--sl-hue-accent), 90%, 60%); - --sl-color-accent-low: hsl(var(--sl-hue-accent), 88%, 90%); + --sl-color-accent-high: hsl(var(--sl-hue-accent), 80%, 30%); + --sl-color-accent: hsl(var(--sl-hue-accent), 90%, 60%); + --sl-color-accent-low: hsl(var(--sl-hue-accent), 88%, 90%); } ``` @@ -939,8 +947,8 @@ ```json { - "search.label": "Suchen", - "search.shortcutLabel": "(Drücke / zum Suchen)" + "search.label": "Suchen", + "search.shortcutLabel": "(Drücke / zum Suchen)" } ``` diff --git a/packages/starlight/package.json b/packages/starlight/package.json index 938d3d3d..61b141f0 100644 --- a/packages/starlight/package.json +++ b/packages/starlight/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/starlight", - "version": "0.16.0", + "version": "0.17.0", "description": "Build beautiful, high-performance documentation websites with Astro", "scripts": { "test": "vitest", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 929795ff..4ac66641 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -85,7 +85,7 @@ importers: examples/basics: dependencies: '@astrojs/starlight': - specifier: ^0.16.0 + specifier: ^0.17.0 version: link:../../packages/starlight astro: specifier: ^4.2.1 @@ -97,7 +97,7 @@ importers: examples/tailwind: dependencies: '@astrojs/starlight': - specifier: ^0.16.0 + specifier: ^0.17.0 version: link:../../packages/starlight '@astrojs/starlight-tailwind': specifier: ^2.0.1 |