Skip to content

Commit b95dbcf

Browse files
namedgraphclaude
andcommitted
Lead paragraphs across the docs take the design system's own primitive
106 p.lede become p.ldh-body-lg in 57 documents, and docs.css drops the .docs-main p.lede rule that carried them. The class was documentation-local: it resolved only under the static site's .docs-main wrapper, so the same rdf:XMLLiteral bodies rendered a lead paragraph on the generated site and plain body text inside LinkedDataHub, which links no docs.css and has no delivery path for one. .ldh-body-lg is defined in colors_and_type.css, which both contexts link, so one class now serves both. It also corrects a size drift. docs.css set the lead to --fs-lg, which the scale's own role map reserves for headings; --fs-md is the size that map assigns to lead paragraphs, and the m3 skin maps .ldh-body-lg to Material Body Large 16/24. The hero's .lede stays as it is: app.css scopes that rule to .ldh-hero, where linkeddatahub.com's homepage nests it correctly. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSRUJBNKKjdgJeP3qRZTPd
1 parent cb98f3e commit b95dbcf

58 files changed

Lines changed: 106 additions & 107 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎docs/about.ttl‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<#content> a ldh:XHTML ;
1212
rdf:value """<div xmlns="http://www.w3.org/1999/xhtml">
13-
<p class="lede">LinkedDataHub is a Knowledge Graph application platform by
13+
<p class="ldh-body-lg">LinkedDataHub is a Knowledge Graph application platform by
1414
<a href="https://atomgraph.com" target="_blank">AtomGraph</a> that fully exploits the federated features of RDF and SPARQL.
1515
It can also be used as an RDF-native content management platform.</p>
1616
<p>LinkedDataHub is an open source project that has its roots in Linked Data publishing. Over time the focus has shifted to Linked Data consumption —
@@ -60,5 +60,5 @@
6060
using <a href="https://github.com/AtomGraph/Processor" target="_blank">Processor</a>.</p>
6161
<p>See the <a href="https://github.com/AtomGraph/LinkedDataHub/blob/master/CHANGELOG.md" target="_blank">CHANGELOG</a> for release notes.</p>
6262
</div>
63-
<p class="lede">Follow the <a href="../tutorial/">tutorial</a> to build your first app, then see the <a href="../extending/build-apps/">application building</a> guide for the customization and extension options.</p>
63+
<p class="ldh-body-lg">Follow the <a href="../tutorial/">tutorial</a> to build your first app, then see the <a href="../extending/build-apps/">application building</a> guide for the customization and extension options.</p>
6464
</div>"""^^rdf:XMLLiteral .

‎docs/docs.css‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
.docs-main h3 { font-size: var(--fs-xl); font-weight: var(--fw-semibold); margin: var(--sp-8) 0 var(--sp-3); }
4141
.docs-main h4 { font-size: var(--fs-lg); font-weight: var(--fw-semibold); margin: var(--sp-6) 0 var(--sp-2); }
4242
.docs-main p, .docs-main li { line-height: var(--lh-relaxed); }
43-
.docs-main p.lede { font-size: var(--fs-lg); color: var(--fg-2); line-height: var(--lh-base); }
4443
.docs-main .page-header { border-bottom: 1px solid var(--border-default); margin-bottom: var(--sp-6); padding-bottom: var(--sp-4); }
4544
.docs-main dfn { font-style: italic; font-weight: var(--fw-medium); }
4645

‎docs/extending.ttl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<#content> a ldh:XHTML ;
1313
rdf:value """<div xmlns="http://www.w3.org/1999/xhtml">
14-
<p class="lede">Extending LinkedDataHub with your own code: XSLT stylesheets, Java endpoints, Docker images</p>
14+
<p class="ldh-body-lg">Extending LinkedDataHub with your own code: XSLT stylesheets, Java endpoints, Docker images</p>
1515
<p>Everything in the <a href="../tutorial/">tutorial</a> and the <a href="../user-guide/">user guide</a> happens through the UI, the CLI and RDF files. The pages in this section pick up where low-code ends: they show how to override the rendering with your own <a href="change-layout/">XSLT stylesheet</a> and how to <a href="build-apps/">package an app</a> with custom Java endpoints and a dedicated Docker image.</p>
1616
</div>"""^^rdf:XMLLiteral .
1717

‎docs/extending/build-apps.ttl‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<#content> a ldh:XHTML ;
1212
rdf:value """<div xmlns="http://www.w3.org/1999/xhtml">
13-
<p class="lede">Extend LinkedDataHub with custom Docker images, Java endpoints and XSLT stylesheets</p>
13+
<p class="ldh-body-lg">Extend LinkedDataHub with custom Docker images, Java endpoints and XSLT stylesheets</p>
1414
<p>Every component in LinkedDataHub is data-driven and was designed with extensibility in mind. You can override behavior (e.g. Java method or XSLT template) without having to modify LinkedDataHub's
1515
codebase, and more importantly, without having to write the same logic from scratch.</p>
1616
<p>If you are building your first app, start with the <a href="../../tutorial/">tutorial</a> — this guide covers the layers beyond it.</p>
@@ -109,5 +109,5 @@ COPY files/style.css /usr/local/tomcat/webapps/ROOT/static/com/example/myapp/cs
109109
<p>You can also modify or extend the <a href="../../reference/dataset/#default-datasets">default RDF datasets</a> used by LinkedDataHub. However, a better practice is to use the
110110
<a href="../../reference/command-line-interface/">CLI</a> to create documents and to <a href="../../reference/imports/">import CSV and RDF data</a>.</p>
111111
<p><a href="https://github.com/AtomGraph/LinkedDataHub-Apps" target="_blank">See the LinkedDataHub app repository for more examples.</a></p>
112-
<p class="lede">Continue with the <a href="../change-layout/">Change layout</a> guide or see how these layers fit together in the <a href="../../tutorial/beyond-low-code/">Beyond low-code</a> tutorial.</p>
112+
<p class="ldh-body-lg">Continue with the <a href="../change-layout/">Change layout</a> guide or see how these layers fit together in the <a href="../../tutorial/beyond-low-code/">Beyond low-code</a> tutorial.</p>
113113
</div>"""^^rdf:XMLLiteral .

‎docs/extending/change-layout.ttl‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<#content> a ldh:XHTML ;
1212
rdf:value """<div xmlns="http://www.w3.org/1999/xhtml">
13-
<p class="lede">How to customize an application's layout and the way its resources are rendered</p>
13+
<p class="ldh-body-lg">How to customize an application's layout and the way its resources are rendered</p>
1414
<p>LinkedDataHub's user interface is simply a rendering of the underlying Linked Data resource descriptions, which are exposed via the <a href="../../reference/http-api/" target="_blank">HTTP API</a>.</p>
1515
<p>LinkedDataHub provides <a href="../../reference/stylesheets/" target="_blank">XSLT stylesheets</a> that render a default UI layout. When building an application, however, you may want a custom
1616
layout. The recommended approach is a new stylesheet that imports the system stylesheet and overrides only the templates you need, reusing the rest of the layout.</p>
@@ -99,5 +99,5 @@ exclude-result-prefixes="#all"&gt;
9999
<p>Screenshot: the order page after suppression — order description and total only, line items hidden</p>
100100
</div>
101101
</div>
102-
<p class="lede">Read more about the <a href="../../reference/stylesheets/">XSLT stylesheets</a> or continue with the <a href="../build-apps/">Build apps</a> guide.</p>
102+
<p class="ldh-body-lg">Read more about the <a href="../../reference/stylesheets/">XSLT stylesheets</a> or continue with the <a href="../build-apps/">Build apps</a> guide.</p>
103103
</div>"""^^rdf:XMLLiteral .

‎docs/get-started.ttl‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,27 @@
1111

1212
<#content> a ldh:XHTML ;
1313
rdf:value """<div xmlns="http://www.w3.org/1999/xhtml">
14-
<p class="lede">Install LinkedDataHub, log in with a WebID, and request access to a dataspace</p>
14+
<p class="ldh-body-lg">Install LinkedDataHub, log in with a WebID, and request access to a dataspace</p>
1515
<p>If you are wondering what LinkedDataHub is and what it can do, start with <a href="../about/">About LinkedDataHub</a>. The running example
1616
throughout the documentation is the <a href="https://github.com/AtomGraph/LinkedDataHub-Apps/tree/master/demo/northwind-traders" target="_blank">Northwind Traders demo app</a> — the iconic sample database as an RDF Knowledge Graph, running live at
1717
<a href="https://northwind-traders.demo.linkeddatahub.com/" target="_blank">northwind-traders.demo.linkeddatahub.com</a>.</p>
1818
<div>
1919
<h2 id="setup">Setup</h2>
2020
<p>Setup is only required if you plan to run your own instance of LinkedDataHub. It takes a few steps: create a configuration file and run a
2121
<code>make</code> command.</p>
22-
<p class="lede"><a href="setup/">Read setup instructions.</a></p>
22+
<p class="ldh-body-lg"><a href="setup/">Read setup instructions.</a></p>
2323
<p>If you want to use an existing instance of LinkedDataHub, proceed to the next step.</p>
2424
</div>
2525
<div>
2626
<h2 id="get-an-account">Get an account</h2>
2727
<p>With LinkedDataHub, you obtain a WebID and use its client certificate for authentication. You can obtain the WebID either by setting up your own instance or signing up on
2828
an existing instance. Alternatively, you can authenticate using your Google or ORCID login.</p>
29-
<p class="lede"><a href="get-an-account/">Read instructions on getting an account.</a></p>
29+
<p class="ldh-body-lg"><a href="get-an-account/">Read instructions on getting an account.</a></p>
3030
</div>
3131
<div>
3232
<h2 id="request-access">Request access</h2>
3333
<p>After you log in to (authenticate with) a LinkedDataHub instance, the next step is getting an authorization from its owners that allows you to view and possibly append or edit documents. That is done by issuing an access request.</p>
34-
<p class="lede"><a href="request-access/">Read instructions on requesting access.</a></p>
34+
<p class="ldh-body-lg"><a href="request-access/">Read instructions on requesting access.</a></p>
3535
</div>
3636
<div>
3737
<h2 id="where-to-next">Where to next</h2>

‎docs/get-started/get-an-account.ttl‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<#content> a ldh:XHTML ;
1212
rdf:value """<div xmlns="http://www.w3.org/1999/xhtml">
13-
<p class="lede">How to get an account and log in to LinkedDataHub</p>
13+
<p class="ldh-body-lg">How to get an account and log in to LinkedDataHub</p>
1414
<div>
1515
<div class="ac-alert va-informative" role="status">
1616
<span class="ac-alert-ic"><span aria-hidden="true" class="msi outline">info</span></span>
@@ -110,5 +110,5 @@
110110
</div>
111111
</div>
112112
</div>
113-
<p class="lede">Signed in? Next, <a href="../request-access/">request access</a> to the documents you need.</p>
113+
<p class="ldh-body-lg">Signed in? Next, <a href="../request-access/">request access</a> to the documents you need.</p>
114114
</div>"""^^rdf:XMLLiteral .

‎docs/get-started/request-access.ttl‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<#content> a ldh:XHTML ;
1212
rdf:value """<div xmlns="http://www.w3.org/1999/xhtml">
13-
<p class="lede">How to get access to an application</p>
13+
<p class="ldh-body-lg">How to get access to an application</p>
1414
<div>
1515
<p>After you have logged in to LinkedDataHub, by default you do not have access rights to view or edit the documents in the dataspace. The owner of the dataspace has to create
1616
an explicit authorization to allow access for you.</p>
@@ -23,5 +23,5 @@
2323
<p>The submitted request is itself an RDF resource in the admin application; the owner accepts it by creating the matching
2424
<a href="../../reference/administration/acl/#authorizations">authorization</a>. The <a href="../../reference/administration/acl/#auth-requests">ACL reference</a> shows its shape.</p>
2525
</div>
26-
<p class="lede">Once the owner accepts your request, continue with the <a href="../../tutorial/">tutorial</a> or the <a href="../../user-guide/">user guide</a>.</p>
26+
<p class="ldh-body-lg">Once the owner accepts your request, continue with the <a href="../../tutorial/">tutorial</a> or the <a href="../../user-guide/">user guide</a>.</p>
2727
</div>"""^^rdf:XMLLiteral .

‎docs/get-started/setup.ttl‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<#content> a ldh:XHTML ;
1212
rdf:value """<div xmlns="http://www.w3.org/1999/xhtml">
13-
<p class="lede">Set up LinkedDataHub on your local machine with Docker</p>
13+
<p class="ldh-body-lg">Set up LinkedDataHub on your local machine with Docker</p>
1414
<div class="screenshot-placeholder">
1515
<span aria-hidden="true" class="msi">play_circle</span>
1616
<p>Screen recording: setting up LinkedDataHub with Docker</p>
@@ -124,5 +124,5 @@ OWNER_COUNTRY_NAME=DK</pre>
124124
</div>
125125
</div>
126126
</div>
127-
<p class="lede">Is LinkedDataHub running? Proceed to <a href="../get-an-account/">get an account</a>.</p>
127+
<p class="ldh-body-lg">Is LinkedDataHub running? Proceed to <a href="../get-an-account/">get an account</a>.</p>
128128
</div>"""^^rdf:XMLLiteral .

‎docs/reference.ttl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<#content> a ldh:XHTML ;
1313
rdf:value """<div xmlns="http://www.w3.org/1999/xhtml">
14-
<p class="lede">Feature-by-feature reference for the LinkedDataHub platform, its data model, HTTP API and administration</p>
14+
<p class="ldh-body-lg">Feature-by-feature reference for the LinkedDataHub platform, its data model, HTTP API and administration</p>
1515
<p>The concept pages describe the <a href="dataspace/">dataspace</a>, its <a href="dataset/">dataset</a> and the <a href="data-model/">data model</a>.
1616
The interface pages cover the <a href="user-interface/">user interface</a>, the <a href="http-api/">HTTP API</a> and the <a href="command-line-interface/">command line interface</a>.
1717
Customization is covered by the <a href="stylesheets/">stylesheets</a> and <a href="imports/">imports</a> pages,

0 commit comments

Comments
 (0)