diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c17bb84..a22f44f 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -2,12 +2,13 @@ name: Update docs on: push: branches: - - master + - main tags: - v* + workflow_dispatch: jobs: update-docs: name: Update docs - uses: unifyai/workflows/.github/workflows/docs.yml@master + uses: unifyai/workflows/.github/workflows/docs.yml@main secrets: inherit diff --git a/.github/workflows/lint-bot.yml b/.github/workflows/lint-bot.yml index 03e43b4..5136a5c 100644 --- a/.github/workflows/lint-bot.yml +++ b/.github/workflows/lint-bot.yml @@ -11,5 +11,5 @@ permissions: jobs: fix-linting: name: Fix Linting - uses: unifyai/workflows/.github/workflows/lint-bot.yml@master + uses: unifyai/workflows/.github/workflows/lint-bot.yml@main secrets: inherit diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3e5c9ee..ffb247e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -5,4 +5,4 @@ on: [push, pull_request] jobs: check-formatting: name: Check formatting - uses: unifyai/workflows/.github/workflows/lint.yml@master \ No newline at end of file + uses: unifyai/workflows/.github/workflows/lint.yml@main \ No newline at end of file diff --git a/README.rst b/README.rst index 54fe7a9..ff626ad 100644 --- a/README.rst +++ b/README.rst @@ -1,8 +1,8 @@ -.. image:: https://github.com/unifyai/unifyai.github.io/blob/master/img/externally_linked/logo.png?raw=true#gh-light-mode-only +.. image:: https://github.com/unifyai/unifyai.github.io/blob/main/img/externally_linked/logo.png?raw=true#gh-light-mode-only :width: 100% :class: only-light -.. image:: https://github.com/unifyai/unifyai.github.io/blob/master/img/externally_linked/logo_dark.png?raw=true#gh-dark-mode-only +.. image:: https://github.com/unifyai/unifyai.github.io/blob/main/img/externally_linked/logo_dark.png?raw=true#gh-dark-mode-only :width: 100% :class: only-dark @@ -28,23 +28,23 @@ .. raw:: html
- + - + - + - + - + - + - + - + - +
Contents @@ -85,26 +85,26 @@ neural memory, pre-trained models + implementations, and builder tools with trai
- - + + - - + + - - + + - - + + @@ -142,26 +142,26 @@ neural memory, pre-trained models + implementations, and builder tools with trai - - + + - - + + - - + + - - + + @@ -201,8 +201,8 @@ neural memory, pre-trained models + implementations, and builder tools with trai Ivy gym can be installed like so: ``pip install ivy-gym`` -.. _demos: https://github.com/unifyai/gym/tree/master/ivy_gym_demos -.. _optimization: https://github.com/unifyai/gym/tree/master/ivy_gym_demos/optimization +.. _demos: https://github.com/unifyai/gym/tree/main/ivy_gym_demos +.. _optimization: https://github.com/unifyai/gym/tree/main/ivy_gym_demos/optimization To quickly see the different environments provided, we suggest you check out the demos_! We suggest you start by running the script ``run_through.py``, @@ -260,7 +260,7 @@ Example trajectories are given below. .. raw:: html

- +

**MountainCar** @@ -275,7 +275,7 @@ Example trajectories are given below. .. raw:: html

- +

**Pendulum** @@ -287,7 +287,7 @@ Example trajectories are given below. .. raw:: html

- +

**Reacher** @@ -299,7 +299,7 @@ Example trajectories are given below. .. raw:: html

- +

**Swimmer** @@ -312,7 +312,7 @@ Example trajectories are given below. .. raw:: html

- +

Optimization Demos @@ -336,7 +336,7 @@ The optimization iteration is shown in the bottom right, along with the step in .. raw:: html

- +

**Policy Optimization** @@ -347,7 +347,7 @@ The optimization iteration is shown in the bottom right, along with the step in .. raw:: html

- +

Get Involved diff --git a/ivy_gym_demos/README.md b/ivy_gym_demos/README.md index 27b04f9..90d75c5 100644 --- a/ivy_gym_demos/README.md +++ b/ivy_gym_demos/README.md @@ -77,7 +77,7 @@ cd ~/ivy_gym/ivy_gym_demos Example output is given below:

- +

### Policy Optimization @@ -92,7 +92,7 @@ cd ~/ivy_gym/ivy_gym_demos Example output is given below:

- +

## Get Involved diff --git a/merge_with_upstream.sh b/merge_with_upstream.sh index 2497d57..c483fff 100755 --- a/merge_with_upstream.sh +++ b/merge_with_upstream.sh @@ -2,5 +2,5 @@ git checkout "$1" git remote add upstream https://github.com/unifyai/gym.git || true git fetch upstream -git merge upstream/master --no-edit +git merge upstream/main --no-edit git push \ No newline at end of file diff --git a/setup.py b/setup.py index 469834a..fcbacb2 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ def _replace_logos_html(txt): backends_chunk = chunks[2] bc = backends_chunk.split("\n\n") img_str = ( - ".. image:: https://github.com/unifyai/unifyai.github.io/blob/master/img/externally_linked/logos/supported/frameworks.png?raw=true\n" # noqa + ".. image:: https://github.com/unifyai/unifyai.github.io/blob/main/img/externally_linked/logos/supported/frameworks.png?raw=true\n" # noqa " :width: 100%" ) backends_chunk = "\n\n".join(bc[0:1] + [img_str] + bc[2:]) @@ -39,7 +39,7 @@ def _replace_logos_html(txt): libraries_chunk = chunks[3] lc = libraries_chunk.split("\n\n") img_str = ( - ".. image:: https://github.com/unifyai/unifyai.github.io/blob/master/img/externally_linked/ivy_libraries.png?raw=true\n" # noqa + ".. image:: https://github.com/unifyai/unifyai.github.io/blob/main/img/externally_linked/ivy_libraries.png?raw=true\n" # noqa " :width: 100%" ) libraries_chunk = "\n\n".join(lc[0:1] + [img_str] + lc[2:])