Skip to content

Commit

Permalink
fix create examples to include env (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett authored Nov 22, 2023
1 parent 8b03819 commit 2f808f8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/source/developer_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
4 changes: 2 additions & 2 deletions docs/source/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions docs/source/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,13 @@ newest (highest-numbered) Python version available.

.. code-block:: shell
conda create --name stenv --file <URL>
conda env create --name stenv --file <URL>
.. tab:: mamba

.. code-block:: shell
mamba create --name stenv --file <URL>
mamba env create --name stenv --file <URL>
.. tab:: create environment from downloaded file

Expand All @@ -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::
Expand Down

0 comments on commit 2f808f8

Please sign in to comment.