diff --git a/docs/.gitignore b/docs/.gitignore
index 30075925..6741d86f 100644
--- a/docs/.gitignore
+++ b/docs/.gitignore
@@ -1,2 +1 @@
environments/**/*.md
-content/env_list.html
diff --git a/docs/_scripts/gen_envs_display.py b/docs/_scripts/gen_envs_display.py
index b937a4c4..acf04cdc 100644
--- a/docs/_scripts/gen_envs_display.py
+++ b/docs/_scripts/gen_envs_display.py
@@ -10,28 +10,26 @@
def create_grid_cell(env_id):
env_name = env_id.split("-")[-2]
return f"""
-
-
-
-
-
-
- {env_name}
-
-
-
- """
+
+
+
+
+
+
+ {env_name}
+
+
+ """
def generate_page(env_list):
cells = [create_grid_cell(env_id) for env_id in env_list]
cells = "\n".join(cells)
- return f"""
-
+ return f"""
{cells}
- """
+"""
if __name__ == "__main__":
@@ -58,6 +56,7 @@ def generate_page(env_list):
"environments",
"env_list.html",
)
+ print(file_path)
res = generate_page(filtered_env_ids)
diff --git a/docs/content/environments.md b/docs/content/environments.md
deleted file mode 100644
index dac8b8f6..00000000
--- a/docs/content/environments.md
+++ /dev/null
@@ -1,24 +0,0 @@
-# Environments
-
-```{toctree}
-:hidden:
-
-../environments/collecthealth
-../environments/fourrooms
-../environments/hallway
-../environments/maze
-../environments/oneroom
-../environments/pickupobjects
-../environments/putnext
-../environments/roomobjects
-../environments/sidewalk
-../environments/sign
-../environments/threerooms
-../environments/tmaze
-../environments/wallgap
-../environments/ymaze
-```
-
-```{raw} html
- :file: env_list.html
-```
diff --git a/docs/environments/environments.md b/docs/environments/environments.md
new file mode 100644
index 00000000..a052d5a8
--- /dev/null
+++ b/docs/environments/environments.md
@@ -0,0 +1,24 @@
+# Environments
+
+```{toctree}
+:hidden:
+
+collecthealth
+fourrooms
+hallway
+maze
+oneroom
+pickupobjects
+putnext
+roomobjects
+sidewalk
+sign
+threerooms
+tmaze
+wallgap
+ymaze
+```
+
+```{raw} html
+ :file: env_list.html
+```
diff --git a/docs/index.md b/docs/index.md
index dfdd7e90..22698502 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -11,7 +11,7 @@ lastpage:
content/design
content/troubleshooting
content/create_env
-content/environments
+environments/environments
```
```{toctree}