class_docstr: Base class for MkDocs configuration, plugin configuration (and sub-configuration) objects.
  
  It should be subclassed and have `ConfigOption`s defined as attributes.
  For examples, see mkdocs/contrib/search/__init__.py and mkdocs/config/defaults.py.
  
  Behavior as it was prior to MkDocs 1.4 is now handled by LegacyConfig.
class_docstr_tok: ["Base","class","for","MkDocs","configuration",",","plugin","configuration","(","and","sub-configuration",")","objects",".","It","should","be","subclassed","and","have","`","ConfigOption","`","s","defined","as","attributes",".","For","examples",",","see","mkdocs\/contrib\/search\/__init__.py","and","mkdocs\/config\/defaults.py",".","Behavior","as","it","was","prior","to","MkDocs","1.4","is","now","handled","by","LegacyConfig","."]
docstr: Compatibility: allow referring to `LegacyConfig(...)` constructor as `Config(...)`.
docstr_tok: ["Compatibility",":","allow","referring","to","`","LegacyConfig","(","...",")","`","constructor","as","`","Config","(","...",")","`","."]
code: 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)
  
imports: from __future__ import annotations
  import functools
  import logging
  import os
  import sys
  import warnings
  from collections import UserDict
  from contextlib import contextmanager
  from typing import IO, TYPE_CHECKING, Any, Generic, Iterator, List, Mapping, Sequence, Tuple, TypeVar, overload
  from mkdocs import exceptions, utils
  from mkdocs.utils import weak_property
label_desc: Use image node_id 2 for calling the Config obj's underlying member method code with example usage: obj.__new__(cls) and returns: super, LegacyConfig