From ff1f612d10df742c09ad700ed453c4760a41473f Mon Sep 17 00:00:00 2001 From: Will Dampier Date: Fri, 2 Sep 2022 14:47:41 -0400 Subject: [PATCH] adding content to docs --- docs/contributing/plugins.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/contributing/plugins.rst b/docs/contributing/plugins.rst index ecbf398..d718b60 100644 --- a/docs/contributing/plugins.rst +++ b/docs/contributing/plugins.rst @@ -114,6 +114,22 @@ environment from conda-forge. 'iris', 'dask', ] + +By default packages are only installed from the ``conda-forge`` channel. +If you need other channels, like ``bioconda`` or self-made channels, +they can be added by using the ``tljh_extra_user_conda_channels`` hook. + +.. code-block:: python + + from tljh.hooks import hookimpl + + @hookimpl + def tljh_extra_user_conda_channels(): + return [ + 'conda-forge', + 'bioconda', + 'fastai', + ] Publishing plugins