MCPcopy
hub / github.com/mkdocs/mkdocs / dedent

Function dedent

mkdocs/tests/base.py:15–16  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

13
14
15def dedent(text):
16 return textwrap.dedent(text).strip()
17
18
19def get_markdown_toc(markdown_source):

Callers 15

test_find_toc_by_idMethod · 0.90
test_pageMethod · 0.90
test_unicode_yamlMethod · 0.90
test_env_var_in_yamlMethod · 0.90
test_mm_meta_dataMethod · 0.90
test_yaml_meta_dataMethod · 0.90
test_no_meta_dataMethod · 0.90
test_indented_tocMethod · 0.90

Calls

no outgoing calls

Tested by 15

test_find_toc_by_idMethod · 0.72
test_pageMethod · 0.72
test_unicode_yamlMethod · 0.72
test_env_var_in_yamlMethod · 0.72
test_mm_meta_dataMethod · 0.72
test_yaml_meta_dataMethod · 0.72
test_no_meta_dataMethod · 0.72
test_indented_tocMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…