doc: Code snippets of some examples rendered incorrectly on readthedocs
Closed this issue · 5 comments
levaitamas commented
Code snippets of some examples are rendered incorrectly on the readthedocs:
- multiline blocks are rendered as multiple singe-line
- javascript code snippets are not rendered as code blocks
- some
code
blocks rendered correctly, some not - etc.
Examples affected:
rg0now commented
rtd does not seem to understand '''console...'''
notation either
levaitamas commented
- javascript code snippets are not rendered as code blocks
Update: this could happen because of using js
instead of javascript
in codeblocks.
rtd does not seem to understand
'''console...'''
notation either
Strange, it works in the INSTALL:
- source with
console
: https://raw.githubusercontent.com/l7mp/stunner/main/docs/INSTALL.md - rtd version looks good: https://docs.l7mp.io/en/latest/INSTALL/
levaitamas commented
Update: AUTHENTICATION is broken too: https://docs.l7mp.io/en/latest/AUTH/
Common in these pages is that the wrong codeblocks do not start at the beginning of the line (e.g., there is an indentation because of a numbered list). @VidarHUN could you double-check that?
levaitamas commented
Awesome! Thanks!