vendredi 4 juin 2021

Embedding an automatically generated Sphinx for python code into a html page

I have a website that I would like to display my Sphinx documentation on. So far i have built it so that I have a _build directory with "doctrees" and "html" as subfolders, the html subfolder containing the generated Sphinx documentation. I would like to embed this on my website so it looks as following:

https://damask3.mpie.de/documentation/the-python-library/

This implementation was done by embedding it into an iframe. Is there a different way to do this, or is there an efficient way to create an iframe link for myself from the generated documentation files?

Aucun commentaire:

Enregistrer un commentaire