Skip to content

Commit d986d40

Browse files
committed
fix: remove old API docs versions (/v2-old and /v2-redoc)
1 parent 7370617 commit d986d40

File tree

6 files changed

+2900
-1230
lines changed

6 files changed

+2900
-1230
lines changed

docusaurus.config.js

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -139,22 +139,6 @@ module.exports = {
139139
},
140140
}),
141141
],
142-
[
143-
'redocusaurus',
144-
/** @type {import('redocusaurus').PresetEntry} */
145-
{
146-
config: join(__dirname, '.redocly.yaml'),
147-
specs: [
148-
{
149-
spec: './apify-api/openapi/openapi.yaml',
150-
route: '/api/v2-redoc/',
151-
},
152-
],
153-
theme: {
154-
primaryColor: '#1f9ec8',
155-
},
156-
},
157-
],
158142
]),
159143
plugins: [
160144
[

nginx.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,11 +405,11 @@ server {
405405
rewrite ^/api/v2/users-account-and-usage-limits$ /api/v2/users permanent;
406406

407407
# api/v2-new to api/v2
408-
409408
rewrite ^/api/v2-new(.*)$ /api/v2$1 permanent;
409+
rewrite ^/api/v2-old(.*)$ /api/v2$1 permanent;
410+
rewrite ^/api/v2-redoc(.*)$ /api/v2$1 permanent;
410411

411412
# Actor marketing playbook addition
412-
413413
rewrite ^/academy/get-most-of-actors$ /academy/actor-marketing-playbook permanent;
414414

415415
}

0 commit comments

Comments
 (0)