diff --git a/doc/source/code-examples/index.rst b/doc/source/code-examples/index.rst new file mode 100644 index 0000000..4e035ff --- /dev/null +++ b/doc/source/code-examples/index.rst @@ -0,0 +1,15 @@ +.. _examples: + +Code examples +============= + +In this section we present code examples from basic to advanced features +implemented in Qibotn. + +Introduction to backends +^^^^^^^^^^^^^^^^^^^^^^^^ + +.. toctree:: + :maxdepth: 1 + + tutorials/qmatchatea_intro/qmatchatea_intro.ipynb diff --git a/doc/source/code-examples/tutorials/qmatchatea_intro/qmatchatea_intro.ipynb b/doc/source/code-examples/tutorials/qmatchatea_intro/qmatchatea_intro.ipynb new file mode 120000 index 0000000..987158a --- /dev/null +++ b/doc/source/code-examples/tutorials/qmatchatea_intro/qmatchatea_intro.ipynb @@ -0,0 +1 @@ +../../../../../examples/qmatchatea_intro/qmatchatea_introduction.ipynb \ No newline at end of file diff --git a/doc/source/conf.py b/doc/source/conf.py index fe7b3d5..4f08eda 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -45,6 +45,7 @@ extensions = [ "sphinx.ext.intersphinx", "sphinx_copybutton", "sphinxcontrib.katex", + "nbsphinx", ] templates_path = ["_templates"] diff --git a/doc/source/index.rst b/doc/source/index.rst index 6dc2092..96a354d 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -73,6 +73,7 @@ Contents :caption: Introduction getting-started/index + code-examples/index .. toctree:: :maxdepth: 1