Any tools to render side-by-side annotations from source code? #181
-
I'm wondering if there's an open source tool to generate a website like https://nn.labml.ai/ (side-by-side, line-by-line rendering of code and annotations) from source code directly. If so, what are some of the formats that the python comments should follow? Is there a service like readthedocs that can host websites like this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
If you want to try out https://lit.labml.ai, you'll find that its format is easy to follow. As an example, take a look at https://github.com/vpj/rl_samples/blob/master/ppo.py which renders https://lit.labml.ai/github/vpj/rl_samples/blob/master/ppo.py. |
Beta Was this translation helpful? Give feedback.
If you want to try out https://lit.labml.ai, you'll find that its format is easy to follow.
As an example, take a look at https://github.com/vpj/rl_samples/blob/master/ppo.py which renders https://lit.labml.ai/github/vpj/rl_samples/blob/master/ppo.py.