@stainless-api/docs 0.1.0-beta.41 → 0.1.0-beta.42
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
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @stainless-api/docs
|
|
2
2
|
|
|
3
|
+
## 0.1.0-beta.42
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [3817ff5]
|
|
8
|
+
- Updated dependencies [391a7ce]
|
|
9
|
+
- Updated dependencies [945d4f3]
|
|
10
|
+
- @stainless-api/docs-ui@0.1.0-beta.35
|
|
11
|
+
|
|
3
12
|
## 0.1.0-beta.41
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stainless-api/docs",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.42",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -39,35 +39,35 @@
|
|
|
39
39
|
"dotenv": "17.2.3",
|
|
40
40
|
"get-port": "^7.1.0",
|
|
41
41
|
"highlight.js": "^11.11.1",
|
|
42
|
-
"lucide-react": "^0.
|
|
43
|
-
"marked": "^16.
|
|
42
|
+
"lucide-react": "^0.554.0",
|
|
43
|
+
"marked": "^16.4.2",
|
|
44
44
|
"node-html-parser": "^7.0.1",
|
|
45
45
|
"rehype-parse": "^9.0.1",
|
|
46
46
|
"rehype-remark": "^10.0.1",
|
|
47
47
|
"remark-gfm": "^4.0.1",
|
|
48
48
|
"remark-github-alerts": "^0.1.1",
|
|
49
49
|
"remark-stringify": "^11.0.0",
|
|
50
|
-
"shiki": "^3.
|
|
50
|
+
"shiki": "^3.15.0",
|
|
51
51
|
"unified": "^11.0.5",
|
|
52
52
|
"web-worker": "^1.5.0",
|
|
53
|
-
"yaml": "^2.8.
|
|
54
|
-
"@stainless-api/docs-ui": "0.1.0-beta.
|
|
53
|
+
"yaml": "^2.8.1",
|
|
54
|
+
"@stainless-api/docs-ui": "0.1.0-beta.35",
|
|
55
55
|
"@stainless-api/ui-primitives": "0.1.0-beta.25"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@astrojs/check": "^0.9.5",
|
|
59
|
-
"@markdoc/markdoc": "^0.5.
|
|
60
|
-
"@types/node": "24.
|
|
61
|
-
"@types/react": "^19.2.
|
|
59
|
+
"@markdoc/markdoc": "^0.5.4",
|
|
60
|
+
"@types/node": "24.10.1",
|
|
61
|
+
"@types/react": "^19.2.6",
|
|
62
62
|
"@types/react-dom": "^19.2.3",
|
|
63
63
|
"react": "^19.2.0",
|
|
64
64
|
"react-dom": "^19.2.0",
|
|
65
65
|
"tsx": "^4.20.3",
|
|
66
66
|
"typescript": "5.9.3",
|
|
67
|
-
"vite": "^6.
|
|
67
|
+
"vite": "^6.4.1",
|
|
68
68
|
"zod": "^4.1.12",
|
|
69
|
-
"@stainless/
|
|
70
|
-
"@stainless/
|
|
69
|
+
"@stainless/eslint-config": "0.1.0-beta.0",
|
|
70
|
+
"@stainless/sdk-json": "^0.1.0-beta.0"
|
|
71
71
|
},
|
|
72
72
|
"scripts": {
|
|
73
73
|
"vendor-deps": "pnpm tsx scripts/vendor_deps.ts",
|
package/plugin/cms/server.ts
CHANGED
|
@@ -356,7 +356,7 @@ export function toStarlightSidebar({
|
|
|
356
356
|
starlightEntries.push({
|
|
357
357
|
type: 'link',
|
|
358
358
|
href: route,
|
|
359
|
-
label: entry.label
|
|
359
|
+
label: `${entry.label} - ${currentStainlessPath} - ${resourceOrMethod.data.stainlessPath} - ${isCurrent === true ? 'true' : 'false'}`,
|
|
360
360
|
isCurrent,
|
|
361
361
|
badge: entry.badge,
|
|
362
362
|
attrs: {
|
|
@@ -31,19 +31,6 @@ import { Button } from '@stainless-api/ui-primitives';
|
|
|
31
31
|
/>
|
|
32
32
|
</site-search>
|
|
33
33
|
|
|
34
|
-
<style>
|
|
35
|
-
#chat-button {
|
|
36
|
-
background: var(--sl-color-bg-ui);
|
|
37
|
-
border: 1px solid var(--sl-color-hairline);
|
|
38
|
-
height: 2.25rem;
|
|
39
|
-
width: 2.25rem;
|
|
40
|
-
|
|
41
|
-
&:hover {
|
|
42
|
-
border: 1px solid rgb(64, 64, 64);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
</style>
|
|
46
|
-
|
|
47
34
|
<script is:inline>
|
|
48
35
|
function setupShortcut() {
|
|
49
36
|
const openBtn = document.querySelector('button[data-open-modal]');
|