microdot
microdot copied to clipboard
Add viewcode
Hi, this PR adds links to the source code in the documentation. I think this is convenient for jumping to the source code implementation.
What do you think?
The sphinx template does not format the code correctly, did you notice? I think for this to look okay the font used in the source code pages should be reduced, so that the full 80 char width of the code is displayed without the need for scrolling. horizontally
The sphinx template does not format the code correctly, did you notice?
Hi @miguelgrinberg, I had not tried building it yet I saw it now that I built it ;()
I think for this to look okay the font used in the source code pages should be reduced, so that the full 80 char width of the code is displayed without the need for scrolling. horizontally
I tried adjusting a css class to reduce the font but no luck yet. I pushed my latest attempt in case you have any suggestions for what parent css class I should actually be changing the font on or if I am approaching the problem the wrong way all together.
I'll do some more research in the meantime and testing.
This is what the source code currently looks like which is not what we want:
