Skip to content

Commit 60b67ff

Browse files
peterd-NVkellyguo11
authored andcommitted
Fixes IsaacLab Mimic doc build warnings (#3065)
Fixes warnings when building docs for IsaacLab Mimic by using `from __future__ import annotations` to allow Sphinx autodoc import. - Bug fix (non-breaking change which fixes an issue) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there
1 parent 5bd32c9 commit 60b67ff

File tree

10 files changed

+40
-5
lines changed

10 files changed

+40
-5
lines changed

source/isaaclab/config/extension.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
# Note: Semantic Versioning is used: https://semver.org/
4-
version = "0.44.8"
4+
version = "0.44.9"
55

66
# Description
77
title = "Isaac Lab framework for Robot Learning"

source/isaaclab/docs/CHANGELOG.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
Changelog
22
---------
33

4+
0.44.9 (2025-07-30)
5+
~~~~~~~~~~~~~~~~~~~
6+
7+
Added
8+
^^^^^
9+
10+
* Added ``from __future__ import annotations`` to manager_based_rl_mimic_env.py to fix Sphinx
11+
doc warnings for IsaacLab Mimic docs.
12+
13+
414
0.44.8 (2025-07-30)
515
~~~~~~~~~~~~~~~~~~~
616

source/isaaclab/isaaclab/envs/manager_based_rl_mimic_env.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# All rights reserved.
33
#
44
# SPDX-License-Identifier: BSD-3-Clause
5+
from __future__ import annotations
6+
57
import torch
68
from collections.abc import Sequence
79

source/isaaclab_mimic/config/extension.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
# Semantic Versioning is used: https://semver.org/
4-
version = "1.0.11"
4+
version = "1.0.12"
55

66
# Description
77
category = "isaaclab"

source/isaaclab_mimic/docs/CHANGELOG.rst

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
Changelog
22
---------
33

4+
1.0.12 (2025-07-31)
5+
~~~~~~~~~~~~~~~~~~~
6+
7+
Added
8+
^^^^^
9+
10+
* Added ``from __future__ import annotations`` to utils.py to fix Sphinx
11+
doc warnings for IsaacLab Mimic docs.
12+
13+
414
1.0.11 (2025-07-17)
5-
~~~~~~~~~~~~~~~~~~
15+
~~~~~~~~~~~~~~~~~~~
616

717
Changed
818
^^^^^^^
@@ -12,7 +22,7 @@ Changed
1222

1323

1424
1.0.10 (2025-07-08)
15-
~~~~~~~~~~~~~~~~~~
25+
~~~~~~~~~~~~~~~~~~~
1626

1727
Changed
1828
^^^^^^^

source/isaaclab_mimic/isaaclab_mimic/datagen/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# All rights reserved.
33
#
44
# SPDX-License-Identifier: Apache-2.0
5+
from __future__ import annotations
56

67
import os
78
from collections.abc import Callable

source/isaaclab_tasks/config/extension.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
# Note: Semantic Versioning is used: https://semver.org/
4-
version = "0.10.44"
4+
version = "0.10.45"
55

66
# Description
77
title = "Isaac Lab Environments"

source/isaaclab_tasks/docs/CHANGELOG.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
Changelog
22
---------
33

4+
0.10.45 (2025-07-16)
5+
~~~~~~~~~~~~~~~~~~~~
6+
7+
Added
8+
^^^^^
9+
10+
* Added ``from __future__ import annotations`` to isaaclab_tasks files to fix Sphinx
11+
doc warnings for IsaacLab Mimic docs.
12+
13+
414
0.10.44 (2025-07-16)
515
~~~~~~~~~~~~~~~~~~~~
616

source/isaaclab_tasks/isaaclab_tasks/direct/forge/forge_events.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# All rights reserved.
33
#
44
# SPDX-License-Identifier: BSD-3-Clause
5+
from __future__ import annotations
56

67
import torch
78

source/isaaclab_tasks/isaaclab_tasks/direct/humanoid_amp/motions/motion_viewer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# All rights reserved.
33
#
44
# SPDX-License-Identifier: BSD-3-Clause
5+
from __future__ import annotations
56

67
import matplotlib
78
import matplotlib.animation

0 commit comments

Comments
 (0)