Skip to content

Commit dd3885b

Browse files
Ervin Txiaomaogyandrewcoh
authored
[docs] Update doc links (#4145)
* Updated the badge’s link to point to the newest doc version * Replaced all of the doc to release_3_doc * Update to release_3 in installation.md (#4144) Co-authored-by: Yuan Gao <xiaomaogy88@gmail.com> Co-authored-by: andrewcoh <54679309+andrewcoh@users.noreply.github.com>
1 parent 7edf429 commit dd3885b

File tree

9 files changed

+26
-26
lines changed

9 files changed

+26
-26
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Unity ML-Agents Toolkit
44

5-
[![docs badge](https://img.shields.io/badge/docs-reference-blue.svg)](https://github.com/Unity-Technologies/ml-agents/tree/release_2_docs/docs/)
5+
[![docs badge](https://img.shields.io/badge/docs-reference-blue.svg)](https://github.com/Unity-Technologies/ml-agents/tree/release_3_docs/docs/)
66

77
[![license badge](https://img.shields.io/badge/license-Apache--2.0-green.svg)](LICENSE)
88

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ a number of ways to [connect with us] including our [ML-Agents Forum].
114114
[unity ML-Agents Toolkit]: https://github.com/Unity-Technologies/ml-agents
115115
[unity inference engine]: https://docs.unity3d.com/Packages/com.unity.barracuda@latest/index.html
116116
[package manager documentation]: https://docs.unity3d.com/Manual/upm-ui-install.html
117-
[installation instructions]: https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/docs/Installation.md
117+
[installation instructions]: https://github.com/Unity-Technologies/ml-agents/blob/release_3_docs/docs/Installation.md
118118
[github repository]: https://github.com/Unity-Technologies/ml-agents
119119
[python package]: https://github.com/Unity-Technologies/ml-agents
120120
[execution order of event functions]: https://docs.unity3d.com/Manual/ExecutionOrder.html

com.unity.ml-agents/Runtime/Academy.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* API. For more information on each of these entities, in addition to how to
2020
* set-up a learning environment and train the behavior of characters in a
2121
* Unity scene, please browse our documentation pages on GitHub:
22-
* https://github.com/Unity-Technologies/ml-agents/tree/release_2_docs/docs/
22+
* https://github.com/Unity-Technologies/ml-agents/tree/release_3_docs/docs/
2323
*/
2424

2525
namespace Unity.MLAgents
@@ -51,7 +51,7 @@ void FixedUpdate()
5151
/// fall back to inference or heuristic decisions. (You can also set agents to always use
5252
/// inference or heuristics.)
5353
/// </remarks>
54-
[HelpURL("https://github.com/Unity-Technologies/ml-agents/tree/release_2_docs/" +
54+
[HelpURL("https://github.com/Unity-Technologies/ml-agents/tree/release_3_docs/" +
5555
"docs/Learning-Environment-Design.md")]
5656
public class Academy : IDisposable
5757
{

com.unity.ml-agents/Runtime/Agent.cs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -145,13 +145,13 @@ internal struct AgentAction
145145
/// [OnDisable()]: https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnDisable.html]
146146
/// [OnBeforeSerialize()]: https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnBeforeSerialize.html
147147
/// [OnAfterSerialize()]: https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnAfterSerialize.html
148-
/// [Agents]: https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/docs/Learning-Environment-Design-Agents.md
149-
/// [Reinforcement Learning in Unity]: https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/docs/Learning-Environment-Design.md
148+
/// [Agents]: https://github.com/Unity-Technologies/ml-agents/blob/release_3_docs/docs/Learning-Environment-Design-Agents.md
149+
/// [Reinforcement Learning in Unity]: https://github.com/Unity-Technologies/ml-agents/blob/release_3_docs/docs/Learning-Environment-Design.md
150150
/// [Unity ML-Agents Toolkit]: https://github.com/Unity-Technologies/ml-agents
151-
/// [Unity ML-Agents Toolkit manual]: https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/docs/Readme.md
151+
/// [Unity ML-Agents Toolkit manual]: https://github.com/Unity-Technologies/ml-agents/blob/release_3_docs/docs/Readme.md
152152
///
153153
/// </remarks>
154-
[HelpURL("https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/" +
154+
[HelpURL("https://github.com/Unity-Technologies/ml-agents/blob/release_3_docs/" +
155155
"docs/Learning-Environment-Design-Agents.md")]
156156
[Serializable]
157157
[RequireComponent(typeof(BehaviorParameters))]
@@ -603,8 +603,8 @@ public int CompletedEpisodes
603603
/// for information about mixing reward signals from curiosity and Generative Adversarial
604604
/// Imitation Learning (GAIL) with rewards supplied through this method.
605605
///
606-
/// [Agents - Rewards]: https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/docs/Learning-Environment-Design-Agents.md#rewards
607-
/// [Reward Signals]: https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/docs/ML-Agents-Overview.md#a-quick-note-on-reward-signals
606+
/// [Agents - Rewards]: https://github.com/Unity-Technologies/ml-agents/blob/release_3_docs/docs/Learning-Environment-Design-Agents.md#rewards
607+
/// [Reward Signals]: https://github.com/Unity-Technologies/ml-agents/blob/release_3_docs/docs/ML-Agents-Overview.md#a-quick-note-on-reward-signals
608608
/// </remarks>
609609
/// <param name="reward">The new value of the reward.</param>
610610
public void SetReward(float reward)
@@ -633,8 +633,8 @@ public void SetReward(float reward)
633633
/// for information about mixing reward signals from curiosity and Generative Adversarial
634634
/// Imitation Learning (GAIL) with rewards supplied through this method.
635635
///
636-
/// [Agents - Rewards]: https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/docs/Learning-Environment-Design-Agents.md#rewards
637-
/// [Reward Signals]: https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/docs/ML-Agents-Overview.md#a-quick-note-on-reward-signals
636+
/// [Agents - Rewards]: https://github.com/Unity-Technologies/ml-agents/blob/release_3_docs/docs/Learning-Environment-Design-Agents.md#rewards
637+
/// [Reward Signals]: https://github.com/Unity-Technologies/ml-agents/blob/release_3_docs/docs/ML-Agents-Overview.md#a-quick-note-on-reward-signals
638638
///</remarks>
639639
/// <param name="increment">Incremental reward value.</param>
640640
public void AddReward(float increment)
@@ -786,8 +786,8 @@ public virtual void Initialize() {}
786786
/// implementing a simple heuristic function can aid in debugging agent actions and interactions
787787
/// with its environment.
788788
///
789-
/// [Demonstration Recorder]: https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/docs/Learning-Environment-Design-Agents.md#recording-demonstrations
790-
/// [Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/docs/Learning-Environment-Design-Agents.md#actions
789+
/// [Demonstration Recorder]: https://github.com/Unity-Technologies/ml-agents/blob/release_3_docs/docs/Learning-Environment-Design-Agents.md#recording-demonstrations
790+
/// [Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_3_docs/docs/Learning-Environment-Design-Agents.md#actions
791791
/// [GameObject]: https://docs.unity3d.com/Manual/GameObjects.html
792792
/// </remarks>
793793
/// <example>
@@ -989,7 +989,7 @@ void ResetSensors()
989989
/// For more information about observations, see [Observations and Sensors].
990990
///
991991
/// [GameObject]: https://docs.unity3d.com/Manual/GameObjects.html
992-
/// [Observations and Sensors]: https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/docs/Learning-Environment-Design-Agents.md#observations-and-sensors
992+
/// [Observations and Sensors]: https://github.com/Unity-Technologies/ml-agents/blob/release_3_docs/docs/Learning-Environment-Design-Agents.md#observations-and-sensors
993993
/// </remarks>
994994
public virtual void CollectObservations(VectorSensor sensor)
995995
{
@@ -1020,7 +1020,7 @@ public ReadOnlyCollection<float> GetObservations()
10201020
///
10211021
/// See [Agents - Actions] for more information on masking actions.
10221022
///
1023-
/// [Agents - Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/docs/Learning-Environment-Design-Agents.md#actions
1023+
/// [Agents - Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_3_docs/docs/Learning-Environment-Design-Agents.md#actions
10241024
/// </remarks>
10251025
/// <seealso cref="OnActionReceived(float[])"/>
10261026
public virtual void CollectDiscreteActionMasks(DiscreteActionMasker actionMasker)
@@ -1090,7 +1090,7 @@ public virtual void CollectDiscreteActionMasks(DiscreteActionMasker actionMasker
10901090
///
10911091
/// For more information about implementing agent actions see [Agents - Actions].
10921092
///
1093-
/// [Agents - Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/docs/Learning-Environment-Design-Agents.md#actions
1093+
/// [Agents - Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_3_docs/docs/Learning-Environment-Design-Agents.md#actions
10941094
/// </remarks>
10951095
/// <param name="vectorAction">
10961096
/// An array containing the action vector. The length of the array is specified

com.unity.ml-agents/Runtime/Demonstrations/DemonstrationRecorder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace Unity.MLAgents.Demonstrations
1919
/// See [Imitation Learning - Recording Demonstrations] for more information.
2020
///
2121
/// [GameObject]: https://docs.unity3d.com/Manual/GameObjects.html
22-
/// [Imitation Learning - Recording Demonstrations]: https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/docs//Learning-Environment-Design-Agents.md#recording-demonstrations
22+
/// [Imitation Learning - Recording Demonstrations]: https://github.com/Unity-Technologies/ml-agents/blob/release_3_docs/docs//Learning-Environment-Design-Agents.md#recording-demonstrations
2323
/// </remarks>
2424
[RequireComponent(typeof(Agent))]
2525
[AddComponentMenu("ML Agents/Demonstration Recorder", (int)MenuGroup.Default)]

com.unity.ml-agents/Runtime/DiscreteActionMasker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ internal DiscreteActionMasker(BrainParameters brainParameters)
4040
///
4141
/// See [Agents - Actions] for more information on masking actions.
4242
///
43-
/// [Agents - Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_2_docs/docs/Learning-Environment-Design-Agents.md#actions
43+
/// [Agents - Actions]: https://github.com/Unity-Technologies/ml-agents/blob/release_3_docs/docs/Learning-Environment-Design-Agents.md#actions
4444
/// </remarks>
4545
/// <param name="branch">The branch for which the actions will be masked.</param>
4646
/// <param name="actionIndices">The indices of the masked actions.</param>

docs/Installation-Anaconda-Windows.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ commands in an Anaconda Prompt _(if you open a new prompt, be sure to activate
123123
the ml-agents Conda environment by typing `activate ml-agents`)_:
124124

125125
```sh
126-
git clone --branch release_2 https://github.com/Unity-Technologies/ml-agents.git
126+
git clone --branch release_3 https://github.com/Unity-Technologies/ml-agents.git
127127
```
128128

129-
The `--branch release_2` option will switch to the tag of the latest stable
129+
The `--branch release_3` option will switch to the tag of the latest stable
130130
release. Omitting that will get the `master` branch which is potentially
131131
unstable.
132132

docs/Installation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,18 @@ example environments and training configurations to experiment with them (some
5757
of our tutorials / guides assume you have access to our example environments).
5858

5959
```sh
60-
git clone --branch release_2 https://github.com/Unity-Technologies/ml-agents.git
60+
git clone --branch release_3 https://github.com/Unity-Technologies/ml-agents.git
6161
```
6262

63-
The `--branch release_2` option will switch to the tag of the latest stable
63+
The `--branch release_3` option will switch to the tag of the latest stable
6464
release. Omitting that will get the `master` branch which is potentially
6565
unstable.
6666

6767
#### Advanced: Local Installation for Development
6868

6969
You will need to clone the repository if you plan to modify or extend the
7070
ML-Agents Toolkit for your purposes. If you plan to contribute those changes
71-
back, make sure to clone the `master` branch (by omitting `--branch release_2`
71+
back, make sure to clone the `master` branch (by omitting `--branch release_3`
7272
from the command above). See our
7373
[Contributions Guidelines](../com.unity.ml-agents/CONTRIBUTING.md) for more
7474
information on contributing to the ML-Agents Toolkit.
@@ -87,7 +87,7 @@ please follow the [advanced installation instructions](#advanced-local-installat
8787
#### Advanced: Local Installation for Development
8888

8989
You can [add the local](https://docs.unity3d.com/Manual/upm-ui-local.html)
90-
`com.unity.ml-agents` package (from the repository that you just cloned) to our
90+
`com.unity.ml-agents` package (from the repository that you just cloned) to your
9191
project by:
9292

9393
1. navigating to the menu `Window` -> `Package Manager`.

docs/Training-on-Amazon-Web-Service.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ After launching your EC2 instance using the ami and ssh into it:
6969
2. Clone the ML-Agents repo and install the required Python packages
7070

7171
```sh
72-
git clone --branch release_2 https://github.com/Unity-Technologies/ml-agents.git
72+
git clone --branch release_3 https://github.com/Unity-Technologies/ml-agents.git
7373
cd ml-agents/ml-agents/
7474
pip3 install -e .
7575
```

0 commit comments

Comments
 (0)