Skip to content

Commit 0657235

Browse files
committed
fix: update sync_docs.py to use .yaml extensions
1 parent 701cee8 commit 0657235

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

scripts/sync_docs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ def discover_images() -> dict:
146146
images = {}
147147
for repo_path in sorted(REPOS_DIR.iterdir()):
148148
if not repo_path.is_dir() or repo_path.name in SKIP_REPOS: continue
149-
m_file = repo_path / ".daemonless" / "config.yml"
150-
if not m_file.exists(): m_file = repo_path / ".daemonless.yml"
149+
m_file = repo_path / ".daemonless" / "config.yaml"
150+
if not m_file.exists(): m_file = repo_path / ".daemonless.yaml"
151151
c_file = repo_path / "Containerfile"
152152
file_m = parse_metadata_file(m_file) if m_file.exists() else {}
153153
cont_m = parse_containerfile_labels(c_file) if c_file.exists() else {}
@@ -157,7 +157,7 @@ def discover_images() -> dict:
157157
return images
158158

159159
def update_mkdocs_yml(images: dict):
160-
mkdocs_path = REPO_ROOT / "mkdocs.yml"
160+
mkdocs_path = REPO_ROOT / "mkdocs.yaml"
161161
lines = mkdocs_path.read_text().splitlines()
162162
new_lines, in_images, processed = [], False, False
163163
for line in lines:

0 commit comments

Comments
 (0)