Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Documentation toctrees menus #254

Merged
merged 4 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/_scripts/gen_envs_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
import gymnasium as gym
from tqdm import tqdm

import gymnasium_robotics

gym.register_envs(gymnasium_robotics)

if __name__ == "__main__":
"""
python gen_envs_display
Expand Down
4 changes: 4 additions & 0 deletions docs/_scripts/gen_gifs.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
from PIL import Image
from tqdm import tqdm

import gymnasium_robotics

gym.register_envs(gymnasium_robotics)

# how many steps to record an env for
LENGTH = 300

Expand Down
4 changes: 4 additions & 0 deletions docs/_scripts/gen_mds.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,16 @@
from tqdm import tqdm

import gymnasium as gym
import gymnasium_robotics

from importlib import import_module
from utils import trim
import re


gym.register_envs(gymnasium_robotics)


# REWRITE: generate md's for new environments that don't belong to Fetch or Shadow Hand
# TODO: use same format for Fetch and Shadow Hand
# The environment entrypoints have the following standard: `gymnasium_robotics.envs.env_type.env_name:EnvName`
Expand Down
Loading