Commit 34a3a46
committed
Docs CI: install gymnasium_robotics + scipy; mock rostopic
The strict-warnings sphinx-build enabled in the previous commit
surfaced real autodoc-import failures: multiros / realros import
gymnasium_robotics for goal-env support; rl_environments imports
scipy and rostopic. Without these the autodoc pages were silently
empty (warnings, but not errors in the old non-strict build).
Two fixes:
- docs/requirements.txt: add gymnasium-robotics and scipy as
pip deps so the imports actually succeed. Also pin gymnasium
explicitly to 0.29.1 to match the tests-CI pin and the
supported runtime.
- docs/conf.py autodoc_mock_imports: add 'rostopic' (a ROS-only
package, not pip-installable, so we mock it). Other already-
mocked rospy ecosystem packages stay as is.1 parent d172bbf commit 34a3a46
2 files changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
| 18 | + | |
0 commit comments