From db9faebc018d9a20ebaf29e4717503e88bc3ce94 Mon Sep 17 00:00:00 2001 From: zacharyburnett Date: Wed, 22 Nov 2023 09:22:17 -0500 Subject: [PATCH] fix create examples to include env --- docs/source/developer_notes.rst | 4 ++-- docs/source/faq.rst | 4 ++-- docs/source/getting_started.rst | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/source/developer_notes.rst b/docs/source/developer_notes.rst index 923c2ce..012e84b 100644 --- a/docs/source/developer_notes.rst +++ b/docs/source/developer_notes.rst @@ -21,13 +21,13 @@ To build an environment from this unpinned environment definition, you may run t .. code-block:: shell - conda create -n stenv -f https://raw.githubusercontent.com/spacetelescope/stenv/main/environment.yaml + conda env create -n stenv -f https://raw.githubusercontent.com/spacetelescope/stenv/main/environment.yaml .. tab:: mamba .. code-block:: shell - mamba create -n stenv -f https://raw.githubusercontent.com/spacetelescope/stenv/main/environment.yaml + mamba env create -n stenv -f https://raw.githubusercontent.com/spacetelescope/stenv/main/environment.yaml .. _adding_a_package_to_stenv: diff --git a/docs/source/faq.rst b/docs/source/faq.rst index 3bf7950..78140e9 100644 --- a/docs/source/faq.rst +++ b/docs/source/faq.rst @@ -12,13 +12,13 @@ You can use the environment definition YAML file (:ref:`environment_yaml`) in th .. code-block:: shell - conda create -n stenv -f https://raw.githubusercontent.com/spacetelescope/stenv/main/environment.yaml + conda env create -n stenv -f https://raw.githubusercontent.com/spacetelescope/stenv/main/environment.yaml .. tab:: mamba .. code-block:: shell - mamba create -n stenv -f https://raw.githubusercontent.com/spacetelescope/stenv/main/environment.yaml + mamba env create -n stenv -f https://raw.githubusercontent.com/spacetelescope/stenv/main/environment.yaml This environment is unpinned, meaning it may take some time to resolve dependency versions. Additionally, the resulting package versions may not have been tested for your platform. diff --git a/docs/source/getting_started.rst b/docs/source/getting_started.rst index 359c809..1c8a3a6 100644 --- a/docs/source/getting_started.rst +++ b/docs/source/getting_started.rst @@ -99,13 +99,13 @@ newest (highest-numbered) Python version available. .. code-block:: shell - conda create --name stenv --file + conda env create --name stenv --file .. tab:: mamba .. code-block:: shell - mamba create --name stenv --file + mamba env create --name stenv --file .. tab:: create environment from downloaded file @@ -116,13 +116,13 @@ newest (highest-numbered) Python version available. .. code-block:: shell - conda create --name stenv --file ~/Downloads/stenv-pyXX-YY.MM.DD.yaml + conda env create --name stenv --file ~/Downloads/stenv-pyXX-YY.MM.DD.yaml .. tab:: mamba .. code-block:: shell - mamba create --name stenv --file ~/Downloads/stenv-pyXX-YY.MM.DD.yaml + mamba env create --name stenv --file ~/Downloads/stenv-pyXX-YY.MM.DD.yaml .. note::