is there a way to do side-by-side literalinclude in sphinx python documentation?

Viewed 17

I am creating sphinx documentation for a python library I have written.

I want to show the text of two files side by side. Currently, I have them shown as a single image:

enter image description here

but if a user wants to copy and paste this information they can't.

So I am now converting these to inline references using .. literalinclude:: directive

which looks like this:

enter image description here

is there any way I can somehow put in another file side by side with the current one?

0 Answers
Related