Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redoc-cli bundle to include local src/theme.ts changes #1738

Closed
rishagit opened this issue Aug 31, 2021 · 2 comments
Closed

redoc-cli bundle to include local src/theme.ts changes #1738

rishagit opened this issue Aug 31, 2021 · 2 comments

Comments

@rishagit
Copy link

rishagit commented Aug 31, 2021

Describe the problem to be solved
redoc-cli bundle [spec] to include changes done in the src/theme.ts file. I have made some changes in the src/theme.ts file which modifies the look and feel of my landing page. But i need to deploy it in github pages and am preparing a static html for it. But the cli bundle command is using the default formatting that comes out of the box.

Describe the solution you'd like
there should be a command which can be used to use redoc cli bundle feature but not to use default formatting

Describe alternatives you've considered
so far using the default formatting

Additional context
if you would like to see my updated theme.ts file - https://github.com/rishagit/cid-oas/blob/main/src/theme.ts

@adamaltman
Copy link
Member

Related Idea: support using a .redocly.yaml file for redoc cli bundle.

@RomanHotsiy
Copy link
Member

@rishagit you forked redoc and new theme doesn't work in the cli. That's because cli uses redoc from npm, not the forked version you have.

You can provide theme in options, see example here: #754 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants