Skip to content

Commit 01448ca

Browse files
committed
update builtin envs docs
1 parent fb5d96a commit 01448ca

7 files changed

Lines changed: 13 additions & 4 deletions

File tree

.github/workflows/gh-pages.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ jobs:
2626
run: |
2727
pip install --upgrade pip
2828
pip install -e .
29-
pip install gymnasium[mujoco]
3029
pip install -e .[envs]
3130
3231
- name: Install docs dependencies

amago/envs/amago_env.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
Main environment wrapper stack for sequence data and parallel logging.
3+
"""
4+
15
import os
26
import random
37
import warnings

amago/envs/builtin/mazerunner.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import gymnasium as gym
1010
import numpy as np
1111
import matplotlib.pyplot as plt
12-
from matplotlib.artist import Artist
1312

1413
from amago.envs import AMAGOEnv
1514

amago/envs/env_utils.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
Miscellaneous environment wrappers and utilities.
3+
"""
4+
15
import gymnasium as gym
26
import numpy as np
37

amago/envs/exploration.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
Exploration via gymnasium wrappers.
3+
"""
4+
15
from abc import ABC, abstractmethod
26

37
import gymnasium as gym

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ def setup(app):
9696
# (Optional) hide function/class signatures in the summary table
9797
autosummary_imported_members = False
9898
autodoc_property_type = True
99+
autodoc_mock_imports = ["xminigrid", "ale_py", "jax", "metaworld", "dm_env", "gymnax", "dm_alchemy", "minigrid", "retro", "cv2", "matplotlib", "procgen"]
99100

100101
napoleon_custom_sections = [
101102
("Gin Configurable Keyword Args", "Args"),

setup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,11 @@
3232
# deepmind alchemy
3333
"dm_env",
3434
"dm_alchemy @ git+https://github.com/deepmind/dm_alchemy.git",
35-
"xminigrid",
3635
"gymnax",
3736
"matplotlib",
3837
"opencv-python",
3938
"procgen",
4039
"minigrid",
41-
"xminigrid",
4240
"ale_py>=0.10",
4341
],
4442
"flash": ["ninja", "packaging", "flash-attn"],

0 commit comments

Comments
 (0)