@apify/docs-theme 1.0.14 → 1.0.16

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.14",
3
+ "version": "1.0.16",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "files": [
package/src/config.js CHANGED
@@ -148,11 +148,15 @@ const themeConfig = ({
148
148
  items: [
149
149
  {
150
150
  label: 'Academy',
151
- to: 'academy',
151
+ href: `${absoluteUrl}/academy`,
152
+ target: '_self',
153
+ rel: 'dofollow',
152
154
  },
153
155
  {
154
156
  label: 'Platform',
155
- to: 'platform',
157
+ href: `${absoluteUrl}/platform`,
158
+ target: '_self',
159
+ rel: 'dofollow',
156
160
  },
157
161
  ],
158
162
  },
@@ -161,19 +165,19 @@ const themeConfig = ({
161
165
  items: [
162
166
  {
163
167
  label: 'Reference',
164
- href: `/api/v2/`,
168
+ href: `${absoluteUrl}/api/v2/`,
165
169
  target: '_self',
166
170
  rel: 'dofollow',
167
171
  },
168
172
  {
169
173
  label: 'Client for JavaScript',
170
- href: `/client-js/`, // we need a trailing slash here, we'd get redirected there anyway
174
+ href: `${absoluteUrl}/client-js/`, // we need a trailing slash here, we'd get redirected there anyway
171
175
  target: '_self',
172
176
  rel: 'dofollow',
173
177
  },
174
178
  {
175
179
  label: 'Client for Python',
176
- href: `/client-python/`, // we need a trailing slash here, we'd get redirected there anyway
180
+ href: `${absoluteUrl}/client-python/`, // we need a trailing slash here, we'd get redirected there anyway
177
181
  target: '_self',
178
182
  rel: 'dofollow',
179
183
  },
@@ -184,13 +188,13 @@ const themeConfig = ({
184
188
  items: [
185
189
  {
186
190
  label: 'SDK for JavaScript',
187
- href: `/sdk-js/`, // we need a trailing slash here, we'd get redirected there anyway
191
+ href: `${absoluteUrl}/sdk-js/`, // we need a trailing slash here, we'd get redirected there anyway
188
192
  target: '_self',
189
193
  rel: 'dofollow',
190
194
  },
191
195
  {
192
196
  label: 'SDK for Python',
193
- href: `/sdk-python/`, // we need a trailing slash here, we'd get redirected there anyway
197
+ href: `${absoluteUrl}/sdk-python/`, // we need a trailing slash here, we'd get redirected there anyway
194
198
  target: '_self',
195
199
  rel: 'dofollow',
196
200
  },
@@ -201,7 +205,7 @@ const themeConfig = ({
201
205
  items: [
202
206
  {
203
207
  label: 'CLI',
204
- href: `/cli/`, // we need a trailing slash here, we'd get redirected there anyway
208
+ href: `${absoluteUrl}/cli/`, // we need a trailing slash here, we'd get redirected there anyway
205
209
  position: 'left',
206
210
  target: '_self',
207
211
  rel: 'dofollow',
@@ -185,7 +185,7 @@ html.plugin-pages .main-wrapper {
185
185
  }
186
186
 
187
187
  aside > div > a {
188
- padding-left: 16px;
188
+ padding-left: 0px;
189
189
  }
190
190
 
191
191
  aside > div > a > b {
@@ -324,7 +324,7 @@ nav.navbar .dropdown__menu {
324
324
  display: none;
325
325
  width: 11rem;
326
326
  height: 3rem;
327
- padding: 10px 0;
327
+ /* padding: 10px 0px; */
328
328
  }
329
329
 
330
330
  .navbar-sidebar .navbar__logo {
@@ -346,6 +346,8 @@ nav.navbar .dropdown__menu {
346
346
 
347
347
  .main-wrapper a[class*='sidebarLogo'] img {
348
348
  height: 3rem;
349
+ width: 11rem;
350
+ padding: 10px 0px;
349
351
  }
350
352
 
351
353
  html.plugin-pages h2 {