def __init__(
        self: SubConfig[SomeConfig], config_class: type[SomeConfig], /, *, validate: bool = True
    ):
        """Create a sub-config in a type-safe way, using fields defined in a Config subclass."""
Create a sub-config in a type-safe way, using fields defined in a Config subclass.
mkdocs/config/config_options.py