Skip to content

Commit

Permalink
docs: update the v0 & v1 envd reference (#1969)
Browse files Browse the repository at this point in the history
Signed-off-by: Keming <[email protected]>
  • Loading branch information
kemingy authored Feb 7, 2025
1 parent 6b49023 commit 698349a
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 30 deletions.
6 changes: 6 additions & 0 deletions envd/api/v0/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
in [tensorchord/envd](https://github.com/tensorchord/envd/tree/main/envd/api) repo.
Please update the python file there instead of directly editing file inside envd-docs repo.
:::
::: warning
v0 syntax is no longer supported from `envd>=v1.0`. Check the [upgrade guide](https://envd.tensorchord.ai/guide/v1.html).
If you want to use v0 syntax, try `pip install 'envd<1'`.
:::
"""

from typing import List, Optional
Expand Down
6 changes: 6 additions & 0 deletions envd/api/v0/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
in [tensorchord/envd](https://github.com/tensorchord/envd/tree/main/envd/api) repo.
Please update the python file there instead of directly editing file inside envd-docs repo.
:::
::: warning
v0 syntax is no longer supported from `envd>=v1.0`. Check the [upgrade guide](https://envd.tensorchord.ai/guide/v1.html).
If you want to use v0 syntax, try `pip install 'envd<1'`.
:::
"""

from typing import List, Optional
Expand Down
6 changes: 6 additions & 0 deletions envd/api/v0/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
in [tensorchord/envd](https://github.com/tensorchord/envd/tree/main/envd/api) repo.
Please update the python file there instead of directly editing file inside envd-docs repo.
:::
::: warning
v0 syntax is no longer supported from `envd>=v1.0`. Check the [upgrade guide](https://envd.tensorchord.ai/guide/v1.html).
If you want to use v0 syntax, try `pip install 'envd<1'`.
:::
"""

from typing import List, Optional
Expand Down
6 changes: 6 additions & 0 deletions envd/api/v0/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
in [tensorchord/envd](https://github.com/tensorchord/envd/tree/main/envd/api) repo.
Please update the python file there instead of directly editing file inside envd-docs repo.
:::
::: warning
v0 syntax is no longer supported from `envd>=v1.0`. Check the [upgrade guide](https://envd.tensorchord.ai/guide/v1.html).
If you want to use v0 syntax, try `pip install 'envd<1'`.
:::
"""

from typing import Optional
Expand Down
6 changes: 6 additions & 0 deletions envd/api/v0/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
in [tensorchord/envd](https://github.com/tensorchord/envd/tree/main/envd/api) repo.
Please update the python file there instead of directly editing file inside envd-docs repo.
:::
::: warning
v0 syntax is no longer supported from `envd>=v1.0`. Check the [upgrade guide](https://envd.tensorchord.ai/guide/v1.html).
If you want to use v0 syntax, try `pip install 'envd<1'`.
:::
"""

from typing import Dict, List, Optional
Expand Down
6 changes: 0 additions & 6 deletions envd/api/v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@
in [tensorchord/envd](https://github.com/tensorchord/envd/tree/main/envd/api) repo.
Please update the python file there instead of directly editing file inside envd-docs repo.
:::
::: warning
Enable v1 by adding `# syntax=v1` to the 1st line of your envd file.
v1 is experimental and may change in the future. Make sure to freeze the envd version for online CI/CD.
:::
"""

from typing import List, Optional
Expand Down
6 changes: 0 additions & 6 deletions envd/api/v1/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@
in [tensorchord/envd](https://github.com/tensorchord/envd/tree/main/envd/api) repo.
Please update the python file there instead of directly editing file inside envd-docs repo.
:::
::: warning
Enable v1 by adding `# syntax=v1` to the 1st line of your envd file.
v1 is experimental and may change in the future. Make sure to freeze the envd version for online CI/CD.
:::
"""

from typing import List, Optional
Expand Down
6 changes: 0 additions & 6 deletions envd/api/v1/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@
in [tensorchord/envd](https://github.com/tensorchord/envd/tree/main/envd/api) repo.
Please update the python file there instead of directly editing file inside envd-docs repo.
:::
::: warning
Enable v1 by adding `# syntax=v1` to the 1st line of your envd file.
v1 is experimental and may change in the future. Make sure to freeze the envd version for online CI/CD.
:::
"""

from typing import Optional, Sequence
Expand Down
6 changes: 0 additions & 6 deletions envd/api/v1/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@
in [tensorchord/envd](https://github.com/tensorchord/envd/tree/main/envd/api) repo.
Please update the python file there instead of directly editing file inside envd-docs repo.
:::
::: warning
Enable v1 by adding `# syntax=v1` to the 1st line of your envd file.
v1 is experimental and may change in the future. Make sure to freeze the envd version for online CI/CD.
:::
"""

from typing import Optional
Expand Down
6 changes: 0 additions & 6 deletions envd/api/v1/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@
in [tensorchord/envd](https://github.com/tensorchord/envd/tree/main/envd/api) repo.
Please update the python file there instead of directly editing file inside envd-docs repo.
:::
::: warning
Enable v1 by adding `# syntax=v1` to the 1st line of your envd file.
v1 is experimental and may change in the future. Make sure to freeze the envd version for online CI/CD.
:::
"""

from typing import Dict, List, Optional
Expand Down

0 comments on commit 698349a

Please sign in to comment.