redoc icon indicating copy to clipboard operation
redoc copied to clipboard

Redocly-CLI Question?

Open Luo-Yuwen opened this issue 2 years ago • 3 comments

We have a issue about the product "Redocly-CLI". Is there any possibility that "Redocly-CLI" will conflict with Bootstrap 5.0? If so, could you tell us how to deal with it? Or which version is it compatible with? Thank you.

Luo-Yuwen avatar May 26 '22 15:05 Luo-Yuwen

Hi @Luo-Yuwen, What kind of issue do you have? How do you use Redocly CLI with Bootstrap? Could you provide steps to reproduce the issue?

tatomyr avatar May 26 '22 15:05 tatomyr

Hi @tatomyr

  1. After installing redoc-cli, execute the shell script to embed the Schema into the template.
  2. Convert the original webpage written in Bootstrap 5, use the node js tool program to convert, and put the html of redoc-cli into the Bootstrap 5 webpage. At present, it is found that the css of Bootstrap 5.0 contains the following settings: @media (prefers-reduced-motion: no-preference) { :root {scroll-behavior: smooth;} } As a result, when the memu-item of the sidebar is clicked, the main file cannot jump to the corresponding position. Have you ever encountered such a situation?

Luo-Yuwen avatar May 27 '22 04:05 Luo-Yuwen

@Luo-Yuwen I think you confused this project with redoc-cli here: https://github.com/Redocly/redoc

I moved the issue.

RomanHotsiy avatar May 27 '22 06:05 RomanHotsiy

I sorry about that, but we already do not support redoc-cli. Instead can use redocly-cli. You can find documentations about all commands here. For generate docs use

redocly build-docs <api> --output=custom.html

If you have any issues or feedback open it in @redoc/cli.

AlexVarchuk avatar May 18 '23 16:05 AlexVarchuk