conda-forge / conda-smithy

The tool for managing conda-forge feedstocks.
https://conda-forge.org/
BSD 3-Clause "New" or "Revised" License
147 stars 177 forks source link

Docs: conda-forge.yml bot.inspection explanation gone #1861

Closed ytausch closed 5 months ago

ytausch commented 5 months ago

Comment:

As far as I see, https://github.com/conda-forge/conda-forge.github.io/pull/2095 removed the documentation for the bot.inspection field values of the conda-forge.yml file.

Old docs: https://github.com/conda-forge/conda-forge.github.io/blob/81b3f247a5e08e9a0cd31de84c77e961f0aae2ee/docs/maintainer/conda_forge_yml.md#bot

New docs: https://conda-forge.org/docs/maintainer/conda_forge_yml/#bot

@jaimergp

jaimergp commented 5 months ago

Oops, sorry, yes! We should add that to this block:

https://github.com/conda-forge/conda-smithy/blob/85ddb5deabda9ab58ae6ec898e2a1e33393117b7/conda_smithy/schema.py#L586-L608

In the future I hope I can find the way to elegantly describe Enum choices in the schema, and render that in the website in a readable way. Maybe with something like:

class EnumChoice(StrEnum):
    value = "Description of this option"

In combination with one the APIs discussed in this SO answer.