.. raw:: html
    :file: _static/snake-equation.svg

#####################
DisCoPy documentation
#####################

.. include:: ../README.md
    :parser: myst_parser.sphinx_
    :start-line: 8

Architecture
------------

Software dependencies between modules go top-to-bottom, left-to-right and forgetful functors between categories go the other way.

.. raw:: html
    :file: api/architecture.html

.. toctree::
    :caption: Reference API
    :hidden:

    api/syntax
    api/semantics
    api/quantum
    api/grammar
    api/drawing

.. toctree::
    :caption: Notebooks
    :hidden:

    notebooks/diagrams
    notebooks/examples
    notebooks/qnlp
    notebooks/diag-diff
    notebooks/21-05-03-tallcat
    notebooks/21-05-05-tallcat
    notebooks/higher-order-discocat


.. toctree::
    :caption: Extra
    :hidden:

    extra/talks
    extra/blogs
    extra/papers
    extra/bibliography

Indices and tables
------------------

* :ref:`genindex`
* :ref:`search`
