@apify/docs-theme 1.0.47 → 1.0.49
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/package.json
CHANGED
package/src/config.js
CHANGED
|
@@ -170,13 +170,13 @@ const themeConfig = ({
|
|
|
170
170
|
},
|
|
171
171
|
{
|
|
172
172
|
label: 'Client for JavaScript',
|
|
173
|
-
href: `${absoluteUrl}/client
|
|
173
|
+
href: `${absoluteUrl}/api/client/js/`, // we need a trailing slash here, we'd get redirected there anyway
|
|
174
174
|
target: '_self',
|
|
175
175
|
rel: 'dofollow',
|
|
176
176
|
},
|
|
177
177
|
{
|
|
178
178
|
label: 'Client for Python',
|
|
179
|
-
href: `${absoluteUrl}/client
|
|
179
|
+
href: `${absoluteUrl}/api/client/python/`, // we need a trailing slash here, we'd get redirected there anyway
|
|
180
180
|
target: '_self',
|
|
181
181
|
rel: 'dofollow',
|
|
182
182
|
},
|
|
@@ -187,13 +187,13 @@ const themeConfig = ({
|
|
|
187
187
|
items: [
|
|
188
188
|
{
|
|
189
189
|
label: 'SDK for JavaScript',
|
|
190
|
-
href: `${absoluteUrl}/sdk
|
|
190
|
+
href: `${absoluteUrl}/sdk/js/`, // we need a trailing slash here, we'd get redirected there anyway
|
|
191
191
|
target: '_self',
|
|
192
192
|
rel: 'dofollow',
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
|
-
label: 'SDK for Python',
|
|
196
|
-
href: `${absoluteUrl}/sdk
|
|
195
|
+
label: 'SDK for Python (beta)',
|
|
196
|
+
href: `${absoluteUrl}/sdk/python/`, // we need a trailing slash here, we'd get redirected there anyway
|
|
197
197
|
target: '_self',
|
|
198
198
|
rel: 'dofollow',
|
|
199
199
|
},
|
|
@@ -233,7 +233,7 @@ const themeConfig = ({
|
|
|
233
233
|
height: '60px',
|
|
234
234
|
},
|
|
235
235
|
},
|
|
236
|
-
//
|
|
236
|
+
// we will reuse the SDK algolia app
|
|
237
237
|
algolia: {
|
|
238
238
|
appId: 'N8EOCSBQGH',
|
|
239
239
|
apiKey: 'b43e67a96ed18c7f63f5fd965906a96d', // search only (public) API key
|
|
@@ -54,7 +54,7 @@ function ApiNavbarItem(ctx) {
|
|
|
54
54
|
exact
|
|
55
55
|
{...ctx}
|
|
56
56
|
label={ctx.label}
|
|
57
|
-
to={`
|
|
57
|
+
to={`reference/${ctx.to}`}
|
|
58
58
|
/>
|
|
59
59
|
);
|
|
60
60
|
}
|
|
@@ -71,7 +71,7 @@ function ApiNavbarItem(ctx) {
|
|
|
71
71
|
exact
|
|
72
72
|
{...ctx}
|
|
73
73
|
label={ctx.label}
|
|
74
|
-
to={`docs/${version.version === 'current' ? 'next' : version.version}/
|
|
74
|
+
to={`docs/${version.version === 'current' ? 'next' : version.version}/reference/${ctx.to}`}
|
|
75
75
|
/>
|
|
76
76
|
);
|
|
77
77
|
}
|
|
@@ -81,7 +81,7 @@ function ApiNavbarItem(ctx) {
|
|
|
81
81
|
exact
|
|
82
82
|
{...ctx}
|
|
83
83
|
label={ctx.label}
|
|
84
|
-
to={`
|
|
84
|
+
to={`reference/${version.version === 'current' ? 'next' : version.version}/${ctx.to}`}
|
|
85
85
|
/>
|
|
86
86
|
);
|
|
87
87
|
}
|