@stainless-api/docs 0.1.0-beta.76 → 0.1.0-beta.78

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,20 @@
1
1
  # @stainless-api/docs
2
2
 
3
+ ## 0.1.0-beta.78
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [1b04416]
8
+ - Updated dependencies [905cdac]
9
+ - @stainless-api/docs-ui@0.1.0-beta.58
10
+ - @stainless-api/docs-search@0.1.0-beta.11
11
+
12
+ ## 0.1.0-beta.77
13
+
14
+ ### Patch Changes
15
+
16
+ - 5c8fef8: fixes pagefind path
17
+
3
18
  ## 0.1.0-beta.76
4
19
 
5
20
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stainless-api/docs",
3
- "version": "0.1.0-beta.76",
3
+ "version": "0.1.0-beta.78",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -40,7 +40,7 @@
40
40
  "@astrojs/markdown-remark": "^6.3.10",
41
41
  "@astrojs/react": "^4.4.2",
42
42
  "@stainless-api/sdk": "0.1.0-alpha.19",
43
- "astro-expressive-code": "^0.41.5",
43
+ "astro-expressive-code": "^0.41.6",
44
44
  "cheerio": "^1.1.2",
45
45
  "clsx": "^2.1.1",
46
46
  "dotenv": "17.2.3",
@@ -53,19 +53,19 @@
53
53
  "remark-gfm": "^4.0.1",
54
54
  "remark-github-alerts": "^0.1.1",
55
55
  "remark-stringify": "^11.0.0",
56
- "shiki": "^3.20.0",
56
+ "shiki": "^3.21.0",
57
57
  "unified": "^11.0.5",
58
58
  "vite-plugin-prebundle-workers": "^0.2.0",
59
59
  "web-worker": "^1.5.0",
60
60
  "yaml": "^2.8.2",
61
- "@stainless-api/docs-search": "0.1.0-beta.10",
62
- "@stainless-api/docs-ui": "0.1.0-beta.57",
61
+ "@stainless-api/docs-search": "0.1.0-beta.11",
62
+ "@stainless-api/docs-ui": "0.1.0-beta.58",
63
63
  "@stainless-api/ui-primitives": "0.1.0-beta.43"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@astrojs/check": "^0.9.6",
67
67
  "@markdoc/markdoc": "^0.5.4",
68
- "@types/node": "24.10.8",
68
+ "@types/node": "24.10.9",
69
69
  "@types/react": "19.2.7",
70
70
  "@types/react-dom": "^19.2.3",
71
71
  "react": "^19.2.3",
@@ -15,7 +15,6 @@ import {
15
15
  import { ComponentProvider } from '@stainless-api/docs-ui/contexts/component';
16
16
  import { SearchProvider } from '@stainless-api/docs-search/context';
17
17
  import type { SearchSettings } from '@stainless-api/docs-search/types';
18
- import path from 'path';
19
18
 
20
19
  let $$highlighter: HighlighterGeneric<BundledLanguage, BundledTheme> | null = null;
21
20
  async function getHighlighter() {
@@ -92,7 +91,7 @@ export function DocsSearch({ settings, currentPath }: { settings: SearchSettings
92
91
  // eslint-disable-next-line turbo/no-undeclared-env-vars
93
92
  const pageFind = import.meta.env.DEV
94
93
  ? undefined
95
- : path.posix.join(import.meta.env.BASE_URL, '/pagefind/pagefind.js');
94
+ : `${import.meta.env.BASE_URL}/pagefind/pagefind.js`.replace(/\/+/g, '/');
96
95
 
97
96
  function handleSelect(selectedPath: string) {
98
97
  const url = selectedPath.startsWith('/')
@@ -276,6 +276,7 @@ export function RenderLibraries({ metadata }: { metadata: SpecMetadata }) {
276
276
  <ComponentProvider components={componentOverrides}>
277
277
  {metadata.map(([language, data]) => (
278
278
  <SDKLanguageBlock
279
+ key={language}
279
280
  language={language}
280
281
  version={data.version || ''}
281
282
  install={data.install || ''}