diff --git a/CLAUDE.md b/CLAUDE.md index 694baac..fc29dd0 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -196,7 +196,7 @@ since the rows differ in the image cell. Wiring: `make sef` c14n's `client.xsl`+`overrides.xsl` and compiles the SEF against the pinned image's `static/` tree; `docker-compose.yml` bind-mounts the four files (`layout.xsl`, `overrides.xsl` under `static/xsl/`; `client.xsl`, - `client.xsl.sef.json` under `static/com/ltlod/xsl/`). Rebuild the SEF + recreate + `client.xsl.sef.json` under `static/lt/linkeddata/xsl/`). Rebuild the SEF + recreate the container after editing any of them — `docker compose restart linkeddatahub` does NOT pick up an edited mount (it keeps serving the stylesheet compiled at the previous start); `docker compose up -d --force-recreate linkeddatahub` does, and diff --git a/docker-compose.override.yml b/docker-compose.override.yml index ecf99b1..b888f89 100644 --- a/docker-compose.override.yml +++ b/docker-compose.override.yml @@ -8,14 +8,14 @@ services: # linkeddatahub.com pattern — see CLAUDE.md "XSLT overrides". layout.xsl # replaces the stock end-user ac:stylesheet target (static/xsl/layout.xsl) # and imports overrides.xsl from its own dir; client.xsl + its compiled SEF - # live under static/com/ltlod/xsl/ (repointed by layout.xsl's xhtml:Script). + # live under static/lt/linkeddata/xsl/ (repointed by layout.xsl's xhtml:Script). # Rebuild the SEF (`make sef`) and recreate this container after editing any # of them. Not :ro on layout.xsl — LDH's InstallPackage endpoint appends to it. volumes: - ./files/layout.xsl:/usr/local/tomcat/webapps/ROOT/static/xsl/layout.xsl - ./files/overrides.xsl:/usr/local/tomcat/webapps/ROOT/static/xsl/overrides.xsl:ro - - ./files/client.xsl:/usr/local/tomcat/webapps/ROOT/static/com/ltlod/xsl/client.xsl:ro - - ./files/client.xsl.sef.json:/usr/local/tomcat/webapps/ROOT/static/com/ltlod/xsl/client.xsl.sef.json:ro + - ./files/client.xsl:/usr/local/tomcat/webapps/ROOT/static/lt/linkeddata/xsl/client.xsl:ro + - ./files/client.xsl.sef.json:/usr/local/tomcat/webapps/ROOT/static/lt/linkeddata/xsl/client.xsl.sef.json:ro # one-off bulk loader: `make load` runs it with fuseki-end-user stopped. # The fuseki image bundles the full Jena CLI inside the fuseki-server jar. # Committed TriG is base-relative with no @base; resolve it against the diff --git a/files/layout.xsl b/files/layout.xsl index bf94e9e..82807e3 100644 --- a/files/layout.xsl +++ b/files/layout.xsl @@ -48,7 +48,7 @@ - +