Closed ghost closed 3 years ago
If you want your index.html
to be generated from a notebook, just use index.ipynb
instead of index.rst
.
See also https://nbsphinx.readthedocs.io/en/0.8.0/usage.html#Sphinx-Setup:
Alternatively, you can delete the file
index.rst
and replace it with your own notebook calledindex.ipynb
which will serve as main page. In this case you can create the main toctree inindex.ipynb
.
Thank you. Now I remember reading that paragraph last week! Overlooked it.
Thank you for the awesome extension. I love rendering Plotly plots on my notebook pages... so much so that I want to use an
.ipynb
file as my homepage. Is this possible?I tried the following:
conf.py
settingmaster_doc=contents
+ renaming 'index.rst' tocontents.rst
home.ipynb
the first item in the toc tree instead of 'index'/ 'self'.The result is the the first item in the toc tree is home.ipynb, but the home and logo buttons still navigate to index.py