redoc
redoc copied to clipboard
Redocly-CLI Question?
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.
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?
Hi @tatomyr
- After installing redoc-cli, execute the shell script to embed the Schema into the template.
- 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 I think you confused this project with redoc-cli here: https://github.com/Redocly/redoc
I moved the issue.
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.