def __new__(cls, *args, **kwargs) -> Config:
        """Compatibility: allow referring to `LegacyConfig(...)` constructor as `Config(...)`."""
        if cls is Config:
            return LegacyConfig(*args, **kwargs)
        return super().__new__(cls)
Compatibility: allow referring to `LegacyConfig(...)` constructor as `Config(...)`.
mkdocs/config/base.py