@@ -62,7 +62,7 @@ def __init__(self, mkdocs_config: MkDocsConfig, switch_force: bool = True) -> No
6262 self .IS_SOCIAL_PLUGIN_CARDS_ENABLED ,
6363 ]
6464 )
65- self .IS_INSIDERS = self .is_theme_material_insiders ()
65+ self .IS_INSIDERS = self .is_mkdocs_theme_material_insiders ()
6666
6767 # except if the end-user wants to disable it
6868 if switch_force is False :
@@ -83,7 +83,7 @@ def __init__(self, mkdocs_config: MkDocsConfig, switch_force: bool = True) -> No
8383 mkdocs_config = mkdocs_config
8484 )
8585
86- def is_theme_material (self , mkdocs_config : MkDocsConfig ) -> bool :
86+ def is_mkdocs_theme_material (self , mkdocs_config : MkDocsConfig ) -> bool :
8787 """Check if the theme set in mkdocs.yml is material or not.
8888
8989 Args:
@@ -95,7 +95,7 @@ def is_theme_material(self, mkdocs_config: MkDocsConfig) -> bool:
9595 self .IS_THEME_MATERIAL = mkdocs_config .theme .name == "material"
9696 return self .IS_THEME_MATERIAL
9797
98- def is_theme_material_insiders (self ) -> bool | None :
98+ def is_mkdocs_theme_material_insiders (self ) -> bool | None :
9999 """Check if the material theme is community or insiders edition.
100100
101101 Returns:
@@ -121,7 +121,7 @@ def is_social_plugin_enabled_mkdocs(self, mkdocs_config: MkDocsConfig) -> bool:
121121 Returns:
122122 bool: True if the theme material and the plugin social cards is enabled.
123123 """
124- if not self .is_theme_material (mkdocs_config = mkdocs_config ):
124+ if not self .is_mkdocs_theme_material (mkdocs_config = mkdocs_config ):
125125 logger .debug ("Installed theme is not 'material'. Integration disabled." )
126126 return False
127127
0 commit comments