Skip to content

Commit

Permalink
Fix dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
pushfoo committed Jan 20, 2025
1 parent 36949c9 commit 10a9f89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/sphinx_static_file_temp_fix.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
ENABLE_DEVMACHINE_SPHINX_STATIC_FIX = REPO_ROOT / ".ENABLE_DEVMACHINE_SPHINX_STATIC_FIX"

BUILD_DIR = REPO_ROOT / "build"
BUILD_HTML_DIR = BUILD_DIR / "html" / "doc"
BUILD_HTML_DIR = BUILD_DIR / "html"
BUILD_STATIC_DIR = BUILD_HTML_DIR / "_static"
BUILD_CSS_DIR = BUILD_STATIC_DIR / "css"

Expand Down Expand Up @@ -107,7 +107,7 @@ def main():
log.info(f"SKIP: Force-sync found no {ENABLE_DEVMACHINE_SPHINX_STATIC_FIX} file!")
return
elif not BUILD_HTML_DIR.exists():
log.info("Skipping force-sync due to no build dir")
log.info(f"SKIP: {BUILD_HTML_DIR} does not exist yet.")
return

log.info(f"SYNC: Force-sync enable file found")
Expand Down

0 comments on commit 10a9f89

Please sign in to comment.