@knitli/docs-components 1.1.1 → 1.1.2
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
CHANGED
|
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
+
#### 1.1.2
|
|
8
|
+
|
|
9
|
+
- fix: Move dependencies to dev dependencies to avoid npm install issues
|
|
10
|
+
|
|
7
11
|
#### 1.1.1
|
|
8
12
|
|
|
9
13
|
> 2026-02-19
|
package/package.json
CHANGED
|
@@ -2,16 +2,15 @@
|
|
|
2
2
|
"author": "Knitli Inc.",
|
|
3
3
|
"description": "Shared branded components for Knitli documentation sites",
|
|
4
4
|
"dependencies": {
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
},
|
|
8
|
+
"devDependencies": {
|
|
5
9
|
"astro": "catalog:astro-core",
|
|
6
10
|
"lightningcss": "catalog:optimization",
|
|
7
11
|
"svgo": "catalog:optimization",
|
|
8
12
|
"@knitli/shared-layouts": "workspace:*",
|
|
9
13
|
"@knitli/shared-file-types": "workspace:*",
|
|
10
|
-
"@knitli/tsconfig": "workspace:*"
|
|
11
|
-
|
|
12
|
-
},
|
|
13
|
-
"devDependencies": {
|
|
14
|
-
"astro": "catalog:astro-core",
|
|
15
14
|
"auto-changelog": "^2.4.0",
|
|
16
15
|
"typescript": "catalog:dev-common",
|
|
17
16
|
"bun": "catalog:dev-common",
|
|
@@ -66,5 +65,5 @@
|
|
|
66
65
|
},
|
|
67
66
|
"type": "module",
|
|
68
67
|
"types": "./dist/index.d.ts",
|
|
69
|
-
"version": "1.1.
|
|
68
|
+
"version": "1.1.2"
|
|
70
69
|
}
|
|
@@ -22,6 +22,8 @@ import config from 'virtual:starlight/user-config';
|
|
|
22
22
|
import { Icon } from '@astrojs/starlight/components';
|
|
23
23
|
|
|
24
24
|
const currentYear = new Date().getFullYear();
|
|
25
|
+
|
|
26
|
+
const shouldShowDocsHomeLink = Astro.url.pathname !== '/';
|
|
25
27
|
---
|
|
26
28
|
|
|
27
29
|
<footer class="sl-flex knitli-page-footer">
|
|
@@ -73,7 +75,7 @@ const currentYear = new Date().getFullYear();
|
|
|
73
75
|
<nav class="footer-nav" aria-label="Documentation">
|
|
74
76
|
<p class="nav-heading">Docs</p>
|
|
75
77
|
<ul>
|
|
76
|
-
<li><a href="https://docs.knitli.com">Developer Docs</a></li>
|
|
78
|
+
{shouldShowDocsHomeLink && <li><a href="https://docs.knitli.com">Developer Docs</a></li>}
|
|
77
79
|
<li><a href="https://docs.knitli.com/ReCoco">ReCoco</a></li>
|
|
78
80
|
<li>
|
|
79
81
|
<span class="link-disabled">
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
// DEPRECATED — This component has been removed.
|
|
3
|
-
// Use Footer.astro instead:
|
|
4
|
-
// starlight({ components: { Footer: '@knitli/docs-components/Footer.astro' } })
|
|
5
|
-
throw new Error(
|
|
6
|
-
'@knitli/docs-components: DocsFooter has been removed. Use Footer.astro instead.'
|
|
7
|
-
);
|
|
8
|
-
---
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
// DEPRECATED — This component has been removed.
|
|
3
|
-
// Use PageFrame.astro instead:
|
|
4
|
-
// starlight({ components: { PageFrame: '@knitli/docs-components/PageFrame.astro' } })
|
|
5
|
-
throw new Error(
|
|
6
|
-
'@knitli/docs-components: DocsHeader has been removed. Use PageFrame.astro instead.'
|
|
7
|
-
);
|
|
8
|
-
---
|