Skip to content

Commit

Permalink
amend
Browse files Browse the repository at this point in the history
  • Loading branch information
matteobettini committed Nov 2, 2023
1 parent 685dc7d commit a39b100
Show file tree
Hide file tree
Showing 6 changed files with 67 additions and 21 deletions.
10 changes: 2 additions & 8 deletions benchmarl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,10 @@
# LICENSE file in the root directory of this source tree.
#

import importlib

import benchmarl.algorithms
import benchmarl.benchmark
import benchmarl.environments
import benchmarl.eval_results
import benchmarl.experiment
import benchmarl.models
import benchmarl.utils
__version__ = "0.0.4"

import importlib

_has_hydra = importlib.util.find_spec("hydra") is not None

Expand Down
7 changes: 0 additions & 7 deletions docs/source/api.rst

This file was deleted.

6 changes: 3 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# Configuration file for the Sphinx documentation builder.

# -- Project information
import benchmarl

project = "BenchMARL"
copyright = "Meta"
author = "Matteo Bettini"

release = "0.0.2"
version = "0.0.2"
version = benchmarl.__version__

# -- General configuration

Expand All @@ -17,6 +16,7 @@
"sphinx.ext.autodoc",
"sphinx.ext.autosummary",
"sphinx.ext.intersphinx",
"sphinx.ext.viewcode",
]

intersphinx_mapping = {
Expand Down
14 changes: 11 additions & 3 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Welcome to Lumache's documentation!
===================================
BenchMARL
=========

**BenchMARL** is a Python library for cooks and food lovers
that creates recipes mixing random ingredients.
Expand All @@ -17,6 +17,14 @@ Contents
--------

.. toctree::
:maxdepth: 1
:caption: Usage

usage
api

.. toctree::
:maxdepth: 1
:caption: Package Reference

modules/root
modules/algorithms
33 changes: 33 additions & 0 deletions docs/source/modules/algorithms.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

benchmarl.algorithms
====================


.. contents:: Contents
:local:

Single node data collectors
---------------------------

.. currentmodule:: benchmarl.algorithms
.. autosummary::
:toctree: generated

Iddpg
IddpgConfig
Ippo
IppoConfig
Iql
IqlConfig
Isac
IsacConfig
Maddpg
MaddpgConfig
Mappo
MappoConfig
Masac
MasacConfig
Qmix
QmixConfig
Vdn
VdnConfig
18 changes: 18 additions & 0 deletions docs/source/modules/root.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
benchmarl
=========


.. automodule:: benchmarl.benchmark
:members:

.. automodule:: benchmarl.eval_results
:members:

.. automodule:: benchmarl.hydra_config
:members:

.. automodule:: benchmarl.run
:members:

.. automodule:: benchmarl.utils
:members:

0 comments on commit a39b100

Please sign in to comment.