get_mkdocs_material_langs() — fastapi Function Reference
Architecture documentation for the get_mkdocs_material_langs() function in mkdocs_hooks.py from the fastapi codebase.
Entity Profile
Dependency Diagram
graph TD 5c70712c_f93a_f5ce_48af_6ccb9ee98a1b["get_mkdocs_material_langs()"] 566dbae4_46de_4e4a_0ed4_0c59e40fbcf8["mkdocs_hooks.py"] 5c70712c_f93a_f5ce_48af_6ccb9ee98a1b -->|defined in| 566dbae4_46de_4e4a_0ed4_0c59e40fbcf8 8a014fc2_a028_b55f_fe7f_bc250428ead2["on_config()"] 8a014fc2_a028_b55f_fe7f_bc250428ead2 -->|calls| 5c70712c_f93a_f5ce_48af_6ccb9ee98a1b style 5c70712c_f93a_f5ce_48af_6ccb9ee98a1b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
scripts/mkdocs_hooks.py lines 41–45
def get_mkdocs_material_langs() -> list[str]:
material_path = Path(material.__file__).parent
material_langs_path = material_path / "templates" / "partials" / "languages"
langs = [file.stem for file in material_langs_path.glob("*.html")]
return langs
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does get_mkdocs_material_langs() do?
get_mkdocs_material_langs() is a function in the fastapi codebase, defined in scripts/mkdocs_hooks.py.
Where is get_mkdocs_material_langs() defined?
get_mkdocs_material_langs() is defined in scripts/mkdocs_hooks.py at line 41.
What calls get_mkdocs_material_langs()?
get_mkdocs_material_langs() is called by 1 function(s): on_config.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free