Skip to content

Commit

Permalink
documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
liuanji committed Feb 13, 2024
1 parent 568d296 commit ea9cb21
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 68 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,6 @@ examples/data
examples/circuits
examples/1_pc_training/samples_test.png

tests/examples/
tests/examples/

docs/build/
57 changes: 0 additions & 57 deletions docs/source/api.rst

This file was deleted.

25 changes: 15 additions & 10 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
PyJuice
Welcome to PyJuice's documentation!
===================================

**PyJuice** is a Python library for Probabilistic Circuits.
**PyJuice** is a Python library for Probabilistic Circuits. It aims to provide a easy-to-use environment for defining PCs that support efficient and scalable training and inference.

Check out the :doc:`start` section for further information, including instructions for
:ref:`installation` of the project.

.. note::
Getting started
--------

This project is under active development.
- Installation
- Tutorials

Contents
API
--------

- :doc:`pyjuice <python-api/pyjuice>`
- :doc:`pyjuice.nodes <python-api/nodes>`

.. toctree::
:maxdepth: 1
:caption: API
:hidden:

start
api
python-api/pyjuice
python-api/nodes
11 changes: 11 additions & 0 deletions docs/source/python-api/nodes.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
pyjuice.nodes
======

.. currentmodule:: pyjuice.nodes

.. autosummary::
:toctree: generated
:nosignatures:

foreach
foldup_aggregate
14 changes: 14 additions & 0 deletions docs/source/python-api/pyjuice.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
pyjuice
======

.. currentmodule:: pyjuice

.. autosummary::
:toctree: generated
:nosignatures:

compile
inputs
product
summate
set_block_size

0 comments on commit ea9cb21

Please sign in to comment.