Revert "docs: Update API reference documentation to incorporate scalar implementation"

This reverts commit 6017ab1fd821e37e6a40db5c39da4607cb1cd7de.
This commit is contained in:
Arista Indrajaya 2024-03-14 08:58:07 +07:00
parent 2498d0d9c0
commit 2c98ae92da
2 changed files with 2 additions and 15 deletions

View File

@ -113,19 +113,7 @@ const config = {
], ],
//To input custom Plugin //To input custom Plugin
// path.resolve(__dirname, 'plugins', 'changelog-plugin'), path.resolve(__dirname, 'plugins', 'changelog-plugin'),
[
'@scalar/docusaurus',
{
label: '',
route: '/api-reference',
configuration: {
spec: {
url: 'https://aindrajaya.github.io/openapi-spec/openapi.json',
},
},
}
],
], ],
// The classic preset will relay each option entry to the respective sub plugin/theme. // The classic preset will relay each option entry to the respective sub plugin/theme.
@ -172,7 +160,7 @@ const config = {
specs: [ specs: [
{ {
spec: "openapi/jan.yaml", // can be local file, url, or parsed json object spec: "openapi/jan.yaml", // can be local file, url, or parsed json object
route: "/api-reference-old/", // path where to render docs route: "/api-reference/", // path where to render docs
}, },
], ],
theme: { theme: {

View File

@ -26,7 +26,6 @@
"@heroicons/react": "^2.0.18", "@heroicons/react": "^2.0.18",
"@mdx-js/react": "^3.0.0", "@mdx-js/react": "^3.0.0",
"@redocly/cli": "^1.4.1", "@redocly/cli": "^1.4.1",
"@scalar/docusaurus": "^0.1.1",
"autoprefixer": "^10.4.16", "autoprefixer": "^10.4.16",
"axios": "^1.5.1", "axios": "^1.5.1",
"clsx": "^1.2.1", "clsx": "^1.2.1",