diff --git a/doc/main.html b/doc/main.html index 22e4b5c..ed373f9 100644 --- a/doc/main.html +++ b/doc/main.html @@ -9,12 +9,12 @@ - + - +
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.
<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>
@@ -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. あ, 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. あ, except as needed for usage in pre or examples.
@@ -1356,7 +1356,7 @@ Building
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:
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/).
- 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.
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.
- 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 . 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