Skip to content

Commit

Permalink
satisfy linter
Browse files Browse the repository at this point in the history
  • Loading branch information
rose-a authored and ultrabug committed Mar 5, 2024
1 parent e1b9083 commit 0b492e1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions mkdocs_static_i18n/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,13 @@ def on_config(self, config: MkDocsConfig):

# reconfigure the mkdocs config
config = self.reconfigure_mkdocs_config(config)

# manually trigger with-pdf, to apply language specific overrides
with_pdf_plugin = config.plugins.get("with-pdf")
if with_pdf_plugin:
config = with_pdf_plugin.on_config(config)

return config



@plugins.event_priority(-100)
def on_files(self, files: Files, config: MkDocsConfig):
Expand Down

0 comments on commit 0b492e1

Please sign in to comment.