mirror of
https://github.com/mkdocs/mkdocs.git
synced 2026-03-27 09:58:31 +07:00
Replace the global variable `mkdocs.config.DEFAULT_SCHEMA` with the function `mkdocs.config.defaults.get_schema()`. An instance is no longer created on import (eliminating circular imports under certain circumstances) and each call to `get_schema()` builds a new instance of each object. Fixes #2289.
5 lines
113 B
Python
5 lines
113 B
Python
from mkdocs.config.base import load_config, Config
|
|
|
|
__all__ = [load_config.__name__,
|
|
Config.__name__]
|