I am trying to render a notebook for the documentation.
I am currently using nbsphinx.
Folder structure is :
- Temp
- source
- conf.py
- index.rst
- Data.ipynb
Content of conf.py is:
project = 'temp'
copyright = '2022, Temp'
author = 'Temp'
templates_path = ['_templates']
extensions = [
'nbsphinx',
'sphinx.ext.mathjax',
]
exclude_patterns = ['_build', '**.ipynb_checkpoints']
html_theme = 'sphinx_rtd_theme'
html_static_path = ['_static']
Content inside index file is:
Welcome to temp documentation!
=================================
.. toctree::
:maxdepth: 2
:caption: Contents:
Data
Indices and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
But getting the error :
toctree contains reference to nonexisting document 'Data'
Could you please help me with that?