Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for get_mkdocs_material_langs (0.22 sec)

  1. scripts/mkdocs_hooks.py

        docs_dir_path = Path(docs_dir)
        missing_translation_path = docs_dir_path.parent.parent / "missing-translation.md"
        return missing_translation_path.read_text(encoding="utf-8")
    
    
    @lru_cache
    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")]
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 5.1K bytes
    - Viewed (0)
Back to top