mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-24 07:30:12 +01:00
Test direct GitHub Pages deployment
This commit is contained in:
parent
ade1fe9c14
commit
188d395ac7
@ -40,7 +40,7 @@ def on_page_markdown(markdown: str, *, page: Page, config: MkDocsConfig, files):
|
|||||||
# Collect all existing languages
|
# Collect all existing languages
|
||||||
names: dict[str, str] = {}
|
names: dict[str, str] = {}
|
||||||
known: dict[str, dict[str, str]] = {}
|
known: dict[str, dict[str, str]] = {}
|
||||||
for path in glob("src/templates/partials/languages/*.html"):
|
for path in glob("material/templates/partials/languages/*.html"):
|
||||||
with open(path, "r", encoding = "utf-8") as f:
|
with open(path, "r", encoding = "utf-8") as f:
|
||||||
data = f.read()
|
data = f.read()
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ def on_page_markdown(markdown: str, *, page: Page, config: MkDocsConfig, files):
|
|||||||
# Collect all existing languages
|
# Collect all existing languages
|
||||||
names: dict[str, str] = {}
|
names: dict[str, str] = {}
|
||||||
known: dict[str, dict[str, str]] = {}
|
known: dict[str, dict[str, str]] = {}
|
||||||
for path in glob("src/templates/partials/languages/*.html"):
|
for path in glob("material/templates/partials/languages/*.html"):
|
||||||
with open(path, "r", encoding = "utf-8") as f:
|
with open(path, "r", encoding = "utf-8") as f:
|
||||||
data = f.read()
|
data = f.read()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user