From 5ac3cd601e8f4bc6d3b3fc3b2a09406efadf5909 Mon Sep 17 00:00:00 2001 From: Steve LLamb <38917682+SteveLLamb@users.noreply.github.com> Date: Fri, 23 Jan 2026 13:07:30 -0800 Subject: [PATCH 1/8] Add numbering to terms --- smpte.js | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/smpte.js b/smpte.js index c3daca0..408fe2a 100644 --- a/smpte.js +++ b/smpte.js @@ -1194,6 +1194,36 @@ function numberExamples() { } } +function numberTerms() { + const termsSection = document.getElementById("sec-terms-and-definitions"); + const terms = document.getElementById("terms-int-defs"); + if (!termsSection || !terms) return; + + // Clause number for the Terms and definitions section (e.g. "4") + const sectionNumberEl = termsSection.querySelector(":scope > h2 .heading-number"); + const sectionNumber = sectionNumberEl ? sectionNumberEl.innerText.trim() : ""; + + let counter = 1; + + for (const child of terms.children) { + if (child.localName !== "dt") continue; + + // If multiple
occur in a row, only number the first one + const prev = child.previousElementSibling; + if (prev && prev.localName === "dt") continue; + + const labelValue = sectionNumber ? `${sectionNumber}.${counter++}` : `${counter++}`; + + const numLine = document.createElement("span"); + numLine.className = "heading-number term-number"; + numLine.innerText = labelValue; + + // Number on its own line above the term + child.insertBefore(document.createElement("br"), child.firstChild); + child.insertBefore(numLine, child.firstChild); + } +} + function _normalizeTerm(term) { return term.trim().toLowerCase().replace(/\s+/g," "); } @@ -1457,6 +1487,7 @@ async function render() { numberFormulae(); numberNotes(); numberExamples(); + numberTerms(); resolveLinks(docMetadata); insertTOC(docMetadata); addHeadingLinks(docMetadata); From e5d3281904e7a898af2dc941beb55659a818a3f2 Mon Sep 17 00:00:00 2001 From: Steve LLamb <38917682+SteveLLamb@users.noreply.github.com> Date: Fri, 23 Jan 2026 13:11:18 -0800 Subject: [PATCH 2/8] remove dup words, closes #365 --- doc/main.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/main.html b/doc/main.html index 22e4b5c..da5bde8 100644 --- a/doc/main.html +++ b/doc/main.html @@ -1277,7 +1277,7 @@

Formulae

Special Characters

-

Characters should should be encoded as UTF-8-encoded Unicode codepoints, e.g. あ, instead of HTML entities, e.g. &#x3042;, except as needed for usage in pre or examples. +

Characters should be encoded as UTF-8-encoded Unicode codepoints, e.g. あ, instead of HTML entities, e.g. &#x3042;, except as needed for usage in pre or examples.

@@ -2210,7 +2210,7 @@

Pull Request Guidelines

Generally, no changes to a document shall ever be made directly on the main branch, which doesn't allow the tooling to create needed redlines. Instead, changes (regardless of the nature of the change) shall always be made on a new branch and managed via a PR (Pull Request). Each PR is then merged to main after approval, as noted below in at the various stages.

-

PRs should have at least (1) approver that is not the the person requesting the PR. This can be the DG chair, TC chair, commentor, or secondary editor, depending on nature of the PR. For instance, on ballot state change PRs, this should be the DG or TC chair, and for publication state PRs, the TC chairs. See for more details.

+

PRs should have at least (1) approver that is not the person requesting the PR. This can be the DG chair, TC chair, commentor, or secondary editor, depending on nature of the PR. For instance, on ballot state change PRs, this should be the DG or TC chair, and for publication state PRs, the TC chairs. See for more details.

From bef2e770869833682b3da0fd310cfcb30984e06b Mon Sep 17 00:00:00 2001 From: Steve LLamb <38917682+SteveLLamb@users.noreply.github.com> Date: Mon, 26 Jan 2026 11:50:56 -0800 Subject: [PATCH 3/8] closes #351 --- doc/main.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/main.html b/doc/main.html index da5bde8..8ece6f1 100644 --- a/doc/main.html +++ b/doc/main.html @@ -2217,7 +2217,7 @@

Pull Request Guidelines

Sample Workflow

- The below list shows a sample workflow which would be the steps for an Engineering Document going through the an initial draft or revision and the balloting process. + The below list shows a sample workflow which would be the steps for an Engineering Document going through an initial draft or revision and the balloting process.

Editors and Chairs should be aware of the general guidelines provided in the . From 2139677590693d7cea19135ddd1bbcb73b8c9830 Mon Sep 17 00:00:00 2001 From: Steve LLamb <38917682+SteveLLamb@users.noreply.github.com> Date: Mon, 26 Jan 2026 11:56:57 -0800 Subject: [PATCH 4/8] fix codosumentation, closes #359 --- doc/main.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/main.html b/doc/main.html index 8ece6f1..9cc89d0 100644 --- a/doc/main.html +++ b/doc/main.html @@ -452,7 +452,7 @@

RDD

When pubType is set to RDD, the Foreword section shall be present and there there shall be a single dl, after any author-supplied prose if supplied, which contains contact information about the proponent(s) of the RDD document.

The id attribute shall be present on the dl element and equal to - rdd-proponent.

+ element-proponent.

If present, the dl element shall use a single dt element for each company name designated as a Proponent of the document, and multiple lines of dd as needed for contact information for each company listed. The contact infomation should at least include an address and email, reach out to SMPTE HO for further deatails.

@@ -460,7 +460,7 @@
RDD
 <section id="sec-foreword">
   <p>This is the additional information relevant to the document.</p>
-  <dl id="rdd-proponent">
+  <dl id="element-proponent">
     <dt>Company 1 Name Here</dt>
       <dd>Contact Name</dd>
       <dd>Company Address</dd>

From 4adf76fb644c3b6e75c0964b7f20469d1ef36465 Mon Sep 17 00:00:00 2001
From: Steve LLamb <38917682+SteveLLamb@users.noreply.github.com>
Date: Mon, 26 Jan 2026 11:59:28 -0800
Subject: [PATCH 5/8] closes #342

---
 doc/main.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/main.html b/doc/main.html
index 9cc89d0..572513f 100644
--- a/doc/main.html
+++ b/doc/main.html
@@ -1592,7 +1592,7 @@ 

Column Alignment

Cell Alignment

- To change the alignment of a individual cell, the class center-cell may be added to each td as needed, as the below example shows. + To change the alignment of an individual cell, the class center-cell may be added to each td as needed, as the below example shows.



From 9b649b43e469252b5a5959cc19ff96746e7f649e Mon Sep 17 00:00:00 2001
From: Steve LLamb <38917682+SteveLLamb@users.noreply.github.com>
Date: Mon, 26 Jan 2026 12:21:56 -0800
Subject: [PATCH 6/8] closes #341

---
 doc/main.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/main.html b/doc/main.html
index 572513f..0a9d1da 100644
--- a/doc/main.html
+++ b/doc/main.html
@@ -1480,7 +1480,7 @@ 

Amazon AWS integration

AWS_S3_BUCKET -

The contents of the bucket is also made available through a Cloudfront distribution, which allows the publication artifacts +

The contents of the bucket are also made available through a Cloudfront distribution, which allows the publication artifacts to be made available through a custom domain name and TLS (currently https://doc.smpte-doc.org/).

From f5a6b6be449f73df00c5fee7518d7df8fbc50b13 Mon Sep 17 00:00:00 2001 From: Steve LLamb <38917682+SteveLLamb@users.noreply.github.com> Date: Mon, 26 Jan 2026 12:25:07 -0800 Subject: [PATCH 7/8] reworded, closes #340 --- doc/main.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/main.html b/doc/main.html index 0a9d1da..90e1af5 100644 --- a/doc/main.html +++ b/doc/main.html @@ -1356,7 +1356,7 @@

Building

  • Uploading the rendered document and corresponding redlines to S3
  • -

    The build process is carried by the build script scripts/build.mjs, which is usually executed by the +

    The build process carried by the build script scripts/build.mjs is usually executed by the GitHub workflow (see ). The script has the following dependencies: