mirror of
https://github.com/LukeHagar/redocly-cli.git
synced 2025-12-07 12:47:49 +00:00
chore: remove cdn option from build-docs (#1168)
This commit is contained in:
@@ -51,7 +51,6 @@ export async function getPageHTML(
|
||||
api: any,
|
||||
pathToApi: string,
|
||||
{
|
||||
cdn,
|
||||
title,
|
||||
disableGoogleFont,
|
||||
templateFileName,
|
||||
@@ -87,9 +86,7 @@ export async function getPageHTML(
|
||||
|
||||
</script>`,
|
||||
redocHead:
|
||||
(cdn
|
||||
? '<script src="https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js"></script>'
|
||||
: `<script src="https://cdn.redoc.ly/redoc/v${redocCurrentVersion}/bundles/redoc.standalone.js"></script>`) +
|
||||
`<script src="https://cdn.redoc.ly/redoc/v${redocCurrentVersion}/bundles/redoc.standalone.js"></script>` +
|
||||
css,
|
||||
title: title || api.info.title || 'ReDoc documentation',
|
||||
disableGoogleFont,
|
||||
|
||||
Reference in New Issue
Block a user