Embed HTML subproject into existing Sphinx documentation #12207
Replies: 1 comment
|
If you want the notebooks to share the main site's sidebar, theme and search, I'd bring their sources into the main Sphinx build instead of embedding the generated book HTML. MyST-NB can read For example, install .. toctree::
:maxdepth: 2
notebooks/exampleFor an initial integration using saved notebook outputs, you can set If keeping two independent builds is a requirement, publish the whole book output under a subdirectory and link to its index instead. That preserves its assets, but it remains a separate site with its own navigation/search. Including just the generated |
Uh oh!
There was an error while loading. Please reload this page.
I am working on a project which has its own sphinx documentation (based on the pydata-sphinx-theme) and part of this project supports Jupyter Book to show off a set of notebooks.
I would like to show the jupyter book as part of my Sphinx documentation.
There are different ways I explored on how to do this, but non seem to work well.
What I end up is my HTML docs and a subfolder with separate HTML docs from the book.
Is it possible to add the index page of the book subproject as a page of my main sphinx documentation?
All reactions