You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the problem to be solved
When we use the deprecated redoc-cli, we can see there was a --cdn flag:
➜ example-display-name git:(master) ✗ redoc-cli build --help
redoc-cli build <spec>
build definition into zero-dependency HTML-file [deprecated]
Positionals:
spec path or URL to your spec [required]
Options:
--help Show help [boolean]
...
--cdn Do not include ReDoc source code into html page, use
link to CDN instead [boolean] [default: false]
linouk23
changed the title
Is there an equivalent of redoc-cli's dns flag in Redocly CLI?
Is there an equivalent of redoc-cli's --cdn flag in Redocly CLI?
Dec 5, 2024
Describe the problem to be solved
When we use the deprecated
redoc-cli
, we can see there was a--cdn
flag:We are in the process of migrating from
redoc-cli
to Redocly CLI by following https://redocly.com/docs/cli/guides/migrate-from-redoc-cli.Before:
After:
However, I can't find
--cdn
as a supported option in https://redocly.com/docs/cli/commands/build-docs#options:Describe the solution you'd like
What flag should we use instead of
--cdn
in the redocly build-docs command?Thank you!
The text was updated successfully, but these errors were encountered: