Skip to content

Commit 5d7a7c5

Browse files
committed
Bump docs version to 2026.2 and update PDF outputs
Update documentation version from 2026.1 to 2026.2 across the site and PDF tooling. Changes include: docusaurus.config.js version label; agents.md references and CI copy commands; PDF generator scripts (gen-pdf.mjs, gen-pdf-dumont.mjs, gen-pdf.js) output filenames and PDF metadata; and cover templates (pdf-cover.html, pdf-cover-dumont.html) version badge/value updates so generated PDFs and metadata reflect 2026.2.
1 parent f496bc0 commit 5d7a7c5

7 files changed

Lines changed: 18 additions & 18 deletions

File tree

agents.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ Two PDF generators exist, one per product:
124124

125125
| Product | Script | Cover | Output |
126126
|---|---|---|---|
127-
| Turing ES | `scripts/gen-pdf.mjs` | `scripts/pdf-cover.html` | `turing-es-2026.1-documentation.pdf` |
128-
| Dumont DEP | `scripts/gen-pdf-dumont.mjs` | `scripts/pdf-cover-dumont.html` | `dumont-dep-2026.1-documentation.pdf` |
127+
| Turing ES | `scripts/gen-pdf.mjs` | `scripts/pdf-cover.html` | `turing-es-2026.2-documentation.pdf` |
128+
| Dumont DEP | `scripts/gen-pdf-dumont.mjs` | `scripts/pdf-cover-dumont.html` | `dumont-dep-2026.2-documentation.pdf` |
129129

130130
Both share `scripts/pdf-style.css` for content styling.
131131

@@ -149,8 +149,8 @@ The GitHub Actions workflow (`deploy.yml`) runs both PDF generators after buildi
149149
run: npm run gen-pdf-dumont
150150
- name: Copy PDFs into build folder
151151
run: |
152-
cp turing-es-2026.1-documentation.pdf build/
153-
cp dumont-dep-2026.1-documentation.pdf build/
152+
cp turing-es-2026.2-documentation.pdf build/
153+
cp dumont-dep-2026.2-documentation.pdf build/
154154
```
155155
156156
---
@@ -159,11 +159,11 @@ The GitHub Actions workflow (`deploy.yml`) runs both PDF generators after buildi
159159
160160
| Product | Config Location | Current Version | Has older versions? |
161161
|---|---|---|---|
162-
| Turing ES | `docusaurus.config.ts` preset `docs` | `2026.1` | Yes (0.3.5–0.3.9) |
163-
| Dumont DEP | `docusaurus.config.ts` plugin `dumont` | `2026.1` | No |
162+
| Turing ES | `docusaurus.config.ts` preset `docs` | `2026.2` | Yes (0.3.5–0.3.9) |
163+
| Dumont DEP | `docusaurus.config.ts` plugin `dumont` | `2026.2` | No |
164164
| Shio CMS | `docusaurus.config.ts` plugin `shio` | `0.3.7` | No |
165165

166-
Version labels are set via `lastVersion: "current"` + `versions: { current: { label: "2026.1" } }` to avoid showing "Next" in the navbar.
166+
Version labels are set via `lastVersion: "current"` + `versions: { current: { label: "2026.2" } }` to avoid showing "Next" in the navbar.
167167

168168
---
169169

docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const config = {
6363
lastVersion: "current",
6464
versions: {
6565
current: {
66-
label: "2026.1",
66+
label: "2026.2",
6767
badge: true,
6868
},
6969
},

scripts/gen-pdf-dumont.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const ROOT = join(__dirname, '..');
2525
const COVER_HTML = join(__dirname, 'pdf-cover-dumont.html');
2626
const STYLE_CSS = join(__dirname, 'pdf-style.css');
2727
const FAVICON = join(ROOT, 'static', 'img', 'favicon.png');
28-
const OUTPUT_PDF = join(ROOT, 'dumont-dep-2026.1-documentation.pdf');
28+
const OUTPUT_PDF = join(ROOT, 'dumont-dep-2026.2-documentation.pdf');
2929
const BASE_URL = process.env.PDF_BASE_URL || 'http://localhost:3000';
3030
const PROD_URL = process.env.PDF_PROD_URL || 'https://docs.viglet.org';
3131
const ENTRY_PATH = '/dumont/getting-started/intro';
@@ -331,7 +331,7 @@ async function mergePDFs(coverBuf, tocBuf, docBuffers, entries, coverPageCount,
331331
}
332332

333333
merged.setTitle('Dumont DEP Documentation');
334-
merged.setSubject('Data Extraction Platform — v2026.1');
334+
merged.setSubject('Data Extraction Platform — v2026.2');
335335
merged.setAuthor('Viglet');
336336
merged.setCreator('Viglet PDF Generator');
337337
merged.setProducer('pdf-lib + Puppeteer');

scripts/gen-pdf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Usage:
1010
* node scripts/gen-pdf.js \
1111
* --startUrl http://localhost:3000/turing/getting-started/intro \
12-
* --output turing-es-2026.1-documentation.pdf
12+
* --output turing-es-2026.2-documentation.pdf
1313
*/
1414

1515
const puppeteer = require("puppeteer");
@@ -25,7 +25,7 @@ const get = (flag, def) => {
2525
};
2626

2727
const START_URL = get("--startUrl", "http://localhost:3000/turing/getting-started/intro");
28-
const OUTPUT_FILENAME = get("--output", "turing-es-2026.1-documentation.pdf");
28+
const OUTPUT_FILENAME = get("--output", "turing-es-2026.2-documentation.pdf");
2929
const NEXT_SELECTOR = "a.pagination-nav__link--next";
3030
const CONTENT_SEL = "article";
3131

scripts/gen-pdf.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const ROOT = join(__dirname, '..');
2525
const COVER_HTML = join(__dirname, 'pdf-cover.html');
2626
const STYLE_CSS = join(__dirname, 'pdf-style.css');
2727
const FAVICON = join(ROOT, 'static', 'img', 'favicon.png');
28-
const OUTPUT_PDF = join(ROOT, 'turing-es-2026.1-documentation.pdf');
28+
const OUTPUT_PDF = join(ROOT, 'turing-es-2026.2-documentation.pdf');
2929
const BASE_URL = process.env.PDF_BASE_URL || 'http://localhost:3000';
3030
const PROD_URL = process.env.PDF_PROD_URL || 'https://docs.viglet.org';
3131
const ENTRY_PATH = '/turing/getting-started/intro';
@@ -354,7 +354,7 @@ async function mergePDFs(coverBuf, tocBuf, docBuffers, entries, coverPageCount,
354354

355355
// Metadata
356356
merged.setTitle('Turing ES Documentation');
357-
merged.setSubject('Enterprise Search Platform — v2026.1');
357+
merged.setSubject('Enterprise Search Platform — v2026.2');
358358
merged.setAuthor('Viglet');
359359
merged.setCreator('Viglet PDF Generator');
360360
merged.setProducer('pdf-lib + Puppeteer');

scripts/pdf-cover-dumont.html

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

641641
<!-- Version area -->
642642
<div class="version-area">
643-
<span class="version-badge">v 2026.1</span>
643+
<span class="version-badge">v 2026.2</span>
644644
<span class="version-date">GENERATED_DATE</span>
645645
</div>
646646

@@ -672,7 +672,7 @@
672672
</div>
673673
<div class="info-row">
674674
<div class="info-label">Version</div>
675-
<div class="info-value">2026.1</div>
675+
<div class="info-value">2026.2</div>
676676
</div>
677677
<div class="info-row">
678678
<div class="info-label">Generated</div>

scripts/pdf-cover.html

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

641641
<!-- Version area -->
642642
<div class="version-area">
643-
<span class="version-badge">v 2026.1</span>
643+
<span class="version-badge">v 2026.2</span>
644644
<span class="version-date">GENERATED_DATE</span>
645645
</div>
646646

@@ -672,7 +672,7 @@
672672
</div>
673673
<div class="info-row">
674674
<div class="info-label">Version</div>
675-
<div class="info-value">2026.1</div>
675+
<div class="info-value">2026.2</div>
676676
</div>
677677
<div class="info-row">
678678
<div class="info-label">Generated</div>

0 commit comments

Comments
 (0)