Fix sx docs load_sx_dir path to point to sxc/ not sxc/pages/
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 33s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 33s
The .sx component files (home.sx, docs.sx, etc.) live in sxc/, but the path was pointing to sxc/pages/ after the move from sx_components.py. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -24,7 +24,7 @@ def _load_sx_page_files() -> None:
|
|||||||
from shared.sx.jinja_bridge import load_service_components
|
from shared.sx.jinja_bridge import load_service_components
|
||||||
base = os.path.dirname(os.path.dirname(__file__))
|
base = os.path.dirname(os.path.dirname(__file__))
|
||||||
load_service_components(base, service_name="sx")
|
load_service_components(base, service_name="sx")
|
||||||
_sxc_dir = os.path.dirname(__file__)
|
_sxc_dir = os.path.dirname(os.path.dirname(__file__))
|
||||||
load_sx_dir(_sxc_dir)
|
load_sx_dir(_sxc_dir)
|
||||||
watch_sx_dir(_sxc_dir)
|
watch_sx_dir(_sxc_dir)
|
||||||
load_page_dir(os.path.dirname(__file__), "sx")
|
load_page_dir(os.path.dirname(__file__), "sx")
|
||||||
|
|||||||
Reference in New Issue
Block a user