@hagicode/hagilight-core 0.13.1-dev.139.1.8b051cb → 0.13.1-dev.140.1.ea7c84f
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/Footer.astro +2 -0
- package/README.md +1 -0
- package/dist/related-sites.json +28 -0
- package/package.json +1 -1
package/Footer.astro
CHANGED
|
@@ -19,6 +19,8 @@ const buildItems = buildInfoItems(propBuildInfo ?? buildInfoFromLocals(Astro.loc
|
|
|
19
19
|
const sitemapOverride = footerLinks.overrides?.sitemap;
|
|
20
20
|
const resolvedLinks = resolveSiteLinks(locale, {
|
|
21
21
|
...footerLinks,
|
|
22
|
+
// Without a declared siteUrl, the page's own Astro site excludes its catalog entry.
|
|
23
|
+
siteUrl: footerLinks.siteUrl ?? Astro.site?.href,
|
|
22
24
|
overrides: {
|
|
23
25
|
...footerLinks.overrides,
|
|
24
26
|
sitemap: {
|
package/README.md
CHANGED
|
@@ -270,6 +270,7 @@ resolveSiteLinks('en-US', { siteId: 'docs' });
|
|
|
270
270
|
### Options
|
|
271
271
|
|
|
272
272
|
- `links.siteId` (Starlight, Docusaurus, and the `Footer`/`Header` components) enables footer tags. The Starlight and Docusaurus promotion banners read this same value.
|
|
273
|
+
- `links.siteUrl` names the hosting site's URL for same-origin classification and for excluding its own Ecosystem Sites entry. When it is not set, the core `Footer` uses the page's Astro `site` (`Astro.site`) instead, so a site built for `https://fullstack.hagicode.com` does not list the HagiCode Fullstack entry on its own footer. An explicit `siteUrl` wins, and with neither value the footer behaves as before. The fallback never sets `siteId`, so no campaign tags are added.
|
|
273
274
|
- `PromotoBanner` accepts an optional `siteId` prop, written to `data-site-id`. Without it the banner keeps the class-based `rel` and leaves destinations unchanged.
|
|
274
275
|
- Each slide is classified and tagged on its own when it renders, so a rotation from a third-party campaign to a first-party one gets the first-party `rel` and tags.
|
|
275
276
|
|
package/dist/related-sites.json
CHANGED
|
@@ -318,5 +318,33 @@
|
|
|
318
318
|
},
|
|
319
319
|
"url": "https://omniroute.hagicode.com/",
|
|
320
320
|
"supportsLocalePath": true
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"id": "fullstack-tutorial",
|
|
324
|
+
"name": {
|
|
325
|
+
"zh-CN": "HagiCode Fullstack",
|
|
326
|
+
"zh-Hant": "HagiCode Fullstack",
|
|
327
|
+
"en-US": "HagiCode Fullstack",
|
|
328
|
+
"ja-JP": "HagiCode Fullstack",
|
|
329
|
+
"ko-KR": "HagiCode Fullstack",
|
|
330
|
+
"de-DE": "HagiCode Fullstack",
|
|
331
|
+
"fr-FR": "HagiCode Fullstack",
|
|
332
|
+
"es-ES": "HagiCode Fullstack",
|
|
333
|
+
"pt-BR": "HagiCode Fullstack",
|
|
334
|
+
"ru-RU": "HagiCode Fullstack"
|
|
335
|
+
},
|
|
336
|
+
"description": {
|
|
337
|
+
"zh-CN": "面向想成为 AI 时代全栈工程师的人的分步教程。",
|
|
338
|
+
"zh-Hant": "給想成為 AI 時代全端工程師的人的分步教學。",
|
|
339
|
+
"en-US": "A step-by-step tutorial for becoming a fullstack engineer in the AI era.",
|
|
340
|
+
"ja-JP": "AI 時代のフルスタックエンジニアを目指す人のためのステップ・バイ・ステップの教材です。",
|
|
341
|
+
"ko-KR": "AI 시대에 풀스택 엔지니어가 되고자 하는 사람을 위한 단계별 튜토리얼입니다.",
|
|
342
|
+
"de-DE": "Eine Schritt-für-Schritt-Anleitung, um im KI-Zeitalter Fullstack-Entwickler zu werden.",
|
|
343
|
+
"fr-FR": "Un tutoriel pas à pas pour devenir ingénieur full stack à l'ère de l'IA.",
|
|
344
|
+
"es-ES": "Un tutorial paso a paso para convertirse en ingeniero full stack en la era de la IA.",
|
|
345
|
+
"pt-BR": "Um tutorial passo a passo para se tornar engenheiro full stack na era da IA.",
|
|
346
|
+
"ru-RU": "Пошаговое руководство по становлению full-stack инженером в эпоху ИИ."
|
|
347
|
+
},
|
|
348
|
+
"url": "https://fullstack.hagicode.com/"
|
|
321
349
|
}
|
|
322
350
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hagicode/hagilight-core",
|
|
3
|
-
"version": "0.13.1-dev.
|
|
3
|
+
"version": "0.13.1-dev.140.1.ea7c84f",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Shared TypeScript utilities, components, and assets for HagiCode Astro and Starlight sites",
|
|
6
6
|
"repository": {
|