MCPcopy
hub / github.com/mkdocs/mkdocs / load_dict

Method load_dict

mkdocs/config/defaults.py:205–208  ·  view source on GitHub ↗
(self, patch: dict)

Source from the content-addressed store, hash-verified

203 rely on the `page` argument to event handlers."""
204
205 def load_dict(self, patch: dict) -> None:
206 super().load_dict(patch)
207 if 'config_file_path' in patch:
208 raise base.ValidationError("Can't set config_file_path in config")
209
210 def load_file(self, config_file: IO) -> None:
211 """Load config options from the open file descriptor of a YAML file."""

Callers 8

load_configFunction · 0.95
load_configFunction · 0.95
test_empty_navMethod · 0.95
test_error_on_pagesMethod · 0.95
load_configFunction · 0.95
load_fileMethod · 0.95

Calls

no outgoing calls

Tested by 5

load_configFunction · 0.76
test_empty_navMethod · 0.76
test_error_on_pagesMethod · 0.76