Skip to content

Commit c4cd5f6

Browse files
committed
Pre-commit checks
1 parent 338822a commit c4cd5f6

File tree

6 files changed

+16
-13
lines changed

6 files changed

+16
-13
lines changed

com.unity.ml-agents/Documentation~/Background.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Background
22

3-
This section provides foundational knowledge to help you understand the technologies and concepts that power the ML-Agents Toolkit.
3+
This section provides foundational knowledge to help you understand the technologies and concepts that power the ML-Agents Toolkit.
44

55
| **Topic** | **Description** |
66
|----------------------------------------------------|-------------------------------------------------------------------------------|

com.unity.ml-agents/Documentation~/Package-Limitations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ You can control the frequency of Academy stepping by calling `Academy.Instance.D
1515

1616
### Input System Integration
1717

18-
For `InputActuatorComponent` (see [Input System Integration](InputSystem-Integration.md) for more information):
18+
For `InputActuatorComponent` (see [Input System Integration](InputSystem-Integration.md) for more information):
1919
- Limited implementation of `InputControls`
2020
- No way to customize the action space of the `InputActuatorComponent`

com.unity.ml-agents/Documentation~/Readme.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ developer communities.
4141
- Wrap Unity learning environments as a [PettingZoo](Python-PettingZoo-API.md) environment
4242

4343
## Releases & Documentation
44-
45-
> **⚠️ Documentation Migration Notice**
44+
45+
> **⚠️ Documentation Migration Notice**
4646
> We have moved to [Unity Package documentation](https://docs.unity3d.com/Packages/com.unity.ml-agents@latest) as the **primary developer documentation** and have **deprecated** the maintenance of [web docs](https://unity-technologies.github.io/ml-agents/). Please use the Unity Package documentation for the most up-to-date information.
4747
4848
The table below shows our latest release, including our `develop` branch which is
@@ -57,9 +57,9 @@ under active development and may be unstable. A few helpful guidelines:
5757
- The `com.unity.ml-agents` package is [verified](https://docs.unity3d.com/2020.1/Documentation/Manual/pack-safe.html)
5858
for Unity 2020.1 and later. Verified packages releases are numbered 1.0.x.
5959

60-
| **Version** | **Release Date** | **Source** | **Documentation** | **Download** | **Python Package** | **Unity Package** |
61-
|:--------------------------:|:------:|:-------------:|:----------------------------------------------------------------------------------------------------------------:|:------------:|:------------:|:------------:|
62-
| **Release 22** | **October 5, 2024** | **[source](https://github.com/Unity-Technologies/ml-agents/tree/release_22)** | **[docs](https://unity-technologies.github.io/ml-agents/)** | **[download](https://github.com/Unity-Technologies/ml-agents/archive/release_22.zip)** | **[1.1.0](https://pypi.org/project/mlagents/1.1.0/)** | **[3.0.0](https://docs.unity3d.com/Packages/[email protected]/manual/index.html)** |
60+
| **Version** | **Release Date** | **Source** | **Documentation** | **Download** | **Python Package** | **Unity Package** |
61+
|:-----------:|:---------------:|:----------:|:-----------------:|:------------:|:------------------:|:-----------------:|
62+
| **Release 22** | **October 5, 2024** | **[source](https://github.com/Unity-Technologies/ml-agents/tree/release_22)** | **[docs](https://unity-technologies.github.io/ml-agents/)** | **[download](https://github.com/Unity-Technologies/ml-agents/archive/release_22.zip)** | **[1.1.0](https://pypi.org/project/mlagents/1.1.0/)** | **[3.0.0](https://docs.unity3d.com/Packages/[email protected]/manual/index.html)** |
6363
| **develop (unstable)** | -- | [source](https://github.com/Unity-Technologies/ml-agents/tree/develop) | [docs](https://github.com/Unity-Technologies/ml-agents/tree/develop/com.unity.ml-agents/Documentation~/index.md) | [download](https://github.com/Unity-Technologies/ml-agents/archive/develop.zip) | -- | -- |
6464

6565

com.unity.ml-agents/Documentation~/Training.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Use the following topics to learn about training in ML-Agents.
1+
Use the following topics to learn about training in ML-Agents.
22

33

44
| **Section** | **Description** |

com.unity.ml-agents/Documentation~/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The package allows you to convert any Unity scene into a learning environment an
2929
* Define Behaviors: entities that specify how an agent should act. Multiple agents can share the same Behavior and a scene may have multiple Behaviors.
3030
* Record demonstrations: To show the behaviors of an agent within the Editor. You can use demonstrations to help train a behavior for that agent.
3131
* Embed a trained behavior (aka: run your ML model) in the scene via the [Inference Engine](https://docs.unity3d.com/Packages/com.unity.ai.inference@latest). Embedded behaviors allow you to switch an Agent between learning and inference.
32-
*
32+
3333
## Community and Feedback (review needed)
3434

3535
The ML-Agents Toolkit is an open-source project, and we encourage and welcome

utils/make_readme_table.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,16 @@ def doc_link(self):
9696
if self.is_verified:
9797
return "https://github.com/Unity-Technologies/ml-agents/blob/release_2_verified_docs/docs/Readme.md"
9898

99-
if self.csharp_version == 'develop':
100-
return "https://github.com/Unity-Technologies/ml-agents/tree/develop/com.unity.ml-agents/Documentation~/index.md"
99+
if self.csharp_version == "develop":
100+
return (
101+
"https://github.com/Unity-Technologies/ml-agents/tree/"
102+
"develop/com.unity.ml-agents/Documentation~/index.md"
103+
)
101104

102105
# Prioritize Unity Package documentation over web docs
103106
try:
104-
v = StrictVersion(self.csharp_version).version
105-
return f"https://docs.unity3d.com/Packages/com.unity.ml-agents@latest"
107+
StrictVersion(self.csharp_version).version
108+
return "https://docs.unity3d.com/Packages/com.unity.ml-agents@latest"
106109
except ValueError:
107110
# Fallback to deprecated web docs with warning
108111
return "https://unity-technologies.github.io/ml-agents/ (DEPRECATED)"

0 commit comments

Comments
 (0)