Merge branch 'worktree-macros-essays' into macros

This commit is contained in:
2026-03-04 16:14:29 +00:00
3 changed files with 10 additions and 8 deletions

View File

@@ -22,9 +22,9 @@ def _load_sx_page_files() -> None:
"""Load defpage definitions from sx/sxc/pages/*.sx."""
from shared.sx.pages import load_page_dir
from shared.sx.jinja_bridge import load_service_components
base = os.path.dirname(os.path.dirname(__file__))
load_service_components(base, service_name="sx")
_sxc_dir = os.path.dirname(os.path.dirname(__file__))
_sxc_dir = os.path.dirname(os.path.dirname(__file__)) # sx/sxc/
service_root = os.path.dirname(_sxc_dir) # sx/
load_service_components(service_root, service_name="sx")
load_sx_dir(_sxc_dir)
watch_sx_dir(_sxc_dir)
load_page_dir(os.path.dirname(__file__), "sx")