Skip to content

Commit 8355ef8

Browse files
committed
fixed a few spelling typos in comments
1 parent 8bd8299 commit 8355ef8

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

mkdocs_rss_plugin/integrations/theme_material_social_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class IntegrationMaterialSocialCards:
3434
IS_THEME_MATERIAL: bool = False
3535

3636
def __init__(self, mkdocs_config: Config, switch_force: bool = True) -> None:
37-
"""Integration instanciation.
37+
"""Integration instantiation.
3838
3939
Args:
4040
mkdocs_config (Config): Mkdocs website configuration object.

mkdocs_rss_plugin/plugin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class GitRssPlugin(BasePlugin[RssPluginConfig]):
5656
supports_multiple_instances = True
5757

5858
def __init__(self):
59-
"""Instanciation."""
59+
"""Instantiation."""
6060
# pages storage
6161
self.pages_to_filter: list = []
6262
# prepare output feeds
@@ -98,7 +98,7 @@ def on_config(self, config: MkDocsConfig) -> MkDocsConfig:
9898
switch_force=self.config.use_material_social_cards,
9999
)
100100

101-
# instanciate plugin tooling
101+
# instantiate plugin tooling
102102
self.util = Util(
103103
use_git=self.config.use_git,
104104
integration_material_social_cards=self.integration_material_social_cards,

mkdocs_rss_plugin/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ def get_site_url(mkdocs_config: MkDocsConfig) -> str | None:
668668
:rtype: str or None
669669
"""
670670
# this method exists because the following line returns an empty string instead of \
671-
# None (because the key alwayus exists)
671+
# None (because the key always exists)
672672
defined_site_url = mkdocs_config.site_url
673673

674674
# cases

tests/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def get_plugin_config_from_mkdocs(
4545
not enabled into the mkdocs.yml.
4646
:rtype: Config
4747
"""
48-
# instanciate plugin
48+
# instantiate plugin
4949
cfg_mkdocs = load_config(str(mkdocs_yml_filepath.resolve()))
5050

5151
plugins = cfg_mkdocs.plugins

0 commit comments

Comments
 (0)