@apify/docs-theme 1.0.254 → 1.0.255

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apify/docs-theme",
3
- "version": "1.0.254",
3
+ "version": "1.0.255",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "files": [
package/src/config.js CHANGED
@@ -20,118 +20,119 @@ const themeConfig = {
20
20
  },
21
21
  items: [
22
22
  {
23
- label: 'Get started',
24
- href: `${absoluteUrl}/get-started`,
25
- activeBasePath: 'get-started',
23
+ label: 'Academy',
24
+ href: `${absoluteUrl}/academy`,
25
+ activeBasePath: 'academy',
26
26
  position: 'left',
27
27
  target: '_self',
28
28
  rel: 'dofollow',
29
29
  },
30
30
  {
31
- label: 'Actors',
32
- href: `${absoluteUrl}/actors`,
33
- activeBasePath: 'actors',
31
+ label: 'Platform',
32
+ href: `${absoluteUrl}/platform`,
33
+ className: 'navbar__active',
34
+ activeBasePath: 'platform',
34
35
  position: 'left',
35
36
  target: '_self',
36
37
  rel: 'dofollow',
37
38
  },
38
39
  {
39
- label: 'Storage',
40
- href: `${absoluteUrl}/storage`,
41
- activeBasePath: 'storage',
42
- position: 'left',
40
+ label: 'API',
41
+ type: 'dropdown',
42
+ to: `${absoluteUrl}/api`,
43
43
  target: '_self',
44
44
  rel: 'dofollow',
45
- },
46
- {
47
- label: 'Proxy',
48
- href: `${absoluteUrl}/proxy`,
49
- activeBasePath: 'proxy',
45
+ activeBasePath: 'api',
50
46
  position: 'left',
51
- target: '_self',
52
- rel: 'dofollow',
47
+ items: [
48
+ {
49
+ label: 'Reference',
50
+ href: `${absoluteUrl}/api/v2`,
51
+ target: '_self',
52
+ rel: 'dofollow',
53
+ },
54
+ {
55
+ label: 'Client for JavaScript',
56
+ href: `${absoluteUrl}/api/client/js/docs`,
57
+ target: '_self',
58
+ rel: 'dofollow',
59
+ },
60
+ {
61
+ label: 'Client for Python',
62
+ href: `${absoluteUrl}/api/client/python/docs`,
63
+ target: '_self',
64
+ rel: 'dofollow',
65
+ },
66
+ ],
53
67
  },
54
68
  {
55
- label: 'Account',
56
- href: `${absoluteUrl}/account`,
57
- activeBasePath: 'account',
69
+ label: 'SDK',
70
+ type: 'dropdown',
71
+ to: `${absoluteUrl}/sdk`,
72
+ activeBasePath: 'sdk',
58
73
  position: 'left',
59
74
  target: '_self',
60
75
  rel: 'dofollow',
76
+ items: [
77
+ {
78
+ label: 'SDK for JavaScript',
79
+ href: `${absoluteUrl}/sdk/js/docs/overview`,
80
+ target: '_self',
81
+ rel: 'dofollow',
82
+ },
83
+ {
84
+ html: 'SDK for Python',
85
+ href: `${absoluteUrl}/sdk/python/docs/overview`,
86
+ target: '_self',
87
+ rel: 'dofollow',
88
+ },
89
+ ],
61
90
  },
62
91
  {
63
- label: 'Integrations',
64
- href: `${absoluteUrl}/integrations`,
65
- activeBasePath: 'integrations',
92
+ label: 'CLI',
93
+ href: `${absoluteUrl}/cli/docs`,
66
94
  position: 'left',
95
+ activeBasePath: 'cli',
67
96
  target: '_self',
68
97
  rel: 'dofollow',
69
98
  },
70
99
  {
71
- label: 'Limits',
72
- href: `${absoluteUrl}/limits`,
73
- activeBasePath: 'limits',
74
- position: 'left',
100
+ label: 'Open source',
101
+ type: 'dropdown',
102
+ to: `${absoluteUrl}/open-source`,
103
+ activeBasePath: 'open-source',
75
104
  target: '_self',
76
- rel: 'dofollow',
77
- },
78
- {
79
- label: 'Security',
80
- href: `${absoluteUrl}/security`,
81
- activeBasePath: 'security',
82
105
  position: 'left',
83
- target: '_self',
84
- rel: 'dofollow',
85
- },
86
- {
87
- label: 'Academy',
88
- href: `${absoluteUrl}/academy`,
89
- activeBasePath: 'academy',
90
- position: 'right',
91
- target: '_self',
92
- rel: 'dofollow',
93
- },
94
- {
95
- label: 'APIs, SDKs & CLI',
96
- type: 'dropdown',
97
- activeBaseRegex: '^/(api|sdk|cli)/',
98
- position: 'right',
106
+ className: 'navbar__item',
99
107
  items: [
100
108
  {
101
- label: 'API Reference',
102
- href: `${absoluteUrl}/api/v2`,
103
- target: '_self',
109
+ label: 'Crawlee',
110
+ href: 'https://crawlee.dev',
104
111
  rel: 'dofollow',
105
112
  },
106
113
  {
107
- label: 'SDK for JavaScript',
108
- href: `${absoluteUrl}/sdk/js/docs/overview`,
109
- target: '_self',
110
- rel: 'dofollow',
114
+ label: 'Fingerprint Suite',
115
+ href: 'https://github.com/apify/fingerprint-suite',
111
116
  },
112
117
  {
113
- label: 'SDK for Python',
114
- href: `${absoluteUrl}/sdk/python/docs/overview`,
115
- target: '_self',
116
- rel: 'dofollow',
118
+ label: 'impit',
119
+ href: 'https://github.com/apify/impit',
117
120
  },
118
121
  {
119
- label: 'Client for JavaScript',
120
- href: `${absoluteUrl}/api/client/js/docs`,
121
- target: '_self',
122
- rel: 'dofollow',
122
+ label: 'MCP CLI',
123
+ href: 'https://github.com/apify/mcpc',
123
124
  },
124
125
  {
125
- label: 'Client for Python',
126
- href: `${absoluteUrl}/api/client/python/docs`,
127
- target: '_self',
128
- rel: 'dofollow',
126
+ label: 'Actor whitepaper',
127
+ href: 'https://whitepaper.actor',
129
128
  },
130
129
  {
131
- label: 'CLI',
132
- href: `${absoluteUrl}/cli/docs`,
133
- target: '_self',
134
- rel: 'dofollow',
130
+ label: 'proxy-chain',
131
+ href: 'https://github.com/apify/proxy-chain',
132
+ },
133
+ {
134
+ label: 'Apify on GitHub',
135
+ href: 'https://github.com/apify',
135
136
  },
136
137
  ],
137
138
  },
@@ -162,14 +163,8 @@ const themeConfig = {
162
163
  rel: 'dofollow',
163
164
  },
164
165
  {
165
- label: 'Get started',
166
- href: `${absoluteUrl}/get-started`,
167
- target: '_self',
168
- rel: 'dofollow',
169
- },
170
- {
171
- label: 'Actors',
172
- href: `${absoluteUrl}/actors`,
166
+ label: 'Platform',
167
+ href: `${absoluteUrl}/platform`,
173
168
  target: '_self',
174
169
  rel: 'dofollow',
175
170
  },
@@ -215,40 +210,6 @@ const themeConfig = {
215
210
  },
216
211
  ],
217
212
  },
218
- {
219
- title: 'Open source',
220
- items: [
221
- {
222
- label: 'Crawlee',
223
- href: 'https://crawlee.dev',
224
- rel: 'dofollow',
225
- },
226
- {
227
- label: 'Fingerprint Suite',
228
- href: 'https://github.com/apify/fingerprint-suite',
229
- },
230
- {
231
- label: 'impit',
232
- href: 'https://github.com/apify/impit',
233
- },
234
- {
235
- label: 'MCP CLI',
236
- href: 'https://github.com/apify/mcpc',
237
- },
238
- {
239
- label: 'Actor whitepaper',
240
- href: 'https://whitepaper.actor',
241
- },
242
- {
243
- label: 'proxy-chain',
244
- href: 'https://github.com/apify/proxy-chain',
245
- },
246
- {
247
- label: 'Apify on GitHub',
248
- href: 'https://github.com/apify',
249
- },
250
- ],
251
- },
252
213
  {
253
214
  title: 'Other',
254
215
  items: [
@@ -259,6 +220,13 @@ const themeConfig = {
259
220
  target: '_self',
260
221
  rel: 'dofollow',
261
222
  },
223
+ {
224
+ label: 'Open source',
225
+ href: `${absoluteUrl}/open-source`,
226
+ position: 'left',
227
+ target: '_self',
228
+ rel: 'dofollow',
229
+ },
262
230
  {
263
231
  label: 'llms.txt',
264
232
  href: `${absoluteUrl}/llms.txt`,
@@ -51,14 +51,7 @@ export default function DocItemContent({ children }) {
51
51
  '/api/v2/logs',
52
52
  '/api/v2/users',
53
53
  '/api/client',
54
- '/get-started',
55
- '/actors',
56
- '/storage',
57
- '/proxy',
58
- '/account',
59
- '/integrations',
60
- '/limits',
61
- '/security',
54
+ '/platform',
62
55
  '/sdk',
63
56
  '/cli',
64
57
  '/academy',
@@ -17,17 +17,7 @@ import './styles.css';
17
17
  */
18
18
  function matchesCurrentInstance(href, baseUrl) {
19
19
  if (baseUrl === '/') {
20
- return (
21
- href.startsWith('/academy') ||
22
- href.startsWith('/get-started') ||
23
- href.startsWith('/actors') ||
24
- href.startsWith('/storage') ||
25
- href.startsWith('/proxy') ||
26
- href.startsWith('/account') ||
27
- href.startsWith('/integrations') ||
28
- href.startsWith('/limits') ||
29
- href.startsWith('/security')
30
- );
20
+ return href.startsWith('/academy') || href.startsWith('/platform');
31
21
  }
32
22
 
33
23
  return href.startsWith(baseUrl);