Skip to content

Commit

Permalink
Merge pull request #43 from qiboteam/docs
Browse files Browse the repository at this point in the history
Documentation draft
  • Loading branch information
MatteoRobbiati authored Nov 1, 2024
2 parents b3c6bdc + 71e289a commit 3cd0a66
Show file tree
Hide file tree
Showing 15 changed files with 1,317 additions and 372 deletions.
23 changes: 23 additions & 0 deletions doc/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = source
BUILDDIR = build

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

view: html
$(BROWSER) build/html/index.html
7 changes: 7 additions & 0 deletions doc/source/_static/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.wy-side-nav-search {
background-color: #6400FF;
}

.wy-nav-top {
background-color: #6400FF;
}
121 changes: 121 additions & 0 deletions doc/source/_static/qibo_logo_dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
80 changes: 80 additions & 0 deletions doc/source/_static/qibo_logo_light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions doc/source/api-reference/qiboml.backends.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
qiboml.backends package
=======================

.. automodule:: qiboml.backends
:members:
:undoc-members:
:show-inheritance:

Submodules
----------

qiboml.backends.jax module
--------------------------

.. automodule:: qiboml.backends.jax
:members:
:undoc-members:
:show-inheritance:

qiboml.backends.pytorch module
------------------------------

.. automodule:: qiboml.backends.pytorch
:members:
:undoc-members:
:show-inheritance:

qiboml.backends.tensorflow module
---------------------------------

.. automodule:: qiboml.backends.tensorflow
:members:
:undoc-members:
:show-inheritance:
15 changes: 15 additions & 0 deletions doc/source/api-reference/qiboml.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
qiboml package
==============

.. automodule:: qiboml
:members:
:undoc-members:
:show-inheritance:

Subpackages
-----------

.. toctree::
:maxdepth: 4

qiboml.backends
Loading

0 comments on commit 3cd0a66

Please sign in to comment.