Skip to content

Replace TriX-based docs pipeline with single RDF/XML XSLT stylesheet#42

Merged
namedgraph merged 2 commits intomasterfrom
rf-ttl-to-html
Apr 2, 2026
Merged

Replace TriX-based docs pipeline with single RDF/XML XSLT stylesheet#42
namedgraph merged 2 commits intomasterfrom
rf-ttl-to-html

Conversation

@namedgraph
Copy link
Copy Markdown
Member

  • Replace trix-to-html.xsl + decorate-html.xsl with a single ttl-to-html.xsl
  • Convert .ttl files to RDF/XML per-file via Jena riot into a dedicated rdf/ temp folder
  • Infer document hierarchy from URI path structure instead of sioc:has_parent triples
  • Use collection() as a sidecar for nav generation only; main content from current document
  • Generate synthetic root index.html (no index.ttl exists at docs root)
  • Fix left nav (was empty in old pipeline), brand href, and uploads/ image resolution
  • Remove docs.trix (generated artefact), trix-to-html.xsl, and decorate-html.xsl

namedgraph and others added 2 commits April 2, 2026 23:08
- Replace trix-to-html.xsl + decorate-html.xsl with a single ttl-to-html.xsl
- Convert .ttl files to RDF/XML per-file via Jena riot into a dedicated rdf/ temp folder
- Infer document hierarchy from URI path structure instead of sioc:has_parent triples
- Use collection() as a sidecar for nav generation only; main content from current document
- Generate synthetic root index.html (no index.ttl exists at docs root)
- Fix left nav (was empty in old pipeline), brand href, and uploads/ image resolution
- Remove docs.trix (generated artefact), trix-to-html.xsl, and decorate-html.xsl

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add .github/workflows/publish-docs.yml: installs Jena, pulls Saxon
  Docker image, runs ttl-to-html.sh, deploys html/ to AtomGraph/LinkedDataHub
  gh-pages branch under linkeddatahub/docs/
- Replace shasum -a 1 with sha1sum in sha1map-to-xml.sh (works on both
  Linux and macOS)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@namedgraph namedgraph changed the base branch from master to develop April 2, 2026 20:19
@namedgraph namedgraph changed the base branch from develop to master April 2, 2026 20:20
@namedgraph namedgraph merged commit 0aea500 into master Apr 2, 2026
@namedgraph namedgraph deleted the rf-ttl-to-html branch April 2, 2026 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant