41
41
REMOTE_REQUEST_HEADERS ,
42
42
)
43
43
from mkdocs_rss_plugin .git_manager .ci import CiHandler
44
+ from mkdocs_rss_plugin .integrations .theme_material_blog_plugin import (
45
+ IntegrationMaterialBlog ,
46
+ )
44
47
from mkdocs_rss_plugin .integrations .theme_material_social_plugin import (
45
48
IntegrationMaterialSocialCards ,
46
49
)
@@ -67,6 +70,7 @@ class Util:
67
70
def __init__ (
68
71
self ,
69
72
cache_dir : Path = DEFAULT_CACHE_FOLDER ,
73
+ integration_material_blog : Optional [IntegrationMaterialBlog ] = None ,
70
74
integration_material_social_cards : Optional [
71
75
IntegrationMaterialSocialCards
72
76
] = None ,
@@ -79,6 +83,8 @@ def __init__(
79
83
Args:
80
84
path (str, optional): path to the git repository to use. Defaults to ".".
81
85
use_git (bool, optional): flag to use git under the hood or not. Defaults to True.
86
+ integration_material_blog (bool, optional): option to enable
87
+ integration with Blog plugin from Material theme. Defaults to True.
82
88
integration_material_social_cards (bool, optional): option to enable
83
89
integration with Social Cards plugin from Material theme. Defaults to True.
84
90
"""
@@ -128,6 +134,7 @@ def __init__(
128
134
self .use_git = use_git
129
135
130
136
# save integrations
137
+ self .material_blog = integration_material_blog
131
138
self .social_cards = integration_material_social_cards
132
139
133
140
# http/s session
0 commit comments