starlight-seo 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +6 -5
- package/README.ru.md +6 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project are documented here. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
4
4
|
|
|
5
|
+
## [0.2.1] - 2026-10-05
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- The package is published to npm as `starlight-seo`; the install commands use the registry instead of a git tag.
|
|
10
|
+
|
|
5
11
|
## [0.2.0] - 2026-10-05
|
|
6
12
|
|
|
7
13
|
### Added
|
|
@@ -33,5 +39,6 @@ All notable changes to this project are documented here. The format follows [Kee
|
|
|
33
39
|
- Build audit with 14 rules that fails the build on errors.
|
|
34
40
|
- Per-language values for every text option.
|
|
35
41
|
|
|
42
|
+
[0.2.1]: https://github.com/kaktaknet/starlight-seo/releases/tag/v0.2.1
|
|
36
43
|
[0.2.0]: https://github.com/kaktaknet/starlight-seo/releases/tag/v0.2.0
|
|
37
44
|
[0.1.0]: https://github.com/kaktaknet/starlight-seo/releases/tag/v0.1.0
|
package/README.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
**Search-ready titles, connected JSON-LD, complete Open Graph tags and a build-time SEO audit for [Starlight](https://starlight.astro.build/) documentation sites.**
|
|
6
6
|
|
|
7
7
|
[](https://github.com/kaktaknet/starlight-seo/actions/workflows/ci.yml)
|
|
8
|
+
[](https://www.npmjs.com/package/starlight-seo)
|
|
8
9
|
[](https://github.com/kaktaknet/starlight-seo/tags)
|
|
9
10
|
[](./LICENSE)
|
|
10
11
|
[](https://starlight.astro.build/)
|
|
@@ -43,7 +44,7 @@ The sidebar still says **Git**. The `<h1>` still says **Git**.
|
|
|
43
44
|
```text
|
|
44
45
|
package starlight-seo (ESM, plain JavaScript + hand-written .d.ts, zero dependencies)
|
|
45
46
|
versions built for Starlight 0.42.x + Astro 7.x (tested 0.42.5 / 7.3.5); floor Starlight 0.32, Astro 5, Node 20
|
|
46
|
-
install pnpm add
|
|
47
|
+
install pnpm add starlight-seo -> plugins: [starlightSeo()] -> docsSchema({ extend: seoSchema() })
|
|
47
48
|
entry index.js default export starlightSeo(options) -> Starlight plugin
|
|
48
49
|
schema schema.js seoSchema() -> pass to docsSchema({ extend })
|
|
49
50
|
middleware middleware.js runs after Starlight, rewrites route.head, pushes JSON-LD
|
|
@@ -80,22 +81,22 @@ Working instructions for agents live in [AGENTS.md](./AGENTS.md).
|
|
|
80
81
|
|
|
81
82
|
## Install
|
|
82
83
|
|
|
83
|
-
The package is
|
|
84
|
+
The package is published on [npm](https://www.npmjs.com/package/starlight-seo).
|
|
84
85
|
|
|
85
86
|
### By hand
|
|
86
87
|
|
|
87
88
|
**1. Add the package.**
|
|
88
89
|
|
|
89
90
|
```sh
|
|
90
|
-
pnpm add
|
|
91
|
+
pnpm add starlight-seo
|
|
91
92
|
```
|
|
92
93
|
|
|
93
94
|
<details>
|
|
94
95
|
<summary>npm and yarn</summary>
|
|
95
96
|
|
|
96
97
|
```sh
|
|
97
|
-
npm install
|
|
98
|
-
yarn add starlight-seo
|
|
98
|
+
npm install starlight-seo
|
|
99
|
+
yarn add starlight-seo
|
|
99
100
|
```
|
|
100
101
|
|
|
101
102
|
</details>
|
package/README.ru.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
**Заголовки под поиск, связанный JSON-LD, полный набор Open Graph и проверка SEO при сборке для сайтов документации на [Starlight](https://starlight.astro.build/).**
|
|
6
6
|
|
|
7
7
|
[](https://github.com/kaktaknet/starlight-seo/actions/workflows/ci.yml)
|
|
8
|
+
[](https://www.npmjs.com/package/starlight-seo)
|
|
8
9
|
[](https://github.com/kaktaknet/starlight-seo/tags)
|
|
9
10
|
[](./LICENSE)
|
|
10
11
|
[](https://starlight.astro.build/)
|
|
@@ -43,7 +44,7 @@
|
|
|
43
44
|
```text
|
|
44
45
|
package starlight-seo (ESM, plain JavaScript + hand-written .d.ts, zero dependencies)
|
|
45
46
|
versions built for Starlight 0.42.x + Astro 7.x (tested 0.42.5 / 7.3.5); floor Starlight 0.32, Astro 5, Node 20
|
|
46
|
-
install pnpm add
|
|
47
|
+
install pnpm add starlight-seo -> plugins: [starlightSeo()] -> docsSchema({ extend: seoSchema() })
|
|
47
48
|
entry index.js default export starlightSeo(options) -> Starlight plugin
|
|
48
49
|
schema schema.js seoSchema() -> pass to docsSchema({ extend })
|
|
49
50
|
middleware middleware.js runs after Starlight, rewrites route.head, pushes JSON-LD
|
|
@@ -80,22 +81,22 @@ tests pnpm test (node --test, unit) · pnpm test:fixture (builds tests/fi
|
|
|
80
81
|
|
|
81
82
|
## Установка
|
|
82
83
|
|
|
83
|
-
Пакет
|
|
84
|
+
Пакет опубликован в [npm](https://www.npmjs.com/package/starlight-seo).
|
|
84
85
|
|
|
85
86
|
### Вручную
|
|
86
87
|
|
|
87
88
|
**1. Добавьте пакет.**
|
|
88
89
|
|
|
89
90
|
```sh
|
|
90
|
-
pnpm add
|
|
91
|
+
pnpm add starlight-seo
|
|
91
92
|
```
|
|
92
93
|
|
|
93
94
|
<details>
|
|
94
95
|
<summary>npm и yarn</summary>
|
|
95
96
|
|
|
96
97
|
```sh
|
|
97
|
-
npm install
|
|
98
|
-
yarn add starlight-seo
|
|
98
|
+
npm install starlight-seo
|
|
99
|
+
yarn add starlight-seo
|
|
99
100
|
```
|
|
100
101
|
|
|
101
102
|
</details>
|
package/package.json
CHANGED