-
When there is no code in a section, it is unnecessary to restrict the sections space so much. So why not just show the code bar and tab selector for sections with code? This seems to be done here: https://docs.coinapi.io/ Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I solved this with jquery (would have been better to solve this on the static HTML generation but it was the only way I could make it work). Basically all siblings of a code block are now restricted by the right margin but all others are not. You can see the result here: https://spenhouet.com/beautiful-docs/en |
Beta Was this translation helpful? Give feedback.
I solved this with jquery (would have been better to solve this on the static HTML generation but it was the only way I could make it work). Basically all siblings of a code block are now restricted by the right margin but all others are not.
You can see the result here: https://spenhouet.com/beautiful-docs/en
The code is available here: https://github.com/Spenhouet/beautiful-docs