summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHouston (Bot)2024-01-29 15:03:57 -0800
committerGitHub2024-01-30 00:03:57 +0100
commitf60f1d05f66e86486ef0af3656c2d04569c03afa (patch)
tree4fbd8c45577499487f15e05ee4a1b5e07d97688b
parentdea532f2bdd007259b5b51c217ef7e9fa99886db (diff)
downloadIT.starlight-f60f1d05f66e86486ef0af3656c2d04569c03afa.tar.gz
IT.starlight-f60f1d05f66e86486ef0af3656c2d04569c03afa.tar.bz2
IT.starlight-f60f1d05f66e86486ef0af3656c2d04569c03afa.zip
[ci] release (#1432)@astrojs/starlight@0.17.1
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
-rw-r--r--.changeset/calm-roses-joke.md7
-rw-r--r--.changeset/cuddly-lions-warn.md5
-rw-r--r--.changeset/silver-dots-guess.md5
-rw-r--r--examples/basics/package.json2
-rw-r--r--examples/tailwind/package.json2
-rw-r--r--packages/starlight/CHANGELOG.md78
-rw-r--r--packages/starlight/package.json2
-rw-r--r--pnpm-lock.yaml4
8 files changed, 50 insertions, 55 deletions
diff --git a/.changeset/calm-roses-joke.md b/.changeset/calm-roses-joke.md
deleted file mode 100644
index b2f7f10a..00000000
--- a/.changeset/calm-roses-joke.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astrojs/starlight': patch
----
-
-Adds Starlight-specific types to `defineEcConfig` function and exports `StarlightExpressiveCodeOptions`.
-
-This provides Starlight types and IntelliSense support for your Expressive Code configuration options inside an `ec.config.mjs` file. See the [Expressive Code documentation](https://expressive-code.com/key-features/code-component/#using-an-ecconfigmjs-file) for more information.
diff --git a/.changeset/cuddly-lions-warn.md b/.changeset/cuddly-lions-warn.md
deleted file mode 100644
index f4165bcf..00000000
--- a/.changeset/cuddly-lions-warn.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"@astrojs/starlight": patch
----
-
-Fix rare `font-family` issue if users have a font installed with a name of `""`
diff --git a/.changeset/silver-dots-guess.md b/.changeset/silver-dots-guess.md
deleted file mode 100644
index f5ea3506..00000000
--- a/.changeset/silver-dots-guess.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@astrojs/starlight': patch
----
-
-Correctly format Pagefind search result links when `trailingSlash: 'never'` is used
diff --git a/examples/basics/package.json b/examples/basics/package.json
index 5fe0f34e..d9b23a96 100644
--- a/examples/basics/package.json
+++ b/examples/basics/package.json
@@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/starlight": "^0.17.0",
+ "@astrojs/starlight": "^0.17.1",
"astro": "^4.2.1",
"sharp": "^0.32.5"
}
diff --git a/examples/tailwind/package.json b/examples/tailwind/package.json
index 7506a659..b382ae7d 100644
--- a/examples/tailwind/package.json
+++ b/examples/tailwind/package.json
@@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/starlight": "^0.17.0",
+ "@astrojs/starlight": "^0.17.1",
"@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 7ef89117..4545f868 100644
--- a/packages/starlight/CHANGELOG.md
+++ b/packages/starlight/CHANGELOG.md
@@ -1,5 +1,17 @@
# @astrojs/starlight
+## 0.17.1
+
+### Patch Changes
+
+- [#1437](https://github.com/withastro/starlight/pull/1437) [`655aed4`](https://github.com/withastro/starlight/commit/655aed4840cae59e9abd64b4b585e60f1cfab209) Thanks [@hippotastic](https://github.com/hippotastic)! - Adds Starlight-specific types to `defineEcConfig` function and exports `StarlightExpressiveCodeOptions`.
+
+ This provides Starlight types and IntelliSense support for your Expressive Code configuration options inside an `ec.config.mjs` file. See the [Expressive Code documentation](https://expressive-code.com/key-features/code-component/#using-an-ecconfigmjs-file) for more information.
+
+- [#1420](https://github.com/withastro/starlight/pull/1420) [`275f87f`](https://github.com/withastro/starlight/commit/275f87fd7fc676b9ab323354078c06894e0832c7) Thanks [@abdelhalimjean](https://github.com/abdelhalimjean)! - Fix rare `font-family` issue if users have a font installed with a name of `""`
+
+- [#1365](https://github.com/withastro/starlight/pull/1365) [`a0af7cc`](https://github.com/withastro/starlight/commit/a0af7cc696da987a76edab96cdd2329779e87724) Thanks [@kevinzunigacuellar](https://github.com/kevinzunigacuellar)! - Correctly format Pagefind search result links when `trailingSlash: 'never'` is used
+
## 0.17.0
### Minor Changes
@@ -28,7 +40,7 @@
```css
.sl-link-card a {
- line-height: 1.6;
+ line-height: 1.6;
}
```
@@ -48,14 +60,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;
}
```
@@ -67,9 +79,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);
}
```
@@ -142,14 +154,14 @@
import starlight from '@astrojs/starlight';
export default defineConfig({
- // Disable link prefetching:
- prefetch: false,
-
- integrations: [
- starlight({
- // ...
- }),
- ],
+ // Disable link prefetching:
+ prefetch: false,
+
+ integrations: [
+ starlight({
+ // ...
+ }),
+ ],
});
```
@@ -206,12 +218,12 @@
import starlight from '@astrojs/starlight';
export default defineConfig({
- trailingSlash: 'always',
- integrations: [
- starlight({
- // ...
- }),
- ],
+ trailingSlash: 'always',
+ integrations: [
+ starlight({
+ // ...
+ }),
+ ],
});
```
@@ -559,16 +571,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%);
}
```
@@ -947,8 +959,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 61b141f0..207835df 100644
--- a/packages/starlight/package.json
+++ b/packages/starlight/package.json
@@ -1,6 +1,6 @@
{
"name": "@astrojs/starlight",
- "version": "0.17.0",
+ "version": "0.17.1",
"description": "Build beautiful, high-performance documentation websites with Astro",
"scripts": {
"test": "vitest",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 4ac66641..bf69b45f 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -85,7 +85,7 @@ importers:
examples/basics:
dependencies:
'@astrojs/starlight':
- specifier: ^0.17.0
+ specifier: ^0.17.1
version: link:../../packages/starlight
astro:
specifier: ^4.2.1
@@ -97,7 +97,7 @@ importers:
examples/tailwind:
dependencies:
'@astrojs/starlight':
- specifier: ^0.17.0
+ specifier: ^0.17.1
version: link:../../packages/starlight
'@astrojs/starlight-tailwind':
specifier: ^2.0.1