diff --git a/docs/maintainer/conda_forge_yml.md b/docs/maintainer/conda_forge_yml.md index 4a8ccbfc2f..42a8a7e431 100644 --- a/docs/maintainer/conda_forge_yml.md +++ b/docs/maintainer/conda_forge_yml.md @@ -241,22 +241,18 @@ allowed here. ### channels -This represents the channels to grab packages from during builds and -which channels/labels to push to on anaconda.org after a package -has been built. The `channels` variable is a mapping with -`sources` and `targets`, as follows: - -```yaml -channels: - # sources selects the channels to pull packages from, in order. - sources: - - conda-forge - - defaults - # targets is a list of 2-lists, where the first element is the - # channel to push to and the second element is the label on that channel - targets: - - ["conda-forge", "main"] +:::warning +This parameter has been deprecated. Instead, specify channels in `recipe/conda_build_config.yaml` +using `channel_sources` and `channel_targets`. Note that all channels go on a single +line because each line represents a build variant. + +```yaml title="recipe/conda_build_config.yaml" +channel_sources: + - mysourcechannel1,mysourcechannel2,conda-forge,defaults +channel_targets: + - target_channel target_label ``` +:::