Skip to content

Commit c2b4a27

Browse files
authored
feat: add new openapi specs with redocusaurus (#1035)
https://docs.apify.com/api/v2-new
1 parent 78e23b1 commit c2b4a27

File tree

5 files changed

+987
-33
lines changed

5 files changed

+987
-33
lines changed

.lycheeignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ https:\/\/www\.youtube.*
33
\.(jpg|jpeg|png|gif|bmp|webp|svg)$
44
https:\/\/github\.com\/apify\/apify-docs\/edit\/[^ ]*a
55
https:\/\/docs\.apify\.com\/assets\/[^ ]*
6+
https:\/\/docs\.apify\.com\/api\/v2-new.*
67
file:\/\/\/.*
78
https://chrome\.google\.com/webstore/.*
89
https?:\/\/(www\.)?npmjs\.com\/.*

docusaurus.config.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,21 @@ module.exports = {
7676
},
7777
}),
7878
],
79+
[
80+
'redocusaurus',
81+
/** @type {import('redocusaurus').PresetEntry} */
82+
{
83+
specs: [
84+
{
85+
spec: 'node_modules/@apify/openapi/openapi.yaml',
86+
route: '/api/v2-new/',
87+
},
88+
],
89+
theme: {
90+
primaryColor: '#1f9ec8',
91+
},
92+
},
93+
],
7994
]),
8095
plugins: [
8196
[

0 commit comments

Comments
 (0)