You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by gi...@apache.org on 2026/04/18 01:43:20 UTC

(thrift-website) branch asf-staging updated: Automatic Site Publish by Buildbot

This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/thrift-website.git


The following commit(s) were added to refs/heads/asf-staging by this push:
     new cb1c5dd  Automatic Site Publish by Buildbot
cb1c5dd is described below

commit cb1c5ddc52846e6d7834f22a84079222b64d1c8d
Author: buildbot <us...@infra.apache.org>
AuthorDate: Sat Apr 18 01:43:16 2026 +0000

    Automatic Site Publish by Buildbot
---
 output/README.md                               |  14 ++
 output/about.html                              |   4 +-
 output/developers.html                         |   4 +-
 output/docs/BuildingFromSource.html            |   4 +-
 output/docs/HowToContribute.html               |  40 +++--
 output/docs/HowToNewLanguage.html              |   4 +-
 output/docs/Languages.html                     |  24 +--
 output/docs/coding_standards.html              |  12 +-
 output/docs/committers/AdditionalReading.html  |   4 +-
 output/docs/committers/HowToCommit.html        |  16 +-
 output/docs/committers/HowToThriftWebsite.html |   4 +-
 output/docs/committers/ReleaseManagement.html  |   4 +-
 output/docs/committers/index.html              |   4 +-
 output/docs/concepts.html                      |   4 +-
 output/docs/features.html                      |   4 +-
 output/docs/idl.html                           | 120 +++++++-------
 output/docs/index.html                         |   4 +-
 output/docs/install/centos.html                |  40 ++---
 output/docs/install/debian.html                |  12 +-
 output/docs/install/index.html                 |   4 +-
 output/docs/install/os_x.html                  |  16 +-
 output/docs/install/windows.html               |  80 +++++-----
 output/docs/types.html                         |   4 +-
 output/download.html                           |   4 +-
 output/index.html                              |  20 +--
 output/lib/c_glib.html                         |   6 +-
 output/lib/cl.html                             |  67 ++++----
 output/lib/cpp.html                            |  50 +++---
 output/lib/csharp.html                         |   4 +-
 output/lib/d.html                              |   4 +-
 output/lib/delphi.html                         |   4 +-
 output/lib/erl.html                            |  43 +++--
 output/lib/go.html                             |  60 +++----
 output/lib/haxe.html                           | 116 +++++++-------
 output/lib/index.html                          |  12 +-
 output/lib/java.html                           | 125 +++++++--------
 output/lib/js.html                             |  37 ++---
 output/lib/netstd.html                         | 114 ++++++++++---
 output/lib/nodejs.html                         | 167 ++++++++++---------
 output/lib/ocaml.html                          |   4 +-
 output/lib/perl.html                           |  18 +--
 output/lib/php.html                            |  23 ++-
 output/lib/py.html                             |   4 +-
 output/lib/rb.html                             | 211 +++++++++++++++++++++++--
 output/lib/st.html                             |   4 +-
 output/mailing.html                            |   4 +-
 output/sitemap.html                            |  70 ++++----
 output/static/css/codehilite.css               |  62 --------
 output/static/css/rouge.css                    |  62 ++++++++
 output/test/ThriftTest.thrift                  |   8 +-
 output/test/index.html                         |  64 ++++----
 output/test/keys.html                          |  76 ++++-----
 output/tutorial/c_glib.html                    |  12 +-
 output/tutorial/cpp.html                       |  16 +-
 output/tutorial/csharp.html                    |   4 +-
 output/tutorial/d.html                         |  12 +-
 output/tutorial/dart.html                      |  80 +++++-----
 output/tutorial/delphi.html                    |  12 +-
 output/tutorial/go.html                        |  16 +-
 output/tutorial/graphviz.html                  |   4 +-
 output/tutorial/haxe.html                      |  12 +-
 output/tutorial/index.html                     |  12 +-
 output/tutorial/java.html                      |  16 +-
 output/tutorial/js.html                        |   4 +-
 output/tutorial/netstd.html                    |  12 +-
 output/tutorial/nodejs.html                    |  12 +-
 output/tutorial/ocaml.html                     |  12 +-
 output/tutorial/perl.html                      |  12 +-
 output/tutorial/php.html                       |  12 +-
 output/tutorial/py.html                        |  12 +-
 output/tutorial/rb.html                        |  18 +--
 71 files changed, 1203 insertions(+), 956 deletions(-)

diff --git a/output/README.md b/output/README.md
index 48f7dac..eb3559a 100644
--- a/output/README.md
+++ b/output/README.md
@@ -79,6 +79,20 @@ can be quite useful if trying to get some CSS or HTML styled
 Jekyll will print a local URL where the site can be viewed
 (usually, [http://0.0.0.0:4000/](http://0.0.0.0:4000/)).
 
+### Testing with a Local Thrift Checkout
+
+Some pages on this site are rendered from files in the Apache Thrift
+repository via the `{% remote_snippet %}` tag. By default those snippets
+are fetched from the `master` branch of the Thrift repository while Jekyll
+builds the site.
+
+If you want to test local changes to those source files before pushing
+them, point the website build at your local Thrift checkout:
+
+```bash
+THRIFT_DIR=/path/to/thrift bundle exec jekyll serve -w
+```
+
 ## Publishing
 
 ### Automatic Staging
diff --git a/output/about.html b/output/about.html
index 8c76c77..849b65d 100644
--- a/output/about.html
+++ b/output/about.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -442,7 +442,7 @@ Strive for performance first, elegance second.</p>
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/developers.html b/output/developers.html
index f6210e2..0aa3c8d 100644
--- a/output/developers.html
+++ b/output/developers.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -113,7 +113,7 @@
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/docs/BuildingFromSource.html b/output/docs/BuildingFromSource.html
index f37caa6..5ee0e6a 100644
--- a/output/docs/BuildingFromSource.html
+++ b/output/docs/BuildingFromSource.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -167,7 +167,7 @@ better suited to those languages (this applies to Java, Ruby, PHP).</p>
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/docs/HowToContribute.html b/output/docs/HowToContribute.html
index 5cd3070..edc38d4 100644
--- a/output/docs/HowToContribute.html
+++ b/output/docs/HowToContribute.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -75,15 +75,15 @@ for a successful pull request:</p>
   <li>
     <p>The pull request title must begin with the Jira THRIFT ticket identifier if it has an associated ticket, for example:</p>
 
-    <pre><code>THRIFT-9999: an example pull request title
-</code></pre>
+    <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>THRIFT-9999: an example pull request title
+</code></pre></div>    </div>
   </li>
   <li>
     <p>Commit messages must follow this pattern for code changes (deviations will not be merged):</p>
 
-    <pre><code>THRIFT-9999: [summary of fix, one line if possible]
+    <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>THRIFT-9999: [summary of fix, one line if possible]
 Client: [language(s) affected, comma separated, for example: "cpp,erl,perl"]
-</code></pre>
+</code></pre></div>    </div>
   </li>
 </ol>
 
@@ -122,7 +122,7 @@ Client: [language(s) affected, comma separated, for example: "cpp,erl,perl"]
 
 <ol>
   <li>Review the <a href="https://github.com/apache/thrift/pulls">GitHub Pull Request Backlog</a>.  Code reviews are open to all.</li>
-  <li>Review the <a href="http://issues.apache.org/jira/browse/THRIFT">Jira issue tracker</a>.  You can search for tickets relating to languages you are interested in or currently using with thrift, for example a Jira search (Issues -&gt; Search For Issues) query of <code>project = THRIFT AND component in ("Erlang - Library") and status not in (resolved, closed)</code> will locate all the open Erlang Library issues.</li>
+  <li>Review the <a href="http://issues.apache.org/jira/browse/THRIFT">Jira issue tracker</a>.  You can search for tickets relating to languages you are interested in or currently using with thrift, for example a Jira search (Issues -&gt; Search For Issues) query of <code class="language-plaintext highlighter-rouge">project = THRIFT AND component in ("Erlang - Library") and status not in (resolved, closed)</code> will locate all the open Erlang Library issues.</li>
 </ol>
 
 <h2 id="if-you-discovered-a-defect">If you discovered a defect…</h2>
@@ -137,8 +137,8 @@ Client: [language(s) affected, comma separated, for example: "cpp,erl,perl"]
 
 <p>To create a patch from changes in your local directory:</p>
 
-<pre><code>git diff &gt; ../THRIFT-NNNN.patch
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>git diff &gt; ../THRIFT-NNNN.patch
+</code></pre></div></div>
 
 <p>then wait for contributors or committers to review your changes, and then for a committer to apply your patch.  This is not the preferred way to submit changes and incurs additional overhead for committers who must then create a pull request for you.</p>
 
@@ -151,8 +151,8 @@ Client: [language(s) affected, comma separated, for example: "cpp,erl,perl"]
 <p>If you have not submitted a pull request yet, or if you have not yet rebased your existing pull request, you can squash all your commits down to a single commit.  This makes life easier for the committers.  If your pull request on GitHub has more than one commit, you should do this.</p>
 
 <ol>
-  <li>Use the command <code>git log</code> to identify how many commits you made since you began.</li>
-  <li>Use the command <code>git rebase -i HEAD~N</code> where N is the number of commits.</li>
+  <li>Use the command <code class="language-plaintext highlighter-rouge">git log</code> to identify how many commits you made since you began.</li>
+  <li>Use the command <code class="language-plaintext highlighter-rouge">git rebase -i HEAD~N</code> where N is the number of commits.</li>
   <li>Leave “pull” in the first line.</li>
   <li>Change all other lines from “pull” to “fixup”.</li>
   <li>All your changes are now in a single commit.</li>
@@ -160,8 +160,8 @@ Client: [language(s) affected, comma separated, for example: "cpp,erl,perl"]
 
 <p>If you already have a pull request outstanding, you will need to do a “force push” to overwrite it since you changed your commit history:</p>
 
-<pre><code>git push -u origin THRIFT-9999 --force
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>git push -u origin THRIFT-9999 --force
+</code></pre></div></div>
 
 <p>A more detailed walkthrough of a squash can be found at <a href="http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html">Git Ready</a>.</p>
 
@@ -169,27 +169,33 @@ Client: [language(s) affected, comma separated, for example: "cpp,erl,perl"]
 
 <p>If your pull request has a conflict with master, it needs to be rebased:</p>
 
-<pre><code>git checkout THRIFT-9999
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>git checkout THRIFT-9999
 git rebase upstream master
   (resolve any conflicts, make sure it builds)
 git push -u origin THRIFT-9999 --force
-</code></pre>
+</code></pre></div></div>
 
 <h3 id="fix-a-bad-merge">Fix a bad merge</h3>
 
 <p>If your pull request contains commits that are not yours, then you should use the following technique to fix the bad merge in your branch:</p>
 
-<pre><code>git checkout master
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>git checkout master
 git pull upstream master
 git checkout -b THRIFT-9999-take-2
 git cherry-pick ...
     (pick only your commits from your original pull request in ascending chronological order)
 squash your changes to a single commit if there is more than one (see above)
 git push -u origin THRIFT-9999-take-2:THRIFT-9999
-</code></pre>
+</code></pre></div></div>
 
 <p>This procedure will apply only your commits in order to the current master, then you will squash them to a single commit, and then you force push your local THRIFT-9999-take-2 into remote THRIFT-9999 which represents your pull request, replacing all the commits with the new one.</p>
 
+<h2 id="ai-generated-content">AI generated content</h2>
+
+<p>The <a href="https://www.apache.org/legal/generative-tooling.html">ASF Generative Tooling Guidance</a> serves as a great summary. It also outlines potential issues that come with generative tools. For the reasons set out in this document, but also to make it absolutely clear to the reviewers, we strongly recommend using either the <code class="language-plaintext highlighter-rouge">Generated-by:</code> (as recommended by the linked ASF source) or <code class="language-plaintext highlig [...]
+
+<hr />
+
 <p class="snippet_footer">This page was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=CONTRIBUTING.md">CONTRIBUTING.md</a>
 </p>
@@ -221,7 +227,7 @@ git push -u origin THRIFT-9999-take-2:THRIFT-9999
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/docs/HowToNewLanguage.html b/output/docs/HowToNewLanguage.html
index 82a1b29..e303695 100644
--- a/output/docs/HowToNewLanguage.html
+++ b/output/docs/HowToNewLanguage.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -152,7 +152,7 @@
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/docs/Languages.html b/output/docs/Languages.html
index dff106f..2521dbb 100644
--- a/output/docs/Languages.html
+++ b/output/docs/Languages.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -76,10 +76,10 @@ maintain and may not be correct in all cases - if you spot an error please infor
 the developers using the mailing list, or better yet,
 <a href="https://github.com/apache/thrift/edit/master/LANGUAGES.md">Edit on GitHub</a>.</p>
 
-<p>Apache Thrift currently uses two build systems.  The <code>autoconf</code> build system is
+<p>Apache Thrift currently uses two build systems.  The <code class="language-plaintext highlighter-rouge">autoconf</code> build system is
 the most complete and builds all supported languages, however it does not support
-Windows..  The <code>cmake</code> build system works on Linux and Windows, and has been
-designated by the project to replace <code>autoconf</code> however this transition will
+Windows..  The <code class="language-plaintext highlighter-rouge">cmake</code> build system works on Linux and Windows, and has been
+designated by the project to replace <code class="language-plaintext highlighter-rouge">autoconf</code> however this transition will
 take quite some time to complete.  During that transition, the cmake build will
 not support all languages.</p>
 
@@ -221,7 +221,7 @@ Thrift’s core protocol is TBinary, supported by all languages except for JavaS
 <td align="left"><a href="https://github.com/apache/thrift/blob/master/lib/go/README.md">Go</a></td>
 <!-- Since -----------------><td>0.7.0</td>
 <!-- Build Systems ---------><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cred.png" alt="" /></td>
-<!-- Language Levels -------><td>1.24</td><td>1.25</td>
+<!-- Language Levels -------><td>1.25</td><td>1.26</td>
 <!-- Field types -----------><td><img src="/doc/images/cgrn.png" alt="Yes" /></td>
 <!-- Low-Level Transports --><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cred.png" alt="" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cred.png" alt="" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td>
 <!-- Transport Wrappers ----><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td>
@@ -294,7 +294,7 @@ Thrift’s core protocol is TBinary, supported by all languages except for JavaS
 <!-- Since -----------------><td>0.6.0</td>
 <!-- Build Systems ---------><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cred.png" alt="" /></td>
 <!-- Language Levels -------><td>10.x</td><td>10.x</td>
-<!-- Field types -----------><td><img src="/doc/images/cred.png" alt="" /></td>
+<!-- Field types -----------><td><img src="/doc/images/cgrn.png" alt="Yes" /></td>
 <!-- Low-Level Transports --><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cred.png" alt="" /></td><td><img src="/doc/images/cred.png" alt="" /></td><td><img src="/doc/images/cred.png" alt="" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td>
 <!-- Transport Wrappers ----><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cred.png" alt="" /></td>
 <!-- Protocols -------------><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td>
@@ -306,7 +306,7 @@ Thrift’s core protocol is TBinary, supported by all languages except for JavaS
 <!-- Since -----------------><td>0.12.0</td>
 <!-- Build Systems ---------><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cred.png" alt="" /></td>
 <!-- Language Levels -------><td>5.7.2</td><td></td>
-<!-- Field types -----------><td><img src="/doc/images/cred.png" alt="" /></td>
+<!-- Field types -----------><td><img src="/doc/images/cgrn.png" alt="Yes" /></td>
 <!-- Low-Level Transports --><td><img src="/doc/images/cred.png" alt="" /></td><td><img src="/doc/images/cred.png" alt="" /></td><td><img src="/doc/images/cred.png" alt="" /></td><td><img src="/doc/images/cred.png" alt="" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td>
 <!-- Transport Wrappers ----><td><img src="/doc/images/cred.png" alt="" /></td><td><img src="/doc/images/cred.png" alt="" /></td><td><img src="/doc/images/cred.png" alt="" /></td><td><img src="/doc/images/cred.png" alt="" /></td>
 <!-- Protocols -------------><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cred.png" alt="" /></td><td><img src="/doc/images/cred.png" alt="" /></td><td><img src="/doc/images/cred.png" alt="" /></td>
@@ -354,7 +354,7 @@ Thrift’s core protocol is TBinary, supported by all languages except for JavaS
 <!-- Since -----------------><td>0.2.0</td>
 <!-- Build Systems ---------><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td>
 <!-- Language Levels -------><td>2.7.12, 3.5.2</td><td>2.7.15, 3.6.8</td>
-<!-- Field types -----------><td><img src="/doc/images/cred.png" alt="" /></td>
+<!-- Field types -----------><td><img src="/doc/images/cgrn.png" alt="Yes" /></td>
 <!-- Low-Level Transports --><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cred.png" alt="" /></td><td><img src="/doc/images/cred.png" alt="" /></td><td><img src="/doc/images/cred.png" alt="" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td>
 <!-- Transport Wrappers ----><td><img src="/doc/images/cred.png" alt="" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td>
 <!-- Protocols -------------><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td>
@@ -365,10 +365,10 @@ Thrift’s core protocol is TBinary, supported by all languages except for JavaS
 <td align="left"><a href="https://github.com/apache/thrift/blob/master/lib/rb/README.md">Ruby</a></td>
 <!-- Since -----------------><td>0.2.0</td>
 <!-- Build Systems ---------><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cred.png" alt="" /></td>
-<!-- Language Levels -------><td>2.3.1p112</td><td>2.5.1p57</td>
-<!-- Field types -----------><td><img src="/doc/images/cred.png" alt="" /></td>
+<!-- Language Levels -------><td>2.7.8</td><td>4.0.0</td>
+<!-- Field types -----------><td><img src="/doc/images/cgrn.png" alt="Yes" /></td>
 <!-- Low-Level Transports --><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cred.png" alt="" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cred.png" alt="" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td>
-<!-- Transport Wrappers ----><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cred.png" alt="" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cred.png" alt="" /></td>
+<!-- Transport Wrappers ----><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cred.png" alt="" /></td>
 <!-- Protocols -------------><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td>
 <!-- Servers ---------------><td><img src="/doc/images/cred.png" alt="" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td><td><img src="/doc/images/cgrn.png" alt="Yes" /></td>
 <td align="left"><a href="https://issues.apache.org/jira/issues/?jql=project%20%3D%20THRIFT%20AND%20component%20in%20(%22Ruby%20-%20Compiler%22%2C%20%22Ruby%20-%20Library%22)%20and%20status%20not%20in%20(fixed%2C%20resolved%2C%20closed)">Ruby</a></td>
@@ -466,7 +466,7 @@ Thrift’s core protocol is TBinary, supported by all languages except for JavaS
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/docs/coding_standards.html b/output/docs/coding_standards.html
index b5b68b3..6a7fc1f 100644
--- a/output/docs/coding_standards.html
+++ b/output/docs/coding_standards.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -71,8 +71,10 @@ Write code like you would have to read it ten years from now.</p>
 But we want to improve over time.
 When making a small change / bugfix - like a single line fix - do <em>not</em> refactor the whole function.
 That disturbs code repository history.
-Whenever adding something new and / or making bigger refactoring
- - follow those rules as strictly as you can.</p>
+Whenever adding something new and / or making bigger refactoring</p>
+<ul>
+  <li>follow those rules as strictly as you can.</li>
+</ul>
 
 <p>When in doubt - contact other developers (using dev@ mailing list or IRC).
 Code review is the best way to improve readability.</p>
@@ -101,7 +103,7 @@ Code review is the best way to improve readability.</p>
 
 <h2 id="language-specific-coding-standards">Language-Specific Coding Standards</h2>
 
-<p>For detailed information see <code>lib/LANG/coding_standards.md</code></p>
+<p>For detailed information see <code class="language-plaintext highlighter-rouge">lib/LANG/coding_standards.md</code></p>
 
 <p class="snippet_footer">This page was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=doc/coding_standards.md">doc/coding_standards.md</a>
@@ -134,7 +136,7 @@ Code review is the best way to improve readability.</p>
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/docs/committers/AdditionalReading.html b/output/docs/committers/AdditionalReading.html
index b902121..2505a78 100644
--- a/output/docs/committers/AdditionalReading.html
+++ b/output/docs/committers/AdditionalReading.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -83,7 +83,7 @@
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/docs/committers/HowToCommit.html b/output/docs/committers/HowToCommit.html
index c169be8..163b42c 100644
--- a/output/docs/committers/HowToCommit.html
+++ b/output/docs/committers/HowToCommit.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -98,16 +98,16 @@
   <li>
     <p>Commit the patch</p>
 
-    <pre><code> git --config user.name "Your Name"
+    <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code> git --config user.name "Your Name"
  git --config user.email "YourApacheID@apache.org"
  git add -A
  git commit
-</code></pre>
+</code></pre></div>    </div>
   </li>
   <li>
     <p>The commit message should be in the format:</p>
 
-    <pre><code>THRIFT-####:&lt;Jira description&gt;
+    <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>THRIFT-####:&lt;Jira description&gt;
 Client: &lt;component&gt;
 Patch: &lt;Name of person contributing the patch&gt;
 
@@ -117,15 +117,15 @@ If this is a github pull request then add the below comment to automatically clo
 where #NNNN is the PR number:
    
  This closes #NNNN
-</code></pre>
+</code></pre></div>    </div>
   </li>
   <li>
     <p>Double check the patch committed and that nothing was missed then push the patch</p>
 
-    <pre><code>git status
+    <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>git status
 git show HEAD
 git push origin master
-</code></pre>
+</code></pre></div>    </div>
   </li>
   <li>
     <p>Resolve the Jira issue and set the following for the changelog</p>
@@ -168,7 +168,7 @@ git push origin master
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/docs/committers/HowToThriftWebsite.html b/output/docs/committers/HowToThriftWebsite.html
index f42d1b5..c38fff7 100644
--- a/output/docs/committers/HowToThriftWebsite.html
+++ b/output/docs/committers/HowToThriftWebsite.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -140,7 +140,7 @@ rendering correctly on the staging site.</p>
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/docs/committers/ReleaseManagement.html b/output/docs/committers/ReleaseManagement.html
index 49518de..df14bc1 100644
--- a/output/docs/committers/ReleaseManagement.html
+++ b/output/docs/committers/ReleaseManagement.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -78,7 +78,7 @@
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/docs/committers/index.html b/output/docs/committers/index.html
index 3b411ac..9a719bc 100644
--- a/output/docs/committers/index.html
+++ b/output/docs/committers/index.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -77,7 +77,7 @@
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/docs/concepts.html b/output/docs/concepts.html
index f184e86..b7a96f4 100644
--- a/output/docs/concepts.html
+++ b/output/docs/concepts.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -205,7 +205,7 @@ delegates processing to the handler (implemented by the user) and writes the res
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/docs/features.html b/output/docs/features.html
index 11a361a..2e742cc 100644
--- a/output/docs/features.html
+++ b/output/docs/features.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -124,7 +124,7 @@
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/docs/idl.html b/output/docs/idl.html
index 98245b6..6283099 100644
--- a/output/docs/idl.html
+++ b/output/docs/idl.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -52,7 +52,7 @@
       
 <h2 id="thrift-interface-description-language">Thrift interface description language</h2>
 
-<p>For Thrift version 0.23.0.</p>
+<p>For Thrift version 0.24.0.</p>
 
 <p>The Thrift interface definition language (IDL) allows for the definition of <a href="/docs/types">Thrift Types</a>. A Thrift IDL file is processed by the Thrift code generator to produce code for the various target languages to support the defined structs and services in the IDL file.</p>
 
@@ -64,111 +64,111 @@
 
 <p>Every Thrift document contains 0 or more headers followed by 0 or more definitions.</p>
 
-<pre><code>[1]  Document        ::=  Header* Definition*
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[1]  Document        ::=  Header* Definition*
+</code></pre></div></div>
 
 <h2 id="header">Header</h2>
 
 <p>A header is either a Thrift include, a C++ include, or a namespace declaration.</p>
 
-<pre><code>[2]  Header          ::=  Include | CppInclude | Namespace
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[2]  Header          ::=  Include | CppInclude | Namespace
+</code></pre></div></div>
 
 <h3 id="thrift-include">Thrift Include</h3>
 
 <p>An include makes all the symbols from another file visible (with a prefix) and adds corresponding include statements into the code generated for this Thrift document.</p>
 
-<pre><code>[3]  Include         ::=  'include' Literal
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[3]  Include         ::=  'include' Literal
+</code></pre></div></div>
 
 <h3 id="c-include">C++ Include</h3>
 
 <p>A C++ include adds a custom C++ include to the output of the C++ code generator for this Thrift document.</p>
 
-<pre><code>[4]  CppInclude      ::=  'cpp_include' Literal
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[4]  CppInclude      ::=  'cpp_include' Literal
+</code></pre></div></div>
 
 <h3 id="namespace">Namespace</h3>
 
 <p>A namespace declares which namespaces/package/module/etc. the type definitions in this file will be declared in for the target languages. The namespace scope indicates which language the namespace applies to; a scope of ‘*’ indicates that the namespace applies to all target languages.</p>
 
-<pre><code>[5]  Namespace       ::=  ( 'namespace' ( NamespaceScope Identifier ) )
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[5]  Namespace       ::=  ( 'namespace' ( NamespaceScope Identifier ) )
 
 [6]  NamespaceScope  ::=  '*' | 'c_glib' | 'cpp' | 'delphi' | 'haxe' | 'go' | 'java' | 'js' | 'lua' | 'netstd' | 'perl' | 'php' | 'py' | 'py.twisted' | 'rb' | 'st' | 'xsd'
-</code></pre>
+</code></pre></div></div>
 
 <h2 id="definition">Definition</h2>
 
-<pre><code>[7]  Definition      ::=  Const | Typedef | Enum | Struct | Union | Exception | Service
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[7]  Definition      ::=  Const | Typedef | Enum | Struct | Union | Exception | Service
+</code></pre></div></div>
 
 <h3 id="const">Const</h3>
 
-<pre><code>[8]  Const           ::=  'const' FieldType Identifier '=' ConstValue ListSeparator?
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[8]  Const           ::=  'const' FieldType Identifier '=' ConstValue ListSeparator?
+</code></pre></div></div>
 
 <h3 id="typedef">Typedef</h3>
 
 <p>A typedef creates an alternate name for a type.</p>
 
-<pre><code>[9]  Typedef         ::=  'typedef' DefinitionType Identifier
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[9]  Typedef         ::=  'typedef' DefinitionType Identifier
+</code></pre></div></div>
 
 <h3 id="enum">Enum</h3>
 
 <p>An enum creates an enumerated type, with named values. If no constant value is supplied, the value is either 0 for the first element, or one greater than the preceding value for any subsequent element. Any constant value that is supplied must be non-negative.</p>
 
-<pre><code>[10] Enum            ::=  'enum' Identifier '{' (Identifier ('=' IntConstant)? ListSeparator?)* '}'
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[10] Enum            ::=  'enum' Identifier '{' (Identifier ('=' IntConstant)? ListSeparator?)* '}'
+</code></pre></div></div>
 
 <h3 id="struct">Struct</h3>
 
 <p>Structs are the fundamental compositional type in Thrift. The name of each field must be unique within the struct.</p>
 
-<pre><code>[11] Struct          ::=  'struct' Identifier 'xsd_all'? '{' Field* '}'
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[11] Struct          ::=  'struct' Identifier 'xsd_all'? '{' Field* '}'
+</code></pre></div></div>
 
-<p>N.B.: The <code>xsd_all</code> keyword has some purpose internal to Facebook but serves no purpose in Thrift itself. Use of this feature is strongly discouraged</p>
+<p>N.B.: The <code class="language-plaintext highlighter-rouge">xsd_all</code> keyword has some purpose internal to Facebook but serves no purpose in Thrift itself. Use of this feature is strongly discouraged</p>
 
 <h3 id="union">Union</h3>
 
 <p>Unions are similar to structs, except that they provide a means to transport exactly one field of a possible set of fields, just like union {} in C++. Consequently, union members are implicitly considered optional (see requiredness).</p>
 
-<pre><code>[12] Union          ::=  'union' Identifier 'xsd_all'? '{' Field* '}'
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[12] Union          ::=  'union' Identifier 'xsd_all'? '{' Field* '}'
+</code></pre></div></div>
 
-<p>N.B.: The <code>xsd_all</code> keyword has some purpose internal to Facebook but serves no purpose in Thrift itself. Use of this feature is strongly discouraged</p>
+<p>N.B.: The <code class="language-plaintext highlighter-rouge">xsd_all</code> keyword has some purpose internal to Facebook but serves no purpose in Thrift itself. Use of this feature is strongly discouraged</p>
 
 <h3 id="exception">Exception</h3>
 
 <p>Exceptions are similar to structs except that they are intended to integrate with the native exception handling mechanisms in the target languages. The name of each field must be unique within the exception.</p>
 
-<pre><code>[13] Exception       ::=  'exception' Identifier '{' Field* '}'
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[13] Exception       ::=  'exception' Identifier '{' Field* '}'
+</code></pre></div></div>
 
 <h3 id="service">Service</h3>
 
 <p>A service provides the interface for a set of functionality provided by a Thrift server. The interface is simply a list of functions. A service can extend another service, which simply means that it provides the functions of the extended service in addition to its own.</p>
 
-<pre><code>[14] Service         ::=  'service' Identifier ( 'extends' Identifier )? '{' Function* '}'
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[14] Service         ::=  'service' Identifier ( 'extends' Identifier )? '{' Function* '}'
+</code></pre></div></div>
 
 <h2 id="field">Field</h2>
 
-<pre><code>[15] Field           ::=  FieldID? FieldReq? FieldType Identifier ('=' ConstValue)? XsdFieldOptions ListSeparator?
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[15] Field           ::=  FieldID? FieldReq? FieldType Identifier ('=' ConstValue)? XsdFieldOptions ListSeparator?
+</code></pre></div></div>
 
 <h3 id="field-id">Field ID</h3>
 
-<pre><code>[16] FieldID         ::=  IntConstant ':'
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[16] FieldID         ::=  IntConstant ':'
+</code></pre></div></div>
 
 <h3 id="field-requiredness">Field Requiredness</h3>
 
 <p>There are two explicit requiredness values, and a third one that is applied implicitly if neither  <em>required</em> nor <em>optional</em> are given: <em>default</em> requiredness.</p>
 
-<pre><code>[17] FieldReq        ::=  'required' | 'optional' 
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[17] FieldReq        ::=  'required' | 'optional' 
+</code></pre></div></div>
 
 <p>The general rules for requiredness are as follows:</p>
 
@@ -214,23 +214,23 @@
 
 <p>N.B.: These have some internal purpose at Facebook but serve no current purpose in Thrift. The use of these options is strongly discouraged.</p>
 
-<pre><code>[18] XsdFieldOptions ::=  'xsd_optional'? 'xsd_nillable'? XsdAttrs?
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[18] XsdFieldOptions ::=  'xsd_optional'? 'xsd_nillable'? XsdAttrs?
 
 [19] XsdAttrs        ::=  'xsd_attrs' '{' Field* '}'
-</code></pre>
+</code></pre></div></div>
 
 <h2 id="functions">Functions</h2>
 
-<pre><code>[20] Function        ::=  'oneway'? FunctionType Identifier '(' Field* ')' Throws? ListSeparator?
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[20] Function        ::=  'oneway'? FunctionType Identifier '(' Field* ')' Throws? ListSeparator?
 
 [21] FunctionType    ::=  FieldType | 'void'
 
 [22] Throws          ::=  'throws' '(' Field* ')'
-</code></pre>
+</code></pre></div></div>
 
 <h2 id="types">Types</h2>
 
-<pre><code>[23] FieldType       ::=  Identifier | BaseType | ContainerType
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[23] FieldType       ::=  Identifier | BaseType | ContainerType
 
 [24] DefinitionType  ::=  BaseType | ContainerType
 
@@ -245,11 +245,11 @@
 [29] ListType        ::=  'list' CppType? '&lt;' FieldType '&gt;' 
 
 [30] CppType         ::=  'cpp_type' Literal
-</code></pre>
+</code></pre></div></div>
 
 <h2 id="constant-values">Constant Values</h2>
 
-<pre><code>[31] ConstValue      ::=  IntConstant | DoubleConstant | Literal | Identifier | ConstList | ConstMap
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[31] ConstValue      ::=  IntConstant | DoubleConstant | Literal | Identifier | ConstList | ConstMap
 
 [32] IntConstant     ::=  ('+' | '-')? Digit+
 
@@ -258,37 +258,37 @@
 [34] ConstList       ::=  '[' (ConstValue ListSeparator?)* ']'
 
 [35] ConstMap        ::=  '{' (ConstValue ':' ConstValue ListSeparator?)* '}'
-</code></pre>
+</code></pre></div></div>
 
 <h2 id="basic-definitions">Basic Definitions</h2>
 
 <h3 id="literal">Literal</h3>
 
-<pre><code>[36] Literal         ::=  ('"' [^"]* '"') | ("'" [^']* "'")
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[36] Literal         ::=  ('"' [^"]* '"') | ("'" [^']* "'")
+</code></pre></div></div>
 
 <h3 id="identifier">Identifier</h3>
 
-<pre><code>[37] Identifier      ::=  ( Letter | '_' ) ( Letter | Digit | '.' | '_' )*
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[37] Identifier      ::=  ( Letter | '_' ) ( Letter | Digit | '.' | '_' )*
 
 [38] STIdentifier    ::=  ( Letter | '_' ) ( Letter | Digit | '.' | '_' | '-' )*
-</code></pre>
+</code></pre></div></div>
 
 <h3 id="list-separator">List Separator</h3>
 
-<pre><code>[39] ListSeparator   ::=  ',' | ';'
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[39] ListSeparator   ::=  ',' | ';'
+</code></pre></div></div>
 
 <h3 id="letters-and-digits">Letters and Digits</h3>
 
-<pre><code>[40] Letter          ::=  ['A'-'Z'] | ['a'-'z']
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>[40] Letter          ::=  ['A'-'Z'] | ['a'-'z']
 
 [41] Digit           ::=  ['0'-'9']
-</code></pre>
+</code></pre></div></div>
 
 <h2 id="reserved-keywords">Reserved keywords</h2>
 
-<pre><code>"BEGIN", "END", "__CLASS__", "__DIR__", "__FILE__", "__FUNCTION__",
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>"BEGIN", "END", "__CLASS__", "__DIR__", "__FILE__", "__FUNCTION__",
 "__LINE__", "__METHOD__", "__NAMESPACE__", "abstract", "alias", "and", "args", "as",
 "assert", "begin", "break", "case", "catch", "class", "clone", "continue", "declare",
 "def", "default", "del", "delete", "do", "dynamic", "elif", "else", "elseif", "elsif",
@@ -300,7 +300,7 @@
 "return", "self", "sizeof", "static", "super", "switch", "synchronized", "then", "this",
 "throw", "transient", "try", "undef", "unless", "unsigned", "until", "use", "var",
 "virtual", "volatile", "when", "while", "with", "xor", "yield" 
-</code></pre>
+</code></pre></div></div>
 
 <h2 id="examples">Examples</h2>
 
@@ -322,20 +322,20 @@
   <li>Do all Languages initialize them to 0, bool=false and string=””? or null, undefined?</li>
 </ul>
 
-<p>Why does position of <code>CppType</code> vary between <code>SetType</code> and <code>ListType</code>?</p>
+<p>Why does position of <code class="language-plaintext highlighter-rouge">CppType</code> vary between <code class="language-plaintext highlighter-rouge">SetType</code> and <code class="language-plaintext highlighter-rouge">ListType</code>?</p>
 
 <ul>
   <li>std::set does sort the elements automatically, that’s the design. see <a href="/docs/types">Thrift Types</a> or the <a href="http://www.cplusplus.com/reference/stl/set/">C++ std:set reference</a> for further details</li>
   <li>The question is, how other languages are doing that? What about custom objects, do they have a Compare function to set the order correctly?</li>
 </ul>
 
-<p>Why can’t <code>DefinitionType</code> be the same as <code>FieldType</code> (i.e. include <code>Identifier</code>)?</p>
+<p>Why can’t <code class="language-plaintext highlighter-rouge">DefinitionType</code> be the same as <code class="language-plaintext highlighter-rouge">FieldType</code> (i.e. include <code class="language-plaintext highlighter-rouge">Identifier</code>)?</p>
 
-<p>Examine the <code>smalltalk.prefix</code> and <code>smalltalk.category</code> status (esp <code>smalltalk.category</code>, which takes <code>STIdentifier</code> as its argument)…</p>
+<p>Examine the <code class="language-plaintext highlighter-rouge">smalltalk.prefix</code> and <code class="language-plaintext highlighter-rouge">smalltalk.category</code> status (esp <code class="language-plaintext highlighter-rouge">smalltalk.category</code>, which takes <code class="language-plaintext highlighter-rouge">STIdentifier</code> as its argument)…</p>
 
-<p>What to do about <code>ListSeparator</code>? Do we really want to be as lax as we currently are?</p>
+<p>What to do about <code class="language-plaintext highlighter-rouge">ListSeparator</code>? Do we really want to be as lax as we currently are?</p>
 
-<p>Should <code>Field*</code> really be <code>Field+</code> in <code>Struct</code>, <code>Enum</code>, etc.?</p>
+<p>Should <code class="language-plaintext highlighter-rouge">Field*</code> really be <code class="language-plaintext highlighter-rouge">Field+</code> in <code class="language-plaintext highlighter-rouge">Struct</code>, <code class="language-plaintext highlighter-rouge">Enum</code>, etc.?</p>
 
 <p class="snippet_footer">This page was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=doc/specs/idl.md">doc/specs/idl.md</a>
@@ -368,7 +368,7 @@
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/docs/index.html b/output/docs/index.html
index 7578b82..84f1e7c 100644
--- a/output/docs/index.html
+++ b/output/docs/index.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -251,7 +251,7 @@ The book comes with a lot of inside knowlegde and is packed with practical examp
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/docs/install/centos.html b/output/docs/install/centos.html
index 9faa9b9..f7de393 100644
--- a/output/docs/install/centos.html
+++ b/output/docs/install/centos.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -56,51 +56,51 @@
 
 <h2 id="update-the-system">Update the System</h2>
 
-<pre><code>sudo yum -y update
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo yum -y update
+</code></pre></div></div>
 
 <h2 id="install-the-platform-development-tools">Install the Platform Development Tools</h2>
 
-<pre><code>sudo yum -y groupinstall "Development Tools"
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo yum -y groupinstall "Development Tools"
+</code></pre></div></div>
 
 <h2 id="upgrade-autoconfautomakebison">Upgrade autoconf/automake/bison</h2>
 
-<pre><code>sudo yum install -y wget
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo yum install -y wget
+</code></pre></div></div>
 
 <h3 id="upgrade-autoconf">Upgrade autoconf</h3>
 
-<pre><code>wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz
 tar xvf autoconf-2.69.tar.gz
 cd autoconf-2.69
 ./configure --prefix=/usr
 make
 sudo make install
 cd ..
-</code></pre>
+</code></pre></div></div>
 
 <h3 id="upgrade-automake">Upgrade automake</h3>
 
-<pre><code>wget http://ftp.gnu.org/gnu/automake/automake-1.14.tar.gz
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>wget http://ftp.gnu.org/gnu/automake/automake-1.14.tar.gz
 tar xvf automake-1.14.tar.gz
 cd automake-1.14
 ./configure --prefix=/usr
 make
 sudo make install
 cd ..
-</code></pre>
+</code></pre></div></div>
 
 <h3 id="upgrade-bison">Upgrade bison</h3>
 
-<pre><code>wget http://ftp.gnu.org/gnu/bison/bison-2.5.1.tar.gz
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>wget http://ftp.gnu.org/gnu/bison/bison-2.5.1.tar.gz
 tar xvf bison-2.5.1.tar.gz
 cd bison-2.5.1
 ./configure --prefix=/usr
 make
 sudo make install
 cd ..
-</code></pre>
+</code></pre></div></div>
 
 <h2 id="add-optional-c-language-library-dependencies">Add Optional C++ Language Library Dependencies</h2>
 
@@ -110,27 +110,27 @@ cd ..
 
 <h3 id="install-c-lib-dependencies">Install C++ Lib Dependencies</h3>
 
-<pre><code>sudo yum -y install libevent-devel zlib-devel openssl-devel
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo yum -y install libevent-devel zlib-devel openssl-devel
+</code></pre></div></div>
 
 <h3 id="upgrade-boost--156">Upgrade Boost &gt;= 1.56</h3>
 
-<pre><code>wget http://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>wget http://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz
 tar xvf boost_1_56_0.tar.gz
 cd boost_1_56_0
 ./bootstrap.sh
 sudo ./b2 install
-</code></pre>
+</code></pre></div></div>
 
 <h2 id="build-and-install-the-apache-thrift-idl-compiler">Build and Install the Apache Thrift IDL Compiler</h2>
 
-<pre><code>git clone https://github.com/apache/thrift.git
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>git clone https://github.com/apache/thrift.git
 cd thrift
 ./bootstrap.sh
 ./configure --with-lua=no
 make
 sudo make install
-</code></pre>
+</code></pre></div></div>
 
 <p>This will build the compiler (thrift/compiler/cpp/thrift –version) and any language libraries supported. The make install step installs the compiler on the path: /usr/local/bin/thrift
 You can use the ./configure –enable-libs=no switch to build the Apache Thrift IDL Compiler only without lib builds. To run tests use “make check”.</p>
@@ -166,7 +166,7 @@ You can use the ./configure –enable-libs=no switch to build the Apache Thrift
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/docs/install/debian.html b/output/docs/install/debian.html
index 4b9cd00..36f3a87 100644
--- a/output/docs/install/debian.html
+++ b/output/docs/install/debian.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -53,19 +53,19 @@
 <h2 id="debianubuntu-install">Debian/Ubuntu install</h2>
 <p>The following command will install tools and libraries required to build and install the Apache Thrift compiler and C++ libraries on a Debian/Ubuntu Linux based system.</p>
 
-<pre><code>sudo apt-get install automake bison flex g++ git libboost-all-dev libevent-dev libssl-dev libtool make pkg-config
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo apt-get install automake bison flex g++ git libboost-all-dev libevent-dev libssl-dev libtool make pkg-config
+</code></pre></div></div>
 
 <p>Debian 7/Ubuntu 12 users need to manually install a more recent version of automake and (for C++ library and test support) boost:</p>
 
-<pre><code>wget http://ftp.debian.org/debian/pool/main/a/automake-1.15/automake_1.15-3_all.deb
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>wget http://ftp.debian.org/debian/pool/main/a/automake-1.15/automake_1.15-3_all.deb
 sudo dpkg -i automake_1.15-3_all.deb
 
 wget http://sourceforge.net/projects/boost/files/boost/1.60.0/boost_1_60_0.tar.gz                                                                      tar xvf boost_1_60_0.tar.gz
 cd boost_1_60_0
 ./bootstrap.sh
 sudo ./b2 install
-</code></pre>
+</code></pre></div></div>
 
 <h2 id="optional-packages">Optional packages</h2>
 
@@ -202,7 +202,7 @@ sudo ./b2 install
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/docs/install/index.html b/output/docs/install/index.html
index 509cc59..8bd8f85 100644
--- a/output/docs/install/index.html
+++ b/output/docs/install/index.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -297,7 +297,7 @@
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/docs/install/os_x.html b/output/docs/install/os_x.html
index 9519850..c2ddc72 100644
--- a/output/docs/install/os_x.html
+++ b/output/docs/install/os_x.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -56,23 +56,23 @@
 <h3 id="install-boost">Install Boost</h3>
 <p>Download the boost library from <a href="http://www.boost.org">boost.org</a> untar compile with</p>
 
-<pre><code>./bootstrap.sh
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>./bootstrap.sh
 sudo ./b2 threading=multi address-model=64 variant=release stage install
-</code></pre>
+</code></pre></div></div>
 
 <h3 id="install-libevent">Install libevent</h3>
 <p>Download <a href="http://monkey.org/~provos/libevent">libevent</a>, untar and compile with</p>
 
-<pre><code>./configure --prefix=/usr/local 
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>./configure --prefix=/usr/local 
 make
 sudo make install
-</code></pre>
+</code></pre></div></div>
 
 <h3 id="building-apache-thrift">Building Apache Thrift</h3>
 <p>Download the latest version of <a href="/download">Apache Thrift</a>, untar and compile with</p>
 
-<pre><code>./configure --prefix=/usr/local/ --with-boost=/usr/local --with-libevent=/usr/local
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>./configure --prefix=/usr/local/ --with-boost=/usr/local --with-libevent=/usr/local
+</code></pre></div></div>
 
 <h2 id="additional-reading">Additional reading</h2>
 
@@ -111,7 +111,7 @@ sudo make install
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/docs/install/windows.html b/output/docs/install/windows.html
index 27f0165..d8581e3 100644
--- a/output/docs/install/windows.html
+++ b/output/docs/install/windows.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -78,13 +78,13 @@
 
 <h3 id="build-and-install-the-compiler">Build and install the compiler</h3>
 
-<p>After all requirements are in place, use the <code>compiler/cpp/compiler.vcxproj</code> build project to build the Thrift compiler. Copy the resulting EXE file to a location of your choice.</p>
+<p>After all requirements are in place, use the <code class="language-plaintext highlighter-rouge">compiler/cpp/compiler.vcxproj</code> build project to build the Thrift compiler. Copy the resulting EXE file to a location of your choice.</p>
 
 <h3 id="build-and-install-target-libraries">Build and install target libraries</h3>
 
-<p>A few of the target language libraries also do provide Visual Studio project files, such as C++ and C#. These are located in the <code>lib/&lt;language&gt;/</code> folders.</p>
+<p>A few of the target language libraries also do provide Visual Studio project files, such as C++ and C#. These are located in the <code class="language-plaintext highlighter-rouge">lib/&lt;language&gt;/</code> folders.</p>
 
-<p>Most of the language packages must be built and installed manually using build tools better suited to those languages. Typical examples are Java, Ruby, Delphi, or PHP. Look for the <code>README.md</code> file in the <code>lib/&lt;language&gt;/</code> folder for more details on how to build and install each language’s library package.</p>
+<p>Most of the language packages must be built and installed manually using build tools better suited to those languages. Typical examples are Java, Ruby, Delphi, or PHP. Look for the <code class="language-plaintext highlighter-rouge">README.md</code> file in the <code class="language-plaintext highlighter-rouge">lib/&lt;language&gt;/</code> folder for more details on how to build and install each language’s library package.</p>
 
 <h2 id="setup-from-source-via-cygwin">Setup from source via Cygwin</h2>
 
@@ -101,31 +101,31 @@
 
 <p>If you are building from the first time out of the source repository, you will need to generate the configure scripts.  (This is not necessary if you downloaded a tarball.)  From the top directory, do:</p>
 
-<pre><code>./bootstrap.sh
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>./bootstrap.sh
+</code></pre></div></div>
 
 <p>Once the configure scripts are generated, thrift can be configured. From the top directory, do:</p>
 
-<pre><code>export CXXFLAGS="-D PTHREAD_MUTEX_RECURSIVE_NP=PTHREAD_MUTEX_RECURSIVE"
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>export CXXFLAGS="-D PTHREAD_MUTEX_RECURSIVE_NP=PTHREAD_MUTEX_RECURSIVE"
 ./configure
-</code></pre>
+</code></pre></div></div>
 
 <p>Setting the CXXFLAGS environmental variable works around compile errors with PTHREAD_MUTEX_RECURSIVE_NP being undeclared, by replacing it with the newer, portable PTHREAD_MUTEX_RECURSIVE. (Tested on cygwin 20100320, Thrift r760184, latest pthread.)</p>
 
 <p><strong>Optional:</strong> You <strong>may not</strong> be able to make from the root  Thrift directory due to errors (see below to resolve). To make the compiler only, change to the compiler directory before running make:</p>
 
-<pre><code>cd compiler/cpp
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>cd compiler/cpp
+</code></pre></div></div>
 
 <p>Now make the thrift compiler (&amp; runtime libraries if make is run from the thrift root directory):</p>
 
-<pre><code>make
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>make
 make install
-</code></pre>
+</code></pre></div></div>
 
 <h3 id="build-and-install-target-libraries-1">Build and install target libraries</h3>
 
-<p>Some language packages must be installed manually using build tools better suited to those languages. Typical examples are Java, Ruby, or PHP. Look for the README file in the <code>lib/&lt;language&gt;/</code> folder for more details on the installation of each language library package.</p>
+<p>Some language packages must be installed manually using build tools better suited to those languages. Typical examples are Java, Ruby, or PHP. Look for the README file in the <code class="language-plaintext highlighter-rouge">lib/&lt;language&gt;/</code> folder for more details on the installation of each language library package.</p>
 
 <h3 id="possible-issues-with-cygwin-install">Possible issues with Cygwin install</h3>
 
@@ -135,14 +135,14 @@ make install
 
 <p>The following error occurs for some users when running ./configure:</p>
 
-<pre><code>./configure: line 21183: syntax error near unexpected token `MONO,'
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>./configure: line 21183: syntax error near unexpected token `MONO,'
 ./configure: line 21183: `  PKG_CHECK_MODULES(MONO, mono &gt;= 1.2.6, have_mono=yes, have_mono=no)'
-</code></pre>
+</code></pre></div></div>
 
 <p>To resolve this, you’ll need to find your pkg.m4 (installed by the pkg-config package) file and copy it to the thrift/aclocal directory.  From the top-level thrift directory, you can copy the file by running</p>
 
-<pre><code>cp /usr/share/aclocal/pkg.m4 aclocal
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>cp /usr/share/aclocal/pkg.m4 aclocal
+</code></pre></div></div>
 
 <p>Finally, re-run ./bootstrap.sh and ./configure.  (Note that pkg.m4 is created by the pkg-config tool.  If your /usr/share/aclocal directory doesn’t contain the pkg.m4 file, you may not have pkg-config installed.)</p>
 
@@ -156,8 +156,8 @@ make install
 
 <p>If you need perl, and are happy to manually install it, replace the contents of thrift/lib/perl/Makefile with the following, after building thrift:</p>
 
-<pre><code>TODO
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>TODO
+</code></pre></div></div>
 
 <h4 id="linking-to-installed-c-runtime-libraries">Linking to installed C++ runtime libraries</h4>
 
@@ -167,14 +167,14 @@ make install
 
 <p>This can be implemented in a Makefile using the following lines:</p>
 
-<pre><code>THRIFT_O=&lt;path to&gt;/thrift/lib/cpp
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>THRIFT_O=&lt;path to&gt;/thrift/lib/cpp
 LTHRIFT=$(THRIFT_O)/Thrift.o $(THRIFT_O)/TSocket.o $(THRIFT_O)/TBinaryProtocol.o $(THRIFT_O)/TBufferTransports.o
-</code></pre>
+</code></pre></div></div>
 
 <p>Then linking using $(LTHRIFT) instead of -lthrift.</p>
 
-<pre><code>TODO - diagnose the issue further
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>TODO - diagnose the issue further
+</code></pre></div></div>
 
 <h4 id="c-runtime-segfault-with-cygwin-175-1-g-434-fork-and-throw">C++ runtime segfault with cygwin 1.7.5-1, g++-4.3.4, fork() and throw</h4>
 
@@ -197,39 +197,39 @@ LTHRIFT=$(THRIFT_O)/Thrift.o $(THRIFT_O)/TSocket.o $(THRIFT_O)/TBinaryProtocol.o
 
 <p>In addition, you need to add the following entry to your windows PATH variable.</p>
 
-<pre><code>C:\MINGW\BIN
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>C:\MINGW\BIN
+</code></pre></div></div>
 
 <p>Next, open compiler/cpp/Makefile.am and add the following line to thrift_CXXFLAGS</p>
 
-<pre><code>-DMINGW -mno-cygwin -lfl
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>-DMINGW -mno-cygwin -lfl
+</code></pre></div></div>
 
 <p>Run bootstrap.sh:</p>
 
-<pre><code>./bootstrap.sh
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>./bootstrap.sh
+</code></pre></div></div>
 
 <p>Make sure you have java in your $PATH variable, if not do(adjust path if necessary):</p>
 
-<pre><code>export PATH=$PATH:"/cygdrive/c/program files/java/jre1.8.0_191/bin"
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>export PATH=$PATH:"/cygdrive/c/program files/java/jre1.8.0_191/bin"
+</code></pre></div></div>
 
 <p>Run configure - using CXXFLAGS to work around an issue with an old pthreads define (untested on MinGW - works on Cygwin):</p>
 
-<pre><code>export CXXFLAGS="-D PTHREAD_MUTEX_RECURSIVE_NP=PTHREAD_MUTEX_RECURSIVE"
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>export CXXFLAGS="-D PTHREAD_MUTEX_RECURSIVE_NP=PTHREAD_MUTEX_RECURSIVE"
 ./configure
-</code></pre>
+</code></pre></div></div>
 
 <p>'’Optional:’’ To make the compiler only, change to the compiler  directory before running make:</p>
 
-<pre><code>cd compiler/cpp
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>cd compiler/cpp
+</code></pre></div></div>
 
 <p>Run make:</p>
 
-<pre><code>mingw32-make.exe
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>mingw32-make.exe
+</code></pre></div></div>
 
 <h3 id="possible-issues-with-mingw-install">Possible issues with MinGW install</h3>
 
@@ -243,8 +243,8 @@ LTHRIFT=$(THRIFT_O)/Thrift.o $(THRIFT_O)/TSocket.o $(THRIFT_O)/TBinaryProtocol.o
 
 <p>Try and change the include dir to use the windows path from c like this: Edit compiler/cpp/Makefile, look for the declaration of BOOST_CPPFLAGS, change that line for</p>
 
-<pre><code>BOOST_CPPFLAGS = -Ic:/cygwin/usr/include/boost-1_53_0
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>BOOST_CPPFLAGS = -Ic:/cygwin/usr/include/boost-1_53_0
+</code></pre></div></div>
 
 <h4 id="realpath-is-not-found">realpath is not found</h4>
 
@@ -287,7 +287,7 @@ LTHRIFT=$(THRIFT_O)/Thrift.o $(THRIFT_O)/TSocket.o $(THRIFT_O)/TBinaryProtocol.o
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/docs/types.html b/output/docs/types.html
index bccc4bc..01ad346 100644
--- a/output/docs/types.html
+++ b/output/docs/types.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -127,7 +127,7 @@ While defaults are provided, the type mappings are not explicitly fixed. Custom
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/download.html b/output/download.html
index e7fc1f9..22ad7a3 100644
--- a/output/download.html
+++ b/output/download.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -115,7 +115,7 @@ cd thrift
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/index.html b/output/index.html
index 07d2a8d..741f0a4 100644
--- a/output/index.html
+++ b/output/index.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -125,7 +125,7 @@
   <div class="tab-content">
     <div class="tab-pane active" id="1">
       
-<div class="highlight"><pre class="codehilite"><code>/**
+<figure class="highlight"><pre><code class="language-text" data-lang="text">/**
  * Ahh, now onto the cool part, defining a service. Services just need a name
  * and can optionally inherit from another service using the extends keyword.
  */
@@ -152,7 +152,7 @@ service Calculator extends shared.SharedService {
    oneway void zip()
 
 }
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/tutorial.thrift">tutorial/tutorial.thrift</a>
 </p>
@@ -160,7 +160,7 @@ service Calculator extends shared.SharedService {
     </div>
     <div class="tab-pane" id="2">
       
-<div class="highlight"><pre class="codehilite"><code><span class="k">def</span> <span class="nf">main</span><span class="p">():</span>
+<figure class="highlight"><pre><code class="language-py" data-lang="py"><span class="k">def</span> <span class="nf">main</span><span class="p">():</span>
     <span class="c1"># Make socket
 </span>    <span class="n">transport</span> <span class="o">=</span> <span class="n">TSocket</span><span class="p">.</span><span class="nc">TSocket</span><span class="p">(</span><span class="sh">'</span><span class="s">localhost</span><span class="sh">'</span><span class="p">,</span> <span class="mi">9090</span><span class="p">)</span>
 
@@ -180,7 +180,7 @@ service Calculator extends shared.SharedService {
     <span class="nf">print</span><span class="p">(</span><span class="sh">'</span><span class="s">ping()</span><span class="sh">'</span><span class="p">)</span>
 
     <span class="n">sum_</span> <span class="o">=</span> <span class="n">client</span><span class="p">.</span><span class="nf">add</span><span class="p">(</span><span class="mi">1</span><span class="p">,</span> <span class="mi">1</span><span class="p">)</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/py/PythonClient.py">tutorial/py/PythonClient.py</a>
 </p>
@@ -189,7 +189,7 @@ service Calculator extends shared.SharedService {
     <div class="tab-pane" id="3">
     Initialize the Server:
       
-<div class="highlight"><pre class="codehilite"><code>    <span class="k">try</span> <span class="o">{</span>
+<figure class="highlight"><pre><code class="language-java" data-lang="java">    <span class="k">try</span> <span class="o">{</span>
       <span class="nc">TServerTransport</span> <span class="n">serverTransport</span> <span class="o">=</span> <span class="k">new</span> <span class="nc">TServerSocket</span><span class="o">(</span><span class="mi">9090</span><span class="o">);</span>
       <span class="nc">TServer</span> <span class="n">server</span> <span class="o">=</span> <span class="k">new</span> <span class="nc">TSimpleServer</span><span class="o">(</span><span class="k">new</span> <span class="nc">Args</span><span class="o">(</span><span class="n">serverTransport</span><span class="o">).</span><span class="na">processor</span><span class="o">(</span><span class="n">processor</span><span class="o">));</span>
 
@@ -201,7 +201,7 @@ service Calculator extends shared.SharedService {
     <span class="o">}</span> <span class="k">catch</span> <span class="o">(</span><span class="nc">Exception</span> <span class="n">e</span><span class="o">)</span> <span class="o">{</span>
       <span class="n">e</span><span class="o">.</span><span class="na">printStackTrace</span><span class="o">();</span>
     <span class="o">}</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/java/src/JavaServer.java">tutorial/java/src/JavaServer.java</a>
 </p>
@@ -209,7 +209,7 @@ service Calculator extends shared.SharedService {
 
     The CalculatorHandler:
       
-<div class="highlight"><pre class="codehilite"><code><span class="kd">public</span> <span class="kd">class</span> <span class="nc">CalculatorHandler</span> <span class="kd">implements</span> <span class="nc">Calculator</span><span class="o">.</span><span class="na">Iface</span> <span class="o">{</span>
+<figure class="highlight"><pre><code class="language-java" data-lang="java"><span class="kd">public</span> <span class="kd">class</span> <span class="nc">CalculatorHandler</span> <span class="kd">implements</span> <span class="nc">Calculator</span><span class="o">.</span><span class="na">Iface</span> <span class="o">{</span>
 
   <span class="kd">private</span> <span class="nc">HashMap</span><span class="o">&lt;</span><span class="nc">Integer</span><span class="o">,</span><span class="nc">SharedStruct</span><span class="o">&gt;</span> <span class="n">log</span><span class="o">;</span>
 
@@ -273,7 +273,7 @@ service Calculator extends shared.SharedService {
   <span class="o">}</span>
 
 <span class="o">}</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/java/src/CalculatorHandler.java">tutorial/java/src/CalculatorHandler.java</a>
 </p>
@@ -309,7 +309,7 @@ service Calculator extends shared.SharedService {
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/lib/c_glib.html b/output/lib/c_glib.html
index 80c8d7d..23f7908 100644
--- a/output/lib/c_glib.html
+++ b/output/lib/c_glib.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -62,7 +62,7 @@ http://www.gtk.org/</p>
 
 <h1 id="breaking-changes">Breaking Changes</h1>
 
-<h2 id="section">0.12.0</h2>
+<h2 id="0120">0.12.0</h2>
 
 <p>The compiler’s handling of namespaces when generating the name of types,
 functions and header files has been improved. This means code written to use
@@ -107,7 +107,7 @@ representation of the class’ namespace, followed by</li>
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/lib/cl.html b/output/lib/cl.html
index e650ae3..1d4eda9 100644
--- a/output/lib/cl.html
+++ b/output/lib/cl.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -65,22 +65,22 @@
   <li>DEF-SERVICE forms for thrift service definitions.</li>
 </ul>
 
-<p>Each service definition expands in a collection of generic function definitions. For each <code>op</code>
+<p>Each service definition expands in a collection of generic function definitions. For each <code class="language-plaintext highlighter-rouge">op</code>
  in the service definition, two functions are defined</p>
 
 <ul>
-  <li><code>op</code>-request is defined for use by a client. It accepts an additional initial <code>protocol</code> argument,
+  <li><code class="language-plaintext highlighter-rouge">op</code>-request is defined for use by a client. It accepts an additional initial <code class="language-plaintext highlighter-rouge">protocol</code> argument,
 to act as the client proxy for the operation and mediate the interaction with a remote process
 through a Thrift-encoded transport stream.</li>
-  <li><code>op</code>-response is defined for use by a server. It accepts a single <code>protocol</code> argument. A server
-uses it to decode the request message, invoke the base <code>op</code> function with the message arguments,
+  <li><code class="language-plaintext highlighter-rouge">op</code>-response is defined for use by a server. It accepts a single <code class="language-plaintext highlighter-rouge">protocol</code> argument. A server
+uses it to decode the request message, invoke the base <code class="language-plaintext highlighter-rouge">op</code> function with the message arguments,
 encode and send the the result as a response, and handles exceptions.</li>
 </ul>
 
 <p>The client interface is one operator</p>
 
 <ul>
-  <li><code>with-client (variable location) . body</code> : creates a connection in a dynamic context and closes it
+  <li><code class="language-plaintext highlighter-rouge">with-client (variable location) . body</code> : creates a connection in a dynamic context and closes it
 upon exit. The variable is bound to a client proxy stream/protocol instance, which wraps the
 base i/o stream - socket, file, etc, with an operators which implement the Thrift protocol
 and transport mechanisms.</li>
@@ -89,13 +89,13 @@ and transport mechanisms.</li>
 <p>The server interface combines server and service objects</p>
 
 <ul>
-  <li><code>serve (location service)</code> : accepts connections on the designated port and responds to
+  <li><code class="language-plaintext highlighter-rouge">serve (location service)</code> : accepts connections on the designated port and responds to
 requests of the service’s operations.</li>
 </ul>
 
 <h2 id="building">Building</h2>
 
-<p>The Thrift Common Lisp library is packaged as the ASDF[<a href="www.common-lisp.net/asdf">1</a>] system <code>thrift</code>.
+<p>The Thrift Common Lisp library is packaged as the ASDF[<a href="www.common-lisp.net/asdf">1</a>] system <code class="language-plaintext highlighter-rouge">thrift</code>.
 It depends on the systems</p>
 
 <ul>
@@ -113,8 +113,8 @@ it is possible to use those bundles to load the library, too.</p>
 
 <p>In order to build it, register those systems with ASDF and evaluate:</p>
 
-<pre><code>(asdf:load-system :thrift)
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>(asdf:load-system :thrift)
+</code></pre></div></div>
 
 <p>This will compile and load the Lisp compiler for Thrift definition files, the
 transport and protocol implementations, and the client and server interface
@@ -137,7 +137,7 @@ IDL files, as there is no facility to generate them from a service implementatio
 
 <h2 id="implement-the-service">Implement the Service</h2>
 
-<p>The tutorial comprises serveral functions: <code>add</code>, <code>ping</code>, <code>zip</code>, and <code>calculate</code>.
+<p>The tutorial comprises serveral functions: <code class="language-plaintext highlighter-rouge">add</code>, <code class="language-plaintext highlighter-rouge">ping</code>, <code class="language-plaintext highlighter-rouge">zip</code>, and <code class="language-plaintext highlighter-rouge">calculate</code>.
 Each translated IDL file generates three packages for every service. In the case of
 the tutorial file, the relevant packages are:</p>
 
@@ -150,11 +150,11 @@ the tutorial file, the relevant packages are:</p>
 <p>This is to separate the request (generated), response (generated) and implementation
 (meant to be implemented by the programmer) functions for defined Thrift methods.</p>
 
-<p>It is suggested to work in the <code>tutorial-implementation</code> package while implementing
-the services - it imports the <code>common-lisp</code> package, while the service-specific ones
-don’t (to avoid conflicts between Thrift method names and function names in <code>common-lisp</code>).</p>
+<p>It is suggested to work in the <code class="language-plaintext highlighter-rouge">tutorial-implementation</code> package while implementing
+the services - it imports the <code class="language-plaintext highlighter-rouge">common-lisp</code> package, while the service-specific ones
+don’t (to avoid conflicts between Thrift method names and function names in <code class="language-plaintext highlighter-rouge">common-lisp</code>).</p>
 
-<pre><code>;; define the base operations
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>;; define the base operations
 
 (in-package :tutorial-implementation)
 
@@ -187,43 +187,46 @@ don’t (to avoid conflicts between Thrift method names and function names in <c
     (/ arg1 arg2)))
 
 (defun zip () (print 'zip))
-</code></pre>
+</code></pre></div></div>
 
 <h2 id="translate-the-thrift-idl">Translate the Thrift IDL</h2>
 
-<p>IDL files employ the file extension <code>thrift</code>. In this case, there are two files to translate
-  * <code>tutorial.thrift</code>
-  * <code>shared.thrift</code>
+<p>IDL files employ the file extension <code class="language-plaintext highlighter-rouge">thrift</code>. In this case, there are two files to translate</p>
+<ul>
+  <li><code class="language-plaintext highlighter-rouge">tutorial.thrift</code></li>
+  <li>
+    <p><code class="language-plaintext highlighter-rouge">shared.thrift</code>
 As the former includes the latter, one uses it to generate the interfaces:</p>
 
-<pre><code>$THRIFT/bin/thrift -r --gen cl $THRIFT/tutorial/tutorial.thrift
-</code></pre>
+    <p>$THRIFT/bin/thrift -r –gen cl $THRIFT/tutorial/tutorial.thrift</p>
+  </li>
+</ul>
 
-<p><code>-r</code> stands for recursion, while <code>--gen</code> lets one choose the language to translate to.</p>
+<p><code class="language-plaintext highlighter-rouge">-r</code> stands for recursion, while <code class="language-plaintext highlighter-rouge">--gen</code> lets one choose the language to translate to.</p>
 
 <h2 id="load-the-lisp-translated-service-interfaces">Load the Lisp translated service interfaces</h2>
 
-<p>The translator generates three files for each IDL file. For example <code>tutorial-types.lisp</code>,
-<code>tutorial-vars.lisp</code> and an <code>.asd</code> file that can be used to load them both and pull in
-other includes (like <code>shared</code> within the tutorial) as dependencies.</p>
+<p>The translator generates three files for each IDL file. For example <code class="language-plaintext highlighter-rouge">tutorial-types.lisp</code>,
+<code class="language-plaintext highlighter-rouge">tutorial-vars.lisp</code> and an <code class="language-plaintext highlighter-rouge">.asd</code> file that can be used to load them both and pull in
+other includes (like <code class="language-plaintext highlighter-rouge">shared</code> within the tutorial) as dependencies.</p>
 
 <h2 id="run-a-server-for-the-service">Run a Server for the Service</h2>
 
-<p>The actual service name, as specified in the <code>def-service</code> form in <code>tutorial.lisp</code>, is <code>calculator</code>. 
+<p>The actual service name, as specified in the <code class="language-plaintext highlighter-rouge">def-service</code> form in <code class="language-plaintext highlighter-rouge">tutorial.lisp</code>, is <code class="language-plaintext highlighter-rouge">calculator</code>. 
 Each service definition defines a global variable with the service name and binds it to a
 service instance whch describes the operations.</p>
 
 <p>In order to start a service, specify a location and the service instance.</p>
 
-<pre><code>(in-package :tutorial)
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>(in-package :tutorial)
 (serve #u"thrift://127.0.0.1:9091" calculator)
-</code></pre>
+</code></pre></div></div>
 
 <h2 id="use-a-client-to-access-the-service-remotely">Use a Client to Access the Service Remotely</h2>
 
 <p>[in some other process] run the client</p>
 
-<pre><code>(in-package :cl-user)
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>(in-package :cl-user)
 
 (macrolet ((show (form)
              `(format *trace-output* "~%~s =&gt;~{ ~s~}"
@@ -246,7 +249,7 @@ service instance whch describes the operations.</p>
     (show (shared.shared-service:get-struct protocol 1))
 
     (show (zip protocol))))
-</code></pre>
+</code></pre></div></div>
 
 <h2 id="issues">Issues</h2>
 
@@ -265,7 +268,7 @@ service instance whch describes the operations.</p>
 <p>Maps are now represented as hash tables. As data through the call/reply interface is all statically
  typed, it is not necessary for the objects to themselves indicate the coding form. Association lists
  would be sufficient. As the key type is arbitrary, property lists offer no additional convenience:
- as <code>getf</code> operates with <code>eq</code> a new access interface would be necessary and they would not be
+ as <code class="language-plaintext highlighter-rouge">getf</code> operates with <code class="language-plaintext highlighter-rouge">eq</code> a new access interface would be necessary and they would not be
  available for function application.</p>
 
 <ul>
@@ -306,7 +309,7 @@ service instance whch describes the operations.</p>
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/lib/cpp.html b/output/lib/cpp.html
index debf165..da1841b 100644
--- a/output/lib/cpp.html
+++ b/output/lib/cpp.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -57,11 +57,11 @@ in the top-level README.md</p>
 
 <p>In case you do not want to open another README.md file, do this thrift src:</p>
 
-<pre><code>./bootstrap.sh
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>./bootstrap.sh
 ./configure (--with-boost=/usr/local)
 make
 sudo make install
-</code></pre>
+</code></pre></div></div>
 
 <p>Thrift is divided into two libraries.</p>
 
@@ -140,12 +140,12 @@ http://monkey.org/~provos/libevent/</p>
 <p>You can download and install thrift using the 
 <a href="https://github.com/Microsoft/vcpkg">vcpkg</a> dependency manager:</p>
 
-<pre><code>git clone https://github.com/Microsoft/vcpkg.git
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>git clone https://github.com/Microsoft/vcpkg.git
 cd vcpkg
 ./bootstrap-vcpkg.sh
 ./vcpkg integrate install
 ./vcpkg install thrift
-</code></pre>
+</code></pre></div></div>
 
 <p>The thrift port in vcpkg is kept up to date by Microsoft team members 
 and community contributors. The Apache Thrift project is <em>not</em> responsible
@@ -259,9 +259,9 @@ one of the followings is included in “keys/server.crt”,</p>
 
 <p>Run within /test/ folder,</p>
 
-<pre><code>     ./cpp/TestServer --ssl &amp;
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>     ./cpp/TestServer --ssl &amp;
      ./cpp/TestClient --ssl
-</code></pre>
+</code></pre></div></div>
 
 <p>If “-h <host>" is used to run client, the above "localhost" in the above
 keys/server.crt has to be replaced with that host name.</host></p>
@@ -276,42 +276,42 @@ overridden if it’s not strong enough for you.</p>
 
 <h1 id="thrift-uuid">Thrift UUID</h1>
 
-<p>The <code>uuid</code> <code>BaseType</code> is implemented in C++ by the <code>apache::thrift::TUuid</code> class. This class
+<p>The <code class="language-plaintext highlighter-rouge">uuid</code> <code class="language-plaintext highlighter-rouge">BaseType</code> is implemented in C++ by the <code class="language-plaintext highlighter-rouge">apache::thrift::TUuid</code> class. This class
 is a strong wrapper class around an internal buffer of 16 bytes.</p>
 
-<p>The <code>apache::thrift::TUuid</code> supports construction from different UUID string representations.
+<p>The <code class="language-plaintext highlighter-rouge">apache::thrift::TUuid</code> supports construction from different UUID string representations.
 Some examples of supported string formats are:</p>
 
 <ul>
-  <li><code>"hhhhhhhh-hhhh-hhhh-hhhh-hhhhhhhhhhhh"</code></li>
-  <li><code>"{hhhhhhhh-hhhh-hhhh-hhhh-hhhhhhhhhhhh}"</code></li>
-  <li><code>"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh"</code></li>
-  <li><code>"{hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh}"</code></li>
+  <li><code class="language-plaintext highlighter-rouge">"hhhhhhhh-hhhh-hhhh-hhhh-hhhhhhhhhhhh"</code></li>
+  <li><code class="language-plaintext highlighter-rouge">"{hhhhhhhh-hhhh-hhhh-hhhh-hhhhhhhhhhhh}"</code></li>
+  <li><code class="language-plaintext highlighter-rouge">"hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh"</code></li>
+  <li><code class="language-plaintext highlighter-rouge">"{hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh}"</code></li>
 </ul>
 
-<h2 id="tuuid-and-boostuuidsuuid"><code>TUuid</code> and <code>boost::uuids::uuid</code></h2>
+<h2 id="tuuid-and-boostuuidsuuid"><code class="language-plaintext highlighter-rouge">TUuid</code> and <code class="language-plaintext highlighter-rouge">boost::uuids::uuid</code></h2>
 
-<p>Internally the TUuid class is implemented using the <code>boost::uuids::uuid</code> library. As a result the TUuid
+<p>Internally the TUuid class is implemented using the <code class="language-plaintext highlighter-rouge">boost::uuids::uuid</code> library. As a result the TUuid
 can seamlessly interoperate with the boost UUID type since the underlying data structure is the same.</p>
 
-<p>For convenience, when boost is already used by a project the <code>THRIFT_TUUID_SUPPORT_BOOST_UUID</code> preprocessor
-directive can be set when including the thrift library to enable construction of a <code>TUuid</code> from a
-<code>boost::uuids::uuid</code>. By default this is an implicit constructor that can be changed to be explicit
-by defining the <code>THRIFT_TUUID_BOOST_CONSTRUCTOR_EXPLICIT</code> preprocessor directive.</p>
+<p>For convenience, when boost is already used by a project the <code class="language-plaintext highlighter-rouge">THRIFT_TUUID_SUPPORT_BOOST_UUID</code> preprocessor
+directive can be set when including the thrift library to enable construction of a <code class="language-plaintext highlighter-rouge">TUuid</code> from a
+<code class="language-plaintext highlighter-rouge">boost::uuids::uuid</code>. By default this is an implicit constructor that can be changed to be explicit
+by defining the <code class="language-plaintext highlighter-rouge">THRIFT_TUUID_BOOST_CONSTRUCTOR_EXPLICIT</code> preprocessor directive.</p>
 
 <p>The thrift library does not need to be compiled differently when this constructor is needed. The preprocessor
 directives can be set on the project that uses the thrift library.</p>
 
 <h1 id="deprecations">Deprecations</h1>
 
-<h2 id="section">0.12.0</h2>
+<h2 id="0120">0.12.0</h2>
 
 <p>Support for C++03/C++98 was deprecated.
 Support for Boost at runtime was deprecated.</p>
 
 <h1 id="breaking-changes">Breaking Changes</h1>
 
-<h2 id="section-1">1.0.0</h2>
+<h2 id="100">1.0.0</h2>
 
 <p>THRIFT-4720:
 The classes Monitor and TimerManager now use std::chrono::milliseconds for timeout, the methods and functions involving THRIFT_TIMESPEC and timeval have been removed, the related tests have been modified.</p>
@@ -341,10 +341,10 @@ libraries now.  This is CMake standard behavior.</p>
 Qt4 support was removed.</p>
 
 <p>THRIFT-4762:
-Added <code>const</code> specifier to <code>TTransport::getOrigin()</code>. This changes its function signature.
-It’s recommended to add the <code>override</code> specifier in implementations derived from <code>TTransport</code>.</p>
+Added <code class="language-plaintext highlighter-rouge">const</code> specifier to <code class="language-plaintext highlighter-rouge">TTransport::getOrigin()</code>. This changes its function signature.
+It’s recommended to add the <code class="language-plaintext highlighter-rouge">override</code> specifier in implementations derived from <code class="language-plaintext highlighter-rouge">TTransport</code>.</p>
 
-<h2 id="section-2">0.11.0</h2>
+<h2 id="0110">0.11.0</h2>
 
 <p>Older versions of thrift depended on the &lt;boost/smart_ptr.hpp&gt; classes which
 were used in thrift headers to define interfaces.  Thrift now detects C++11
@@ -395,7 +395,7 @@ cleanup and leave it up to the consuming application, this requirement is not ne
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/lib/csharp.html b/output/lib/csharp.html
index 8bca31d..d0b19ba 100644
--- a/output/lib/csharp.html
+++ b/output/lib/csharp.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -77,7 +77,7 @@
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/lib/d.html b/output/lib/d.html
index 49666e1..d8bdbfc 100644
--- a/output/lib/d.html
+++ b/output/lib/d.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -106,7 +106,7 @@ risk.</p>
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/lib/delphi.html b/output/lib/delphi.html
index 547c455..849be60 100644
--- a/output/lib/delphi.html
+++ b/output/lib/delphi.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -88,7 +88,7 @@ with earlier versions (such as Delphi 7) will <em>not</em> work.</p>
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/lib/erl.html b/output/lib/erl.html
index 96ef7e0..d53f22b 100644
--- a/output/lib/erl.html
+++ b/output/lib/erl.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -52,34 +52,33 @@
       
 <h2 id="release-notes">Release Notes</h2>
 
-<h3 id="section">0.9.2</h3>
+<h3 id="092">0.9.2</h3>
 
 <p>as of 0.9.2 struct and function naming conventions have changed. to retain the
 old naming conventions (for backwards compatibility) use the compiler option
-<code>legacynames</code></p>
+<code class="language-plaintext highlighter-rouge">legacynames</code></p>
 
 <h2 id="example">Example</h2>
 
 <p>Example session using thrift_client:</p>
 
-<p><code>erl
-1&gt; {ok, C0} = thrift_client_util:new("localhost", 9090, thrift_test_thrift, []), ok.
-ok
-2&gt; {C1, R1} = thrift_client:call(C0, testVoid, []), R1.
-{ok,ok}
-3&gt; {C2, R2} = thrift_client:call(C1, testVoid, [asdf]), R2.
-{error,{bad_args,testVoid,[asdf]}}
-4&gt; {C3, R3} = thrift_client:call(C2, testI32, [123]), R3.
-{ok,123}
-5&gt; {C4, R4} = thrift_client:call(C3, testOneway, [1]), R4.
-{ok,ok}
-6&gt; {C5, R5} = thrift_client:call(C4, testXception, ["foo"]), R5.
-{error,{no_function,testXception}}
-7&gt; {C6, R6} = thrift_client:call(C5, testException, ["foo"]), R6.
-{ok,ok}
-8&gt; {C7, R7} = (catch thrift_client:call(C6, testException, ["Xception"])), R7.
-{exception,{xception,1001,&lt;&lt;"Xception"&gt;&gt;}}
-</code></p>
+<div class="language-erl highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="mi">1</span><span class="o">&gt;</span> <span class="p">{</span><span class="n">ok</span><span class="p">,</span> <span class="nv">C0</span><span class="p">}</span> <span class="o">=</span> <span class="nn">thrift_client_util</span><span class="p">:</span><span class="nf">new</span><span class="p">(</span><span class="s">"localhost"</span><span class="p">,</span> <span class="mi"> [...]
+<span class="n">ok</span>
+<span class="mi">2</span><span class="o">&gt;</span> <span class="p">{</span><span class="nv">C1</span><span class="p">,</span> <span class="nv">R1</span><span class="p">}</span> <span class="o">=</span> <span class="nn">thrift_client</span><span class="p">:</span><span class="nf">call</span><span class="p">(</span><span class="nv">C0</span><span class="p">,</span> <span class="n">testVoid</span><span class="p">,</span> <span class="p">[]),</span> <span class="nv">R1</span><span class="p [...]
+<span class="p">{</span><span class="n">ok</span><span class="p">,</span><span class="n">ok</span><span class="p">}</span>
+<span class="mi">3</span><span class="o">&gt;</span> <span class="p">{</span><span class="nv">C2</span><span class="p">,</span> <span class="nv">R2</span><span class="p">}</span> <span class="o">=</span> <span class="nn">thrift_client</span><span class="p">:</span><span class="nf">call</span><span class="p">(</span><span class="nv">C1</span><span class="p">,</span> <span class="n">testVoid</span><span class="p">,</span> <span class="p">[</span><span class="n">asdf</span><span class="p">] [...]
+<span class="p">{</span><span class="n">error</span><span class="p">,{</span><span class="n">bad_args</span><span class="p">,</span><span class="n">testVoid</span><span class="p">,[</span><span class="n">asdf</span><span class="p">]}}</span>
+<span class="mi">4</span><span class="o">&gt;</span> <span class="p">{</span><span class="nv">C3</span><span class="p">,</span> <span class="nv">R3</span><span class="p">}</span> <span class="o">=</span> <span class="nn">thrift_client</span><span class="p">:</span><span class="nf">call</span><span class="p">(</span><span class="nv">C2</span><span class="p">,</span> <span class="n">testI32</span><span class="p">,</span> <span class="p">[</span><span class="mi">123</span><span class="p">]) [...]
+<span class="p">{</span><span class="n">ok</span><span class="p">,</span><span class="mi">123</span><span class="p">}</span>
+<span class="mi">5</span><span class="o">&gt;</span> <span class="p">{</span><span class="nv">C4</span><span class="p">,</span> <span class="nv">R4</span><span class="p">}</span> <span class="o">=</span> <span class="nn">thrift_client</span><span class="p">:</span><span class="nf">call</span><span class="p">(</span><span class="nv">C3</span><span class="p">,</span> <span class="n">testOneway</span><span class="p">,</span> <span class="p">[</span><span class="mi">1</span><span class="p">] [...]
+<span class="p">{</span><span class="n">ok</span><span class="p">,</span><span class="n">ok</span><span class="p">}</span>
+<span class="mi">6</span><span class="o">&gt;</span> <span class="p">{</span><span class="nv">C5</span><span class="p">,</span> <span class="nv">R5</span><span class="p">}</span> <span class="o">=</span> <span class="nn">thrift_client</span><span class="p">:</span><span class="nf">call</span><span class="p">(</span><span class="nv">C4</span><span class="p">,</span> <span class="n">testXception</span><span class="p">,</span> <span class="p">[</span><span class="s">"foo"</span><span class= [...]
+<span class="p">{</span><span class="n">error</span><span class="p">,{</span><span class="n">no_function</span><span class="p">,</span><span class="n">testXception</span><span class="p">}}</span>
+<span class="mi">7</span><span class="o">&gt;</span> <span class="p">{</span><span class="nv">C6</span><span class="p">,</span> <span class="nv">R6</span><span class="p">}</span> <span class="o">=</span> <span class="nn">thrift_client</span><span class="p">:</span><span class="nf">call</span><span class="p">(</span><span class="nv">C5</span><span class="p">,</span> <span class="n">testException</span><span class="p">,</span> <span class="p">[</span><span class="s">"foo"</span><span class [...]
+<span class="p">{</span><span class="n">ok</span><span class="p">,</span><span class="n">ok</span><span class="p">}</span>
+<span class="mi">8</span><span class="o">&gt;</span> <span class="p">{</span><span class="nv">C7</span><span class="p">,</span> <span class="nv">R7</span><span class="p">}</span> <span class="o">=</span> <span class="p">(</span><span class="k">catch</span> <span class="nn">thrift_client</span><span class="p">:</span><span class="nf">call</span><span class="p">(</span><span class="nv">C6</span><span class="p">,</span> <span class="n">testException</span><span class="p">,</span> <span clas [...]
+<span class="p">{</span><span class="n">exception</span><span class="p">,{</span><span class="n">xception</span><span class="p">,</span><span class="mi">1001</span><span class="p">,</span><span class="o">&lt;&lt;</span><span class="s">"Xception"</span><span class="o">&gt;&gt;</span><span class="p">}}</span>
+</code></pre></div></div>
 
 <p class="snippet_footer">This page was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=lib/erl/README.md">lib/erl/README.md</a>
@@ -112,7 +111,7 @@ ok
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/lib/go.html b/output/lib/go.html
index a024c8b..9cd1e8b 100644
--- a/output/lib/go.html
+++ b/output/lib/go.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -76,8 +76,8 @@ and as a result no longer works on go1.12.</p>
 <p>After initializing the go modules file in your project, use the following
 command to add the most recent version of the package:</p>
 
-<pre><code>$ go get github.com/apache/thrift
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ go get github.com/apache/thrift
+</code></pre></div></div>
 
 <h1 id="a-note-about-optional-fields">A note about optional fields</h1>
 
@@ -90,26 +90,26 @@ code represents optional fields via pointers.</p>
 have a syntax for creating a pointer to a constant in a single expression. That
 is, given a struct like</p>
 
-<pre><code>struct SomeIDLType {
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>struct SomeIDLType {
 	OptionalField *int32
 }
-</code></pre>
+</code></pre></div></div>
 
 <p>, the following will not compile:</p>
 
-<pre><code>x := &amp;SomeIDLType{
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>x := &amp;SomeIDLType{
 	OptionalField: &amp;(3),
 }
-</code></pre>
+</code></pre></div></div>
 
 <p>(Nor is there any other syntax that’s built in to the language)</p>
 
 <p>As such, we provide some helpers that do just this under lib/go/thrift/. E.g.,</p>
 
-<pre><code>x := &amp;SomeIDLType{
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>x := &amp;SomeIDLType{
 	OptionalField: thrift.Int32Ptr(3),
 }
-</code></pre>
+</code></pre></div></div>
 
 <p>And so on. The code generator also creates analogous helpers for user-defined
 typedefs and enums.</p>
@@ -118,17 +118,17 @@ typedefs and enums.</p>
 
 <p>You can add tags to the auto-generated thrift structs using the following format:</p>
 
-<pre><code>struct foo {
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>struct foo {
   1: required string Bar (go.tag = "some_tag:\"some_tag_value\"")
 }
-</code></pre>
+</code></pre></div></div>
 
 <p>which will generate:</p>
 
-<pre><code>type Foo struct {
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>type Foo struct {
   Bar string `thrift:"bar,1,required" some_tag:"some_tag_value"`
 }
-</code></pre>
+</code></pre></div></div>
 
 <h1 id="a-note-about-server-handler-implementations">A note about server handler implementations</h1>
 
@@ -136,13 +136,13 @@ typedefs and enums.</p>
 the client closes the connection (this is a best effort check, not a guarantee
 – there’s no guarantee that the context object is always canceled when client
 closes the connection, but when it’s canceled you can always assume the client
-closed the connection). The cause of the cancellation (via <code>context.Cause(ctx)</code>)
-would also be set to <code>thrift.ErrAbandonRequest</code>.</p>
+closed the connection). The cause of the cancellation (via <code class="language-plaintext highlighter-rouge">context.Cause(ctx)</code>)
+would also be set to <code class="language-plaintext highlighter-rouge">thrift.ErrAbandonRequest</code>.</p>
 
 <p>When implementing Go Thrift server, you can take advantage of that to abandon
-requests that’s no longer needed by returning <code>thrift.ErrAbandonRequest</code>:</p>
+requests that’s no longer needed by returning <code class="language-plaintext highlighter-rouge">thrift.ErrAbandonRequest</code>:</p>
 
-<pre><code>func MyEndpoint(ctx context.Context, req *thriftRequestType) (*thriftResponseType, error) {
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>func MyEndpoint(ctx context.Context, req *thriftRequestType) (*thriftResponseType, error) {
     ...
     if ctx.Err() == context.Canceled {
         return nil, thrift.ErrAbandonRequest
@@ -152,15 +152,15 @@ requests that’s no longer needed by returning <code>thrift.ErrAbandonRequest</
     }
     ...
 }
-</code></pre>
+</code></pre></div></div>
 
 <p>This feature would add roughly 1 millisecond of latency overhead to the server
 handlers (along with roughly 2 goroutines per request).
 If that is unacceptable, it can be disabled by having this line early in your
 main function:</p>
 
-<pre><code>thrift.ServerConnectivityCheckInterval = 0
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>thrift.ServerConnectivityCheckInterval = 0
+</code></pre></div></div>
 
 <p>Please be advised that due to a
 <a href="https://github.com/golang/go/issues/27707">Go runtime bug</a>, currently
@@ -173,18 +173,20 @@ excessive cpu overhead.</p>
 
 <p><a href="https://pkg.go.dev/github.com/apache/thrift/lib/go/thrift#TSimpleServer.Stop">TSimpleServer.Stop</a> will wait for all client connections to be closed after 
 the last received request to be handled, as the time spent by Stop
- may sometimes be too long:
-* When socket timeout is not set, server might be hanged before all active
-  clients to finish handling the last received request.
-* When the socket timeout is too long (e.g one hour), server will
-  hang for that duration before all active clients to finish handling the
-  last received request.</p>
+ may sometimes be too long:</p>
+<ul>
+  <li>When socket timeout is not set, server might be hanged before all active
+clients to finish handling the last received request.</li>
+  <li>When the socket timeout is too long (e.g one hour), server will
+hang for that duration before all active clients to finish handling the
+last received request.</li>
+</ul>
 
 <p>To prevent Stop from hanging for too long, you can set 
 thrift.ServerStopTimeout in your main or init function:</p>
 
-<pre><code>thrift.ServerStopTimeout = &lt;max_duration_to_stop&gt;
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>thrift.ServerStopTimeout = &lt;max_duration_to_stop&gt;
+</code></pre></div></div>
 
 <p>If it’s set to &lt;=0, the feature will be disabled (by default), and server 
 will wait for all the client connections to be closed gracefully with 
@@ -224,7 +226,7 @@ will be closed abruptly which may cause some client errors.</p>
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/lib/haxe.html b/output/lib/haxe.html
index e1b428a..78fdf6d 100644
--- a/output/lib/haxe.html
+++ b/output/lib/haxe.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -55,14 +55,14 @@
 <h2 id="haxe-setup">Haxe setup</h2>
 
 <p>Thrift requires Haxe 4.2.1. Installers for Windows and OSX
-platforms are available at <code>http://haxe.org/download</code>.</p>
+platforms are available at <code class="language-plaintext highlighter-rouge">http://haxe.org/download</code>.</p>
 
 <p>Depending on the desired targets, you may have to install the appropriate HaxeLibs 
 after installing Haxe itself. For example, if you plan to target C++, enter the 
 following command after installing Haxe:</p>
 
-<pre><code>haxelib install hxcpp
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>haxelib install hxcpp
+</code></pre></div></div>
 
 <p>For other targets, please consult the Haxe documentation whether or not any additional
 target libraries need to be installed and how to achieve this.</p>
@@ -75,46 +75,46 @@ Haxe Linux download section: http://haxe.org/download/linux</p>
 
 <p>If you run into the error message</p>
 
-<pre><code>Uncaught exception - load.c(237) : Failed to load library : /usr/lib/neko/regexp.ndll  
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Uncaught exception - load.c(237) : Failed to load library : /usr/lib/neko/regexp.ndll  
 (libpcre.so.3: cannot open shared object file: No such file or directory)
-</code></pre>
+</code></pre></div></div>
 
 <p>this can be solved depending on your OSes bitness by either</p>
 
-<pre><code>sudo ln -sf /usr/lib/libpcre.so.1 /usr/lib/libpcre.so.3
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo ln -sf /usr/lib/libpcre.so.1 /usr/lib/libpcre.so.3
 sudo ldconfig
-</code></pre>
+</code></pre></div></div>
 
 <p>or</p>
 
-<pre><code>sudo ln -sf /usr/lib64/libpcre.so.1 /usr/lib64/libpcre.so.3
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo ln -sf /usr/lib64/libpcre.so.1 /usr/lib64/libpcre.so.3
 sudo ldconfig
-</code></pre>
+</code></pre></div></div>
 
 <h2 id="thrift-haxe-bindings">Thrift Haxe bindings</h2>
 
-<p>Thrift Haxe bindings can be set up via the <code>haxelib</code> tool  as usual.
+<p>Thrift Haxe bindings can be set up via the <code class="language-plaintext highlighter-rouge">haxelib</code> tool  as usual.
 Alternatively, the “github” method can be used.</p>
 
 <ul>
   <li>
-    <p>To set up any <strong>stable version</strong>, choose the appropriate branch (e.g. <code>0.14.1</code>):</p>
+    <p>To set up any <strong>stable version</strong>, choose the appropriate branch (e.g. <code class="language-plaintext highlighter-rouge">0.14.1</code>):</p>
 
     <ul>
-      <li><code>haxelib git thrift https://github.com/apache/thrift.git 0.14.1 lib/haxe</code></li>
+      <li><code class="language-plaintext highlighter-rouge">haxelib git thrift https://github.com/apache/thrift.git 0.14.1 lib/haxe</code></li>
     </ul>
   </li>
   <li>
-    <p>To set up the current <strong>development version</strong>, use the <code>master</code> branch:</p>
+    <p>To set up the current <strong>development version</strong>, use the <code class="language-plaintext highlighter-rouge">master</code> branch:</p>
 
     <ul>
-      <li><code>haxelib git thrift https://github.com/apache/thrift.git master lib/haxe</code></li>
+      <li><code class="language-plaintext highlighter-rouge">haxelib git thrift https://github.com/apache/thrift.git master lib/haxe</code></li>
     </ul>
   </li>
 </ul>
 
-<p>As usual, the installed library can be updated using <code>haxelib upgrade</code> 
-or <code>haxelib update thrift</code>.</p>
+<p>As usual, the installed library can be updated using <code class="language-plaintext highlighter-rouge">haxelib upgrade</code> 
+or <code class="language-plaintext highlighter-rouge">haxelib update thrift</code>.</p>
 
 <p>In order to work with Thrift, you will need to install the Thrift compiler 
 or build from source, depending on your operating system. Appropriate 
@@ -131,60 +131,52 @@ in these folders.</p>
 to the new version. Otherwise you may run into troubles with leftovers from 
 previous versions.</p>
 
-<p>The compiler option <code>callbacks</code> is now obsolete. The compiler will always 
+<p>The compiler option <code class="language-plaintext highlighter-rouge">callbacks</code> is now obsolete. The compiler will always 
 generate a dual interface (i.e. with optional callback style) for use on the 
-client side, plus a new <code>_service</code> interface to be used for server 
+client side, plus a new <code class="language-plaintext highlighter-rouge">_service</code> interface to be used for server 
 implementations. Consequentially, your client and server implementations will
 need some manual intervention.</p>
 
 <h1 id="php-http-server-notes">PHP HTTP Server notes</h1>
 
 <ul>
-  <li>
-    <p>you have to import PHP files generated by haxe into PHP
-<code>php
-require_once  dirname(__FILE__) . '/bin/php-web-server/Main-debug.php';
-</code></p>
+  <li>you have to import PHP files generated by haxe into PHP
+    <div class="language-php highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="k">require_once</span>  <span class="nb">dirname</span><span class="p">(</span><span class="k">__FILE__</span><span class="p">)</span> <span class="mf">.</span> <span class="s1">'/bin/php-web-server/Main-debug.php'</span><span class="p">;</span>
+</code></pre></div>    </div>
   </li>
-  <li>
-    <p>trace() by default outputs into stdout (http response), so you have to redirect it to stderr or you own logs, something like
-<code>haxe
-//remap trace to error log
-haxe.Log.trace = function(v:Dynamic, ?infos:haxe.PosInfos) 
-{ 
-  //simulate normal trace https://github.com/HaxeFoundation/haxe/blob/development/std/haxe/Log.hx
-  var newValue : Dynamic;
-  if (infos != null &amp;&amp; infos.customParams!=null) {
-      var extra:String = "";
-      for( v in infos.customParams )
-          extra += "," + v;
-      newValue = v + extra;
-  }
-  else {
-      newValue = v;
-  }
-  var msg = infos != null ? infos.fileName + ':' + infos.lineNumber + ': ' : '';
-  Sys.stderr().writeString('${msg}${newValue}\n');
-}
-</code></p>
+  <li>trace() by default outputs into stdout (http response), so you have to redirect it to stderr or you own logs, something like
+    <div class="language-haxe highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c1">//remap trace to error log</span>
+<span class="nx">haxe</span><span class="p">.</span><span class="nx">Log</span><span class="p">.</span><span class="kr">trace</span> <span class="o">=</span> <span class="k">function</span><span class="p">(</span><span class="nx">v</span><span class="o">:</span><span class="nb">Dynamic</span><span class="p">,</span> <span class="p">?</span><span class="nx">infos</span><span class="p">:</span><span class="nx">haxe</span><span class="p">.</span><span class="nx">PosInfos</span><span class=" [...]
+<span class="p">{</span> 
+  <span class="c1">//simulate normal trace https://github.com/HaxeFoundation/haxe/blob/development/std/haxe/Log.hx</span>
+  <span class="kd">var</span> <span class="nx">newValue</span> <span class="o">:</span> <span class="nb">Dynamic</span><span class="p">;</span>
+  <span class="k">if</span> <span class="p">(</span><span class="nx">infos</span> <span class="o">!=</span> <span class="k">null</span> <span class="o">&amp;&amp;</span> <span class="nx">infos</span><span class="p">.</span><span class="nx">customParams</span><span class="o">!=</span><span class="k">null</span><span class="p">)</span> <span class="p">{</span>
+      <span class="kd">var</span> <span class="nx">extra</span><span class="o">:</span><span class="nb">String</span> <span class="o">=</span> <span class="s2">""</span><span class="p">;</span>
+      <span class="k">for</span><span class="p">(</span> <span class="nx">v</span> <span class="k">in</span> <span class="nx">infos</span><span class="p">.</span><span class="nx">customParams</span> <span class="p">)</span>
+          <span class="nx">extra</span> <span class="o">+=</span> <span class="s2">","</span> <span class="o">+</span> <span class="nx">v</span><span class="p">;</span>
+      <span class="nx">newValue</span> <span class="o">=</span> <span class="nx">v</span> <span class="o">+</span> <span class="nx">extra</span><span class="p">;</span>
+  <span class="p">}</span>
+  <span class="k">else</span> <span class="p">{</span>
+      <span class="nx">newValue</span> <span class="o">=</span> <span class="nx">v</span><span class="p">;</span>
+  <span class="p">}</span>
+  <span class="kd">var</span> <span class="nx">msg</span> <span class="o">=</span> <span class="nx">infos</span> <span class="o">!=</span> <span class="k">null</span> <span class="p">?</span> <span class="nx">infos</span><span class="p">.</span><span class="nx">fileName</span> <span class="o">+</span> <span class="s1">':'</span> <span class="o">+</span> <span class="nx">infos</span><span class="p">.</span><span class="nx">lineNumber</span> <span class="o">+</span> <span class="s1">': '</ [...]
+  <span class="nb">Sys</span><span class="p">.</span><span class="nx">stderr</span><span class="p">().</span><span class="nx">writeString</span><span class="p">(</span><span class="s1">'</span><span class="si">${</span><span class="nx">msg</span><span class="si">}${</span><span class="nx">newValue</span><span class="si">}</span><span class="se">\n</span><span class="s1">'</span><span class="p">);</span>
+<span class="p">}</span>
+</code></pre></div>    </div>
   </li>
-  <li>
-    <p>to allow thrift server to read/write HTTP request/response, it should be pointed out to php streams
-<code>haxe
-transport =	new TWrappingServerTransport(
-              new TStreamTransport(
-                  new TFileStream("php://input", Read),
-                  new TFileStream("php://output", Append)
-                  )
-              );
-</code></p>
+  <li>to allow thrift server to read/write HTTP request/response, it should be pointed out to php streams
+    <div class="language-haxe highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nx">transport</span> <span class="o">=</span>	<span class="k">new</span> <span class="nx">TWrappingServerTransport</span><span class="p">(</span>
+              <span class="k">new</span> <span class="nx">TStreamTransport</span><span class="p">(</span>
+                  <span class="k">new</span> <span class="nx">TFileStream</span><span class="p">(</span><span class="s2">"php://input"</span><span class="p">,</span> <span class="nx">Read</span><span class="p">),</span>
+                  <span class="k">new</span> <span class="nx">TFileStream</span><span class="p">(</span><span class="s2">"php://output"</span><span class="p">,</span> <span class="nx">Append</span><span class="p">)</span>
+                  <span class="p">)</span>
+              <span class="p">);</span>
+</code></pre></div>    </div>
   </li>
-  <li>
-    <p>TSimpleServer doesn’t stop after first call, so processor.process() should be called instead, or use runOnce property 
-<code>haxe
-var server = new TSimpleServer( processor, transport, transfactory, protfactory);
-server.runOnce = true;
-</code></p>
+  <li>TSimpleServer doesn’t stop after first call, so processor.process() should be called instead, or use runOnce property
+    <div class="language-haxe highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kd">var</span> <span class="nx">server</span> <span class="o">=</span> <span class="k">new</span> <span class="nx">TSimpleServer</span><span class="p">(</span> <span class="nx">processor</span><span class="p">,</span> <span class="nx">transport</span><span class="p">,</span> <span class="nx">transfactory</span><span class="p">,</span> <span class="nx">protfactory</span><span  [...]
+<span class="nx">server</span><span class="p">.</span><span class="nx">runOnce</span> <span class="o">=</span> <span class="k">true</span><span class="p">;</span>
+</code></pre></div>    </div>
   </li>
 </ul>
 
@@ -219,7 +211,7 @@ server.runOnce = true;
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/lib/index.html b/output/lib/index.html
index 623a360..d16d2de 100644
--- a/output/lib/index.html
+++ b/output/lib/index.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -80,9 +80,9 @@
 
 
 
-  <li><a href="/lib/c_glib.html">C GLib</a></li>
 
 
+  <li><a href="/lib/c_glib.html">C GLib</a></li>
 
 
 
@@ -96,6 +96,8 @@
 
 
 
+
+
   <li><a href="/lib/cpp.html">C++ library</a></li>
 
 
@@ -126,9 +128,9 @@
 
 
 
+  <li><a href="/lib/erl.html">Erlang library</a></li>
 
 
-  <li><a href="/lib/erl.html">Erlang library</a></li>
 
 
 
@@ -224,8 +226,6 @@
 
 
 
-
-
   <li><a href="/lib/st.html">SmallTalk library</a></li>
 
 
@@ -497,7 +497,7 @@
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/lib/java.html b/output/lib/java.html
index 3602ab2..0935a09 100644
--- a/output/lib/java.html
+++ b/output/lib/java.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -55,8 +55,8 @@
 <p>When using a CMake build from the source distribution on Linux the
 easiest way to build and install is this simple command line:</p>
 
-<pre><code>make all &amp;&amp; sudo make install/fast
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>make all &amp;&amp; sudo make install/fast
+</code></pre></div></div>
 
 <p>It is important to use the install/fast option to eliminate
 the automatic rebuild by dependency that causes issues because
@@ -78,34 +78,31 @@ have ignored the gradle wrapper files. You are expected to install it manually,
 the <a href="https://docs.gradle.org/current/userguide/installation.html">gradle documentation</a>, or
 following this step (which is also done in the travis CI docker images):</p>
 
-<p><code>bash
-export GRADLE_VERSION="8.4"
-# install dependencies
-apt-get install -y --no-install-recommends openjdk-17-jdk-headless wget unzip
-# download gradle distribution
-wget https://services.gradle.org/distributions/gradle-$GRADLE_VERSION-bin.zip -q -O /tmp/gradle-$GRADLE_VERSION-bin.zip
-# check binary integrity
-echo "3e1af3ae886920c3ac87f7a91f816c0c7c436f276a6eefdb3da152100fef72ae  /tmp/gradle-$GRADLE_VERSION-bin.zip" | sha256sum -c -
-# unzip and install
-unzip -d /tmp /tmp/gradle-$GRADLE_VERSION-bin.zip
-mv /tmp/gradle-$GRADLE_VERSION /usr/local/gradle
-ln -s /usr/local/gradle/bin/gradle /usr/local/bin
-</code></p>
-
-<p>After the above step, <code>gradle</code> binary will be available in <code>/usr/local/bin/</code>. You can further choose
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nb">export </span><span class="nv">GRADLE_VERSION</span><span class="o">=</span><span class="s2">"8.4"</span>
+<span class="c"># install dependencies</span>
+apt-get <span class="nb">install</span> <span class="nt">-y</span> <span class="nt">--no-install-recommends</span> openjdk-17-jdk-headless wget unzip
+<span class="c"># download gradle distribution</span>
+wget https://services.gradle.org/distributions/gradle-<span class="nv">$GRADLE_VERSION</span><span class="nt">-bin</span>.zip <span class="nt">-q</span> <span class="nt">-O</span> /tmp/gradle-<span class="nv">$GRADLE_VERSION</span><span class="nt">-bin</span>.zip
+<span class="c"># check binary integrity</span>
+<span class="nb">echo</span> <span class="s2">"3e1af3ae886920c3ac87f7a91f816c0c7c436f276a6eefdb3da152100fef72ae  /tmp/gradle-</span><span class="nv">$GRADLE_VERSION</span><span class="s2">-bin.zip"</span> | <span class="nb">sha256sum</span> <span class="nt">-c</span> -
+<span class="c"># unzip and install</span>
+unzip <span class="nt">-d</span> /tmp /tmp/gradle-<span class="nv">$GRADLE_VERSION</span><span class="nt">-bin</span>.zip
+<span class="nb">mv</span> /tmp/gradle-<span class="nv">$GRADLE_VERSION</span> /usr/local/gradle
+<span class="nb">ln</span> <span class="nt">-s</span> /usr/local/gradle/bin/gradle /usr/local/bin
+</code></pre></div></div>
+
+<p>After the above step, <code class="language-plaintext highlighter-rouge">gradle</code> binary will be available in <code class="language-plaintext highlighter-rouge">/usr/local/bin/</code>. You can further choose
 to locally create the gradle wrapper (even if they are ignored) using:</p>
 
-<p><code>bash
-gradle wrapper --gradle-version $GRADLE_VERSION
-</code></p>
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>gradle wrapper <span class="nt">--gradle-version</span> <span class="nv">$GRADLE_VERSION</span>
+</code></pre></div></div>
 
 <p>To compile the Java Thrift libraries, simply do the following:</p>
 
-<p><code>bash
-gradle
-</code></p>
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>gradle
+</code></pre></div></div>
 
-<p>Yep, that’s easy. Look for <code>libthrift-&lt;version&gt;.jar</code> in the build/libs directory.</p>
+<p>Yep, that’s easy. Look for <code class="language-plaintext highlighter-rouge">libthrift-&lt;version&gt;.jar</code> in the build/libs directory.</p>
 
 <p>The default build will run the unit tests which expect a usable
 Thrift compiler to exist on the system. You have two choices for
@@ -128,16 +125,14 @@ a Windows box if Thrift was installed under C:\Thrift</p>
 
 <p>To just build the library without running unit tests you simply do this.</p>
 
-<p><code>bash
-gradle assemble
-</code></p>
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>gradle assemble
+</code></pre></div></div>
 
 <p>To install the library in the local Maven repository location
 where other Maven or Gradle builds can reference it simply do this.</p>
 
-<p><code>bash
-gradle publishToMavenLocal
-</code></p>
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>gradle publishToMavenLocal
+</code></pre></div></div>
 
 <p>The library will be placed in your home directory under .m2/repository</p>
 
@@ -146,15 +141,13 @@ classpath, or install if in your default system classpath of choice.</p>
 
 <p>Build Thrift behind a proxy:</p>
 
-<p><code>bash
-gradle -Dhttp.proxyHost=myproxyhost -Dhttp.proxyPort=8080 -Dhttp.proxyUser=thriftuser -Dhttp.proxyPassword=topsecret
-</code></p>
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>gradle <span class="nt">-Dhttp</span>.proxyHost<span class="o">=</span>myproxyhost <span class="nt">-Dhttp</span>.proxyPort<span class="o">=</span>8080 <span class="nt">-Dhttp</span>.proxyUser<span class="o">=</span>thriftuser <span class="nt">-Dhttp</span>.proxyPassword<span class="o">=</span>topsecret
+</code></pre></div></div>
 
 <p>or via</p>
 
-<p><code>bash
-./configure --with-java GRADLE_OPTS='-Dhttp.proxyHost=myproxyhost -Dhttp.proxyPort=8080 -Dhttp.proxyUser=thriftuser -Dhttp.proxyPassword=topsecret'
-</code></p>
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>./configure <span class="nt">--with-java</span> <span class="nv">GRADLE_OPTS</span><span class="o">=</span><span class="s1">'-Dhttp.proxyHost=myproxyhost -Dhttp.proxyPort=8080 -Dhttp.proxyUser=thriftuser -Dhttp.proxyPassword=topsecret'</span>
+</code></pre></div></div>
 
 <h1 id="unit-test-html-reports">Unit Test HTML Reports</h1>
 
@@ -165,17 +158,16 @@ directly from that location.</p>
 <h1 id="clover-code-coverage-for-thrift">Clover Code Coverage for Thrift</h1>
 
 <p>The build will optionally generate Clover Code coverage if the Gradle property
-<code>cloverEnabled=true</code> is set in ~/.gradle/gradle.properties or on the command line
-via <code>-PcloverEnabled=true</code>. The generated report can be found under the location
+<code class="language-plaintext highlighter-rouge">cloverEnabled=true</code> is set in ~/.gradle/gradle.properties or on the command line
+via <code class="language-plaintext highlighter-rouge">-PcloverEnabled=true</code>. The generated report can be found under the location
 build/reports/clover/html/index.html. It can be viewed with a browser
 directly from that location. Additionally, a PDF report is generated and is found
 under the location build/reports/clover/clover.pdf.</p>
 
 <p>The following command will build, unit test, and generate Clover reports:</p>
 
-<p><code>bash
-gradle -PcloverEnabled=true
-</code></p>
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>gradle <span class="nt">-PcloverEnabled</span><span class="o">=</span><span class="nb">true</span>
+</code></pre></div></div>
 
 <h1 id="publishing-maven-artifacts-to-maven-central">Publishing Maven Artifacts to Maven Central</h1>
 
@@ -185,28 +177,26 @@ version number. The Gradle build will receive the correct value for the build.
 The same applies to the CMake build, the value from the configure.ac file will
 be used if you execute these commands:</p>
 
-<p><code>bash
-make maven-publish   -- This is for an Automake Linux build
-make MavenPublish    -- This is for a CMake generated build
-</code></p>
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>make maven-publish   <span class="nt">--</span> This is <span class="k">for </span>an Automake Linux build
+make MavenPublish    <span class="nt">--</span> This is <span class="k">for </span>a CMake generated build
+</code></pre></div></div>
 
-<p>The <code>publish</code> task in Gradle is preconfigured with all necessary details
+<p>The <code class="language-plaintext highlighter-rouge">publish</code> task in Gradle is preconfigured with all necessary details
 to sign and publish the artifacts from the build to the Apache Maven staging
 repository. The task requires the following externally provided properties to
 authenticate to the repository and sign the artifacts. The preferred approach
 is to create or edit the ~/.gradle/gradle.properties file and add the following
 properties to it.</p>
 
-<p>```properties
-# Signing key information for artifacts PGP signature (values are examples)
-signing.keyId=24875D73
-signing.password=secret
-signing.secretKeyRingFile=/Users/me/.gnupg/secring.gpg</p>
+<div class="language-properties highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c"># Signing key information for artifacts PGP signature (values are examples)
+</span><span class="py">signing.keyId</span><span class="p">=</span><span class="s">24875D73</span>
+<span class="py">signing.password</span><span class="p">=</span><span class="s">secret</span>
+<span class="py">signing.secretKeyRingFile</span><span class="p">=</span><span class="s">/Users/me/.gnupg/secring.gpg</span>
 
-<h1 id="apache-maven-staging-repository-user-credentials">Apache Maven staging repository user credentials</h1>
-<p>mavenUser=meMyselfAndI
-mavenPassword=MySuperAwesomeSecretPassword
-```</p>
+<span class="c"># Apache Maven staging repository user credentials
+</span><span class="py">mavenUser</span><span class="p">=</span><span class="s">meMyselfAndI</span>
+<span class="py">mavenPassword</span><span class="p">=</span><span class="s">MySuperAwesomeSecretPassword</span>
+</code></pre></div></div>
 
 <p>NOTE: If you do not have a secring.gpg file, see the
 <a href="https://docs.gradle.org/current/userguide/signing_plugin.html">gradle signing docs</a>
@@ -216,24 +206,21 @@ for instructions on how to generate it.</p>
 With the key information and credentials in place the following will generate
 if needed the build artifacts and proceed to publish the results.</p>
 
-<p><code>bash
-gradle -Prelease=true publish
-</code></p>
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>gradle <span class="nt">-Prelease</span><span class="o">=</span><span class="nb">true </span>publish
+</code></pre></div></div>
 
 <p>It is also possible to override the target repository for the Maven Publication
 by using a Gradle property, for example you can publish signed JAR files to your
 company internal server if you add this to the command line or in the
 ~/.gradle/gradle.properties file. The URL below assumes a Nexus Repository.</p>
 
-<p><code>properties
-maven-repository-url=https://my.company.com/service/local/staging/deploy/maven2
-</code></p>
+<div class="language-properties highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="py">maven-repository-url</span><span class="p">=</span><span class="s">https://my.company.com/service/local/staging/deploy/maven2</span>
+</code></pre></div></div>
 
 <p>Or the same on the command line:</p>
 
-<p><code>bash
-gradle -Pmaven-repository-url=https://my.company.com/service/local/staging/deploy/maven2 -Prelease=true -Pthrift.version=0.11.0 publish
-</code></p>
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>gradle <span class="nt">-Pmaven-repository-url</span><span class="o">=</span>https://my.company.com/service/local/staging/deploy/maven2 <span class="nt">-Prelease</span><span class="o">=</span><span class="nb">true</span> <span class="nt">-Pthrift</span>.version<span class="o">=</span>0.11.0 publish
+</code></pre></div></div>
 
 <h1 id="dependencies">Dependencies</h1>
 
@@ -242,7 +229,7 @@ http://gradle.org/</p>
 
 <h1 id="breaking-changes">Breaking Changes</h1>
 
-<h2 id="section">0.13.0</h2>
+<h2 id="0130">0.13.0</h2>
 
 <ul>
   <li>
@@ -251,11 +238,11 @@ changed to remove the boolean return type and instead rely on Exceptions.</p>
   </li>
   <li>
     <p>Per THRIFT-4805, TSaslTransportException has been removed. The same condition
-is now covered by TTansportException, where <code>TTransportException.getType() == END_OF_FILE</code>.</p>
+is now covered by TTansportException, where <code class="language-plaintext highlighter-rouge">TTransportException.getType() == END_OF_FILE</code>.</p>
   </li>
 </ul>
 
-<h2 id="section-1">0.12.0</h2>
+<h2 id="0120">0.12.0</h2>
 
 <p>The access modifier of the AutoExpandingBuffer class has been changed from
 public to default (package) and will no longer be accessible by third-party
@@ -296,7 +283,7 @@ libraries.</p>
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/lib/js.html b/output/lib/js.html
index d124895..d3d015a 100644
--- a/output/lib/js.html
+++ b/output/lib/js.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -58,17 +58,17 @@ require a recent version of Node.js to be installed. To
 install the support files for the Grunt build tool execute
 the command:</p>
 
-<pre><code>npm install
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>npm install
+</code></pre></div></div>
 
 <p>This reads the package.json and pulls in the appropriate
 sources from the internet. To build the JavaScript branch
 of Apache Thrift execute the command:</p>
 
-<pre><code>npx grunt
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>npx grunt
+</code></pre></div></div>
 
-<p>This runs the grunt build tool (from within <code>./node_modules/.bin/</code>),
+<p>This runs the grunt build tool (from within <code class="language-plaintext highlighter-rouge">./node_modules/.bin/</code>),
 linting all of the source files, setting up and running the
 tests, concatenating and minifying the main libraries and
 generating the html documentation.</p>
@@ -89,13 +89,14 @@ Thrift client and Node.js JavaScript server for the hello_svc
 service.</p>
 
 <h3 id="hellothrift---service-idl">hello.thrift - Service IDL</h3>
-<p>### build with: $ thrift -gen js -gen js:node hello.thrift
-    service hello_svc {
-      string get_message(1: string name)
-    }</p>
+<h3 id="build-with--thrift--gen-js--gen-jsnode-hellothrift">build with: $ thrift -gen js -gen js:node hello.thrift</h3>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>service hello_svc {
+  string get_message(1: string name)
+}
+</code></pre></div></div>
 
 <h3 id="hellohtml---browser-client">hello.html - Browser Client</h3>
-<pre><code>&lt;!DOCTYPE html&gt;
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;!DOCTYPE html&gt;
 &lt;html lang="en"&gt;
   &lt;head&gt;
     &lt;meta charset="utf-8"&gt;
@@ -125,10 +126,10 @@ service.</p>
     &lt;/script&gt;
   &lt;/body&gt;
 &lt;/html&gt;
-</code></pre>
+</code></pre></div></div>
 
 <h3 id="hellojs---node-server">hello.js - Node Server</h3>
-<pre><code>var thrift = require('thrift');
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>var thrift = require('thrift');
 var hello_svc = require('./gen-nodejs/hello_svc.js');
 
 var hello_handler = {
@@ -156,17 +157,17 @@ var server = Thrift.createWebServer(server_opt);
 var port = 9099;
 server.listen(port);
 console.log("Http/Thrift Server running on port: " + port);
-</code></pre>
+</code></pre></div></div>
 
 <h2 id="typescript">TypeScript</h2>
 <p>TypeScript definition files can also be generated by running:</p>
 
-<pre><code>thrift --gen js:ts file.thrift
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>thrift --gen js:ts file.thrift
+</code></pre></div></div>
 
 <h1 id="breaking-changes">Breaking Changes</h1>
 
-<h2 id="section">0.13.0</h2>
+<h2 id="0130">0.13.0</h2>
 
 <ol>
   <li>64-bit integer constants are now generatd using node-int64 e.g.: var x = new Int64(“7fffffffffffffff”);</li>
@@ -203,7 +204,7 @@ console.log("Http/Thrift Server running on port: " + port);
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/lib/netstd.html b/output/lib/netstd.html
index ac74c3c..dbd3d63 100644
--- a/output/lib/netstd.html
+++ b/output/lib/netstd.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -68,7 +68,7 @@ or</li>
 <h2 id="how-to-build-on-unixlinux">How to build on Unix/Linux</h2>
 <ul>
   <li>Ensure you have a suitable .NET Core SDK installed, or use the <a href="../../build/docker/README.md">Ubuntu docker image</a></li>
-  <li>Follow common automake build practice: <code>./ bootstrap &amp;&amp; ./ configure &amp;&amp; make</code></li>
+  <li>Follow common automake build practice: <code class="language-plaintext highlighter-rouge">./ bootstrap &amp;&amp; ./ configure &amp;&amp; make</code></li>
 </ul>
 
 <h2 id="known-issues">Known issues</h2>
@@ -78,43 +78,109 @@ or</li>
 
 <h1 id="migration-to-netstd">Migration to netstd</h1>
 
-<h2 id="from-netcore">… from netcore</h2>
+<h2 id="-from-netcore">… from netcore</h2>
 
 <p>If you are migrating your code from netcore library, you will have to:</p>
 
 <ul>
-  <li>Switch to <code>thrift -gen netstd</code></li>
-  <li>the following compiler flags are no longer needed or supported: <code>hashcode</code> is now standard, while <code>nullable</code> is no longer supported.</li>
-  <li>the <code>Thrift.Transport</code> and <code>Thrift.Protocol</code> namespaces now use the singular form</li>
-  <li>add <code>using Thrift.Processor;</code> in the server code where appropriate</li>
-  <li>rename all <code>T*ClientTransport</code> to <code>T*Transport</code></li>
-  <li>rename all <code>TBaseServer</code> occurrences in your code to <code>TServer</code></li>
-  <li>the <code>SingletonTProcessorFactory</code> is now called <code>TSingletonProcessorFactory</code></li>
-  <li>and the <code>AsyncBaseServer</code> is now the <code>TSimpleAsyncServer</code></li>
+  <li>Switch to <code class="language-plaintext highlighter-rouge">thrift -gen netstd</code></li>
+  <li>the following compiler flags are no longer needed or supported: <code class="language-plaintext highlighter-rouge">hashcode</code> is now standard, while <code class="language-plaintext highlighter-rouge">nullable</code> is no longer supported.</li>
+  <li>the <code class="language-plaintext highlighter-rouge">Thrift.Transport</code> and <code class="language-plaintext highlighter-rouge">Thrift.Protocol</code> namespaces now use the singular form</li>
+  <li>add <code class="language-plaintext highlighter-rouge">using Thrift.Processor;</code> in the server code where appropriate</li>
+  <li>rename all <code class="language-plaintext highlighter-rouge">T*ClientTransport</code> to <code class="language-plaintext highlighter-rouge">T*Transport</code></li>
+  <li>rename all <code class="language-plaintext highlighter-rouge">TBaseServer</code> occurrences in your code to <code class="language-plaintext highlighter-rouge">TServer</code></li>
+  <li>the <code class="language-plaintext highlighter-rouge">SingletonTProcessorFactory</code> is now called <code class="language-plaintext highlighter-rouge">TSingletonProcessorFactory</code></li>
+  <li>and the <code class="language-plaintext highlighter-rouge">AsyncBaseServer</code> is now the <code class="language-plaintext highlighter-rouge">TSimpleAsyncServer</code></li>
 </ul>
 
 <p>You may wonder why we changed so many names. The naming scheme has been revised for two reasons: First, we want to get back the established, well-known naming consistency across the Thrift libraries which the netcore library did not fully respect. Second, by achieving that first objective, we get the additional benefit of making migration at least a bit easier for C# projects.</p>
 
-<h2 id="from-csharp">… from csharp</h2>
+<h2 id="-from-csharp">… from csharp</h2>
 
 <p>Because of the different environment requirements, migration from C# takes slightly more efforts. While the code changes related to Thrift itself are moderate, you may need to upgrade certain dependencies, components or even modules to more recent versions.</p>
 
 <ol>
   <li>Client and server applications must use at least framework 4.6.1, any version below will not work.</li>
-  <li>Switch to <code>thrift -gen netstd</code>. The following compiler flags are no longer needed or supported: <code>hashcode</code> and <code>async</code> are now standard, while <code>nullable</code> is no longer supported.</li>
-  <li><a href="https://msdn.microsoft.com/en-us/magazine/jj991977.aspx">Familiarize yourself with the <code>async/await</code> model</a>, if you have not already done so. As netstd does not support <code>ISync</code> anymore, async is mandatory. The synchronous model is simply no longer available (that’s also the reason why we don’t need the <code>async</code> flag anymore).</li>
-  <li>Consider proper use of <code>cancellationToken</code> parameters. They are optional but may be quite helpful.</li>
+  <li>Switch to <code class="language-plaintext highlighter-rouge">thrift -gen netstd</code>. The following compiler flags are no longer needed or supported: <code class="language-plaintext highlighter-rouge">hashcode</code> and <code class="language-plaintext highlighter-rouge">async</code> are now standard, while <code class="language-plaintext highlighter-rouge">nullable</code> is no longer supported.</li>
+  <li><a href="https://msdn.microsoft.com/en-us/magazine/jj991977.aspx">Familiarize yourself with the <code class="language-plaintext highlighter-rouge">async/await</code> model</a>, if you have not already done so. As netstd does not support <code class="language-plaintext highlighter-rouge">ISync</code> anymore, async is mandatory. The synchronous model is simply no longer available (that’s also the reason why we don’t need the <code class="language-plaintext highlighter-rouge">async</ [...]
+  <li>Consider proper use of <code class="language-plaintext highlighter-rouge">cancellationToken</code> parameters. They are optional but may be quite helpful.</li>
   <li>As you probably already guessed, there are a few names that have been changed:
-- add <code>using Thrift.Processor;</code> in the server code where appropriate
-- the <code>TServerSocket</code> is now called <code>TServerSocketTransport</code>
-- change <code>IProtocolFactory</code> into <code>ITProtocolFactory</code>
-- if you are looking for <code>TSimpleServer</code>, try <code>TSimpleAsyncServer</code> instead
-- similarly, the <code>TThreadPoolServer</code> is now a <code>TThreadPoolAsyncServer</code> 
-- the server’s <code>Serve()</code> method does now <code>ServeAsync()</code>
-- In case you are using Thrift server event handlers: the <code>SetEventHandler</code> method now starts with an uppercase letter
-- and you will also have to revise the method names of all <code>TServerEventHandler</code> descendants you have in your code</li>
+    <ul>
+      <li>add <code class="language-plaintext highlighter-rouge">using Thrift.Processor;</code> in the server code where appropriate</li>
+      <li>the <code class="language-plaintext highlighter-rouge">TServerSocket</code> is now called <code class="language-plaintext highlighter-rouge">TServerSocketTransport</code></li>
+      <li>change <code class="language-plaintext highlighter-rouge">IProtocolFactory</code> into <code class="language-plaintext highlighter-rouge">ITProtocolFactory</code></li>
+      <li>if you are looking for <code class="language-plaintext highlighter-rouge">TSimpleServer</code>, try <code class="language-plaintext highlighter-rouge">TSimpleAsyncServer</code> instead</li>
+      <li>similarly, the <code class="language-plaintext highlighter-rouge">TThreadPoolServer</code> is now a <code class="language-plaintext highlighter-rouge">TThreadPoolAsyncServer</code></li>
+      <li>the server’s <code class="language-plaintext highlighter-rouge">Serve()</code> method does now <code class="language-plaintext highlighter-rouge">ServeAsync()</code></li>
+      <li>In case you are using Thrift server event handlers: the <code class="language-plaintext highlighter-rouge">SetEventHandler</code> method now starts with an uppercase letter</li>
+      <li>and you will also have to revise the method names of all <code class="language-plaintext highlighter-rouge">TServerEventHandler</code> descendants you have in your code</li>
+    </ul>
+  </li>
 </ol>
 
+<h1 id="fuzzing">Fuzzing</h1>
+
+<p>We use <a href="https://github.com/Metalnem/sharpfuzz">SharpFuzz</a> (and its libfuzzer variant) to fuzz the Thrift protocol parsers. This is <strong>not</strong> integrated with oss-fuzz, so all fuzzing must be run locally. <strong>Supported platform: Linux only.</strong> The fuzzers are opt-in and are <strong>not</strong> built by <code class="language-plaintext highlighter-rouge">make check</code>; run <code class="language-plaintext highlighter-rouge">make build-fuzzers</code> (or [...]
+
+<h2 id="prerequisites">Prerequisites</h2>
+
+<ol>
+  <li>
+    <p>A .NET 10 SDK (same one used for the rest of <code class="language-plaintext highlighter-rouge">lib/netstd</code>).</p>
+  </li>
+  <li>
+    <p>The SharpFuzz IL-rewriter CLI, installed as a .NET global tool:</p>
+
+    <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>dotnet tool <span class="nb">install</span> <span class="nt">--global</span> SharpFuzz.CommandLine
+<span class="nb">export </span><span class="nv">PATH</span><span class="o">=</span><span class="s2">"</span><span class="nv">$PATH</span><span class="s2">:</span><span class="nv">$HOME</span><span class="s2">/.dotnet/tools"</span>
+</code></pre></div>    </div>
+
+    <p>Add the <code class="language-plaintext highlighter-rouge">PATH</code> export to your shell rc if you want it to persist.</p>
+  </li>
+  <li>
+    <p>The native <code class="language-plaintext highlighter-rouge">libfuzzer-dotnet</code> driver binary. Grab a prebuilt release from the
+<a href="https://github.com/Metalnem/libfuzzer-dotnet/releases">Metalnem/libfuzzer-dotnet releases page</a>
+(or build it from source). Place it in a directory of your choice and point
+<code class="language-plaintext highlighter-rouge">SHARPFUZZ_DIR</code> at that directory:</p>
+
+    <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nb">export </span><span class="nv">SHARPFUZZ_DIR</span><span class="o">=</span>/path/to/libfuzzer-dotnet-dir
+</code></pre></div>    </div>
+
+    <p><code class="language-plaintext highlighter-rouge">buildfuzzers.sh</code> and <code class="language-plaintext highlighter-rouge">runfuzzer.sh</code> expect to find <code class="language-plaintext highlighter-rouge">$SHARPFUZZ_DIR/libfuzzer-dotnet</code>.</p>
+  </li>
+</ol>
+
+<h2 id="a-temporary-note-on-dotnet_roll_forward">A temporary note on <code class="language-plaintext highlighter-rouge">DOTNET_ROLL_FORWARD</code></h2>
+
+<p>As of SharpFuzz.CommandLine 2.2.0, the global tool’s <code class="language-plaintext highlighter-rouge">runtimeconfig.json</code> pins the
+tool to .NET 9, which prevents it from running under a .NET 10-only host. Both
+<code class="language-plaintext highlighter-rouge">buildfuzzers.sh</code> and <code class="language-plaintext highlighter-rouge">runfuzzer.sh</code> therefore export <code class="language-plaintext highlighter-rouge">DOTNET_ROLL_FORWARD=Major</code>
+at the top of the script as a workaround. Upstream fix:
+<a href="https://github.com/Metalnem/sharpfuzz/pull/72">SharpFuzz PR #72</a> (merged, pending
+release as SharpFuzz 2.3.0). Once that release ships, remove the <code class="language-plaintext highlighter-rouge">DOTNET_ROLL_FORWARD</code>
+exports from both shell drivers and update the SharpFuzz package pin in
+<code class="language-plaintext highlighter-rouge">Tests/Thrift.FuzzTests/Thrift.FuzzTests.csproj</code>.</p>
+
+<h2 id="running-the-fuzzers">Running the fuzzers</h2>
+
+<p>Build all twelve fuzzer assemblies (3 protocols x 2 fuzzer types x 2 engines) and
+instrument them with SharpFuzz:</p>
+
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>./buildfuzzers.sh
+</code></pre></div></div>
+
+<p>Run one fuzzer:</p>
+
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>./runfuzzer.sh &lt;fuzzer-name&gt; &lt;engine&gt; <span class="o">[</span>extra-fuzzer-args...]
+</code></pre></div></div>
+
+<p>Where <code class="language-plaintext highlighter-rouge">&lt;fuzzer-name&gt;</code> is one of <code class="language-plaintext highlighter-rouge">binary</code>, <code class="language-plaintext highlighter-rouge">compact</code>, <code class="language-plaintext highlighter-rouge">json</code>, <code class="language-plaintext highlighter-rouge">binary-roundtrip</code>,
+<code class="language-plaintext highlighter-rouge">compact-roundtrip</code>, <code class="language-plaintext highlighter-rouge">json-roundtrip</code>, and <code class="language-plaintext highlighter-rouge">&lt;engine&gt;</code> is <code class="language-plaintext highlighter-rouge">libfuzzer</code> or <code class="language-plaintext highlighter-rouge">afl</code>.
+Any additional arguments are passed through to the underlying fuzzer engine, e.g.:</p>
+
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>./runfuzzer.sh binary libfuzzer <span class="nt">-runs</span><span class="o">=</span>10000
+</code></pre></div></div>
+
 <p class="snippet_footer">This page was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=lib/netstd/README.md">lib/netstd/README.md</a>
 </p>
@@ -146,7 +212,7 @@ or</li>
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/lib/nodejs.html b/output/lib/nodejs.html
index 3ae8910..7e62014 100644
--- a/output/lib/nodejs.html
+++ b/output/lib/nodejs.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -56,44 +56,43 @@
 
 <h2 id="install">Install</h2>
 
-<pre><code>npm install thrift 
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>npm install thrift 
+</code></pre></div></div>
 
 <h2 id="thrift-compiler">Thrift Compiler</h2>
 
 <p>You can compile IDL sources for Node.js with the following command:</p>
 
-<pre><code>thrift --gen js:node thrift_file
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>thrift --gen js:node thrift_file
+</code></pre></div></div>
 
 <h2 id="cassandra-client-example">Cassandra Client Example:</h2>
 
 <p>Here is a Cassandra example:</p>
 
-<p>```js
-var thrift = require(‘thrift’),
-    Cassandra = require(‘./gen-nodejs/Cassandra’)
-    ttypes = require(‘./gen-nodejs/cassandra_types’);</p>
+<div class="language-js highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kd">var</span> <span class="nx">thrift</span> <span class="o">=</span> <span class="nf">require</span><span class="p">(</span><span class="dl">'</span><span class="s1">thrift</span><span class="dl">'</span><span class="p">),</span>
+    <span class="nx">Cassandra</span> <span class="o">=</span> <span class="nf">require</span><span class="p">(</span><span class="dl">'</span><span class="s1">./gen-nodejs/Cassandra</span><span class="dl">'</span><span class="p">)</span>
+    <span class="nx">ttypes</span> <span class="o">=</span> <span class="nf">require</span><span class="p">(</span><span class="dl">'</span><span class="s1">./gen-nodejs/cassandra_types</span><span class="dl">'</span><span class="p">);</span>
 
-<p>var connection = thrift.createConnection(“localhost”, 9160),
-    client = thrift.createClient(Cassandra, connection);</p>
+<span class="kd">var</span> <span class="nx">connection</span> <span class="o">=</span> <span class="nx">thrift</span><span class="p">.</span><span class="nf">createConnection</span><span class="p">(</span><span class="dl">"</span><span class="s2">localhost</span><span class="dl">"</span><span class="p">,</span> <span class="mi">9160</span><span class="p">),</span>
+    <span class="nx">client</span> <span class="o">=</span> <span class="nx">thrift</span><span class="p">.</span><span class="nf">createClient</span><span class="p">(</span><span class="nx">Cassandra</span><span class="p">,</span> <span class="nx">connection</span><span class="p">);</span>
 
-<p>connection.on(‘error’, function(err) {
-  console.error(err);
-});</p>
+<span class="nx">connection</span><span class="p">.</span><span class="nf">on</span><span class="p">(</span><span class="dl">'</span><span class="s1">error</span><span class="dl">'</span><span class="p">,</span> <span class="kd">function</span><span class="p">(</span><span class="nx">err</span><span class="p">)</span> <span class="p">{</span>
+  <span class="nx">console</span><span class="p">.</span><span class="nf">error</span><span class="p">(</span><span class="nx">err</span><span class="p">);</span>
+<span class="p">});</span>
 
-<p>client.get_slice(“Keyspace”, “key”, new ttypes.ColumnParent({column_family: “ExampleCF”}), new ttypes.SlicePredicate({slice_range: new ttypes.SliceRange({start: ‘’, finish: ‘’})}), ttypes.ConsistencyLevel.ONE, function(err, data) {
-  if (err) {
-    // handle err
-  } else {
-    // data == [ttypes.ColumnOrSuperColumn, …]
-  }
-  connection.end();
-});
-```</p>
+<span class="nx">client</span><span class="p">.</span><span class="nf">get_slice</span><span class="p">(</span><span class="dl">"</span><span class="s2">Keyspace</span><span class="dl">"</span><span class="p">,</span> <span class="dl">"</span><span class="s2">key</span><span class="dl">"</span><span class="p">,</span> <span class="k">new</span> <span class="nx">ttypes</span><span class="p">.</span><span class="nc">ColumnParent</span><span class="p">({</span><span class="na">column_family [...]
+  <span class="k">if </span><span class="p">(</span><span class="nx">err</span><span class="p">)</span> <span class="p">{</span>
+    <span class="c1">// handle err</span>
+  <span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
+    <span class="c1">// data == [ttypes.ColumnOrSuperColumn, ...]</span>
+  <span class="p">}</span>
+  <span class="nx">connection</span><span class="p">.</span><span class="nf">end</span><span class="p">();</span>
+<span class="p">});</span>
+</code></pre></div></div>
 
-<p><a name="int64"></a>
-## Int64</p>
+<p><a name="int64"></a></p>
+<h2 id="int64">Int64</h2>
 
 <p>Since JavaScript represents all numbers as doubles, int64 values cannot be accurately represented naturally. To solve this, int64 values in responses will be wrapped with Thrift.Int64 objects. The Int64 implementation used is <a href="https://github.com/broofa/node-int64">broofa/node-int64</a>.</p>
 
@@ -107,69 +106,67 @@ var thrift = require(‘thrift’),
 
 <p>thrift –gen js:node,ts,es6,with_ns</p>
 
-<p>```javascript
-import * as thrift from ‘thrift’;
-import { MyServiceClient } from ‘../gen-nodejs/MyService’;</p>
-
-<p>let host = window.location.hostname;
-let port = 443;
-let opts = {
-  transport: thrift.TBufferedTransport,
-  protocol: thrift.TJSONProtocol, 
-    headers: {
-     ‘Content-Type’: ‘application/vnd.apache.thrift.json’,
-    },
-    https: true,
-    path: ‘/url/path’,
-    useCORS: true,
-};</p>
-
-<p>let connection = thrift.createXHRConnection(host, port, opts);
-let thriftClient = thrift.createXHRClient(MyServiceClient, connection);</p>
-
-<p>connection.on(‘error’, (err) =&gt; {
-  console.error(err);
-});</p>
-
-<p>thriftClient.myService(param)
-  .then((result) =&gt; {
-    console.log(result);
-  })
-  .catch((err) =&gt; {
-    ….
-  });
-```</p>
+<div class="language-javascript highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="k">import</span> <span class="o">*</span> <span class="nx">as</span> <span class="nx">thrift</span> <span class="k">from</span> <span class="dl">'</span><span class="s1">thrift</span><span class="dl">'</span><span class="p">;</span>
+<span class="k">import</span> <span class="p">{</span> <span class="nx">MyServiceClient</span> <span class="p">}</span> <span class="k">from</span> <span class="dl">'</span><span class="s1">../gen-nodejs/MyService</span><span class="dl">'</span><span class="p">;</span>
+
+<span class="kd">let</span> <span class="nx">host</span> <span class="o">=</span> <span class="nb">window</span><span class="p">.</span><span class="nx">location</span><span class="p">.</span><span class="nx">hostname</span><span class="p">;</span>
+<span class="kd">let</span> <span class="nx">port</span> <span class="o">=</span> <span class="mi">443</span><span class="p">;</span>
+<span class="kd">let</span> <span class="nx">opts</span> <span class="o">=</span> <span class="p">{</span>
+  <span class="na">transport</span><span class="p">:</span> <span class="nx">thrift</span><span class="p">.</span><span class="nx">TBufferedTransport</span><span class="p">,</span>
+  <span class="na">protocol</span><span class="p">:</span> <span class="nx">thrift</span><span class="p">.</span><span class="nx">TJSONProtocol</span><span class="p">,</span> 
+    <span class="na">headers</span><span class="p">:</span> <span class="p">{</span>
+     <span class="dl">'</span><span class="s1">Content-Type</span><span class="dl">'</span><span class="p">:</span> <span class="dl">'</span><span class="s1">application/vnd.apache.thrift.json</span><span class="dl">'</span><span class="p">,</span>
+    <span class="p">},</span>
+    <span class="na">https</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
+    <span class="na">path</span><span class="p">:</span> <span class="dl">'</span><span class="s1">/url/path</span><span class="dl">'</span><span class="p">,</span>
+    <span class="na">useCORS</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
+<span class="p">};</span>
+
+<span class="kd">let</span> <span class="nx">connection</span> <span class="o">=</span> <span class="nx">thrift</span><span class="p">.</span><span class="nf">createXHRConnection</span><span class="p">(</span><span class="nx">host</span><span class="p">,</span> <span class="nx">port</span><span class="p">,</span> <span class="nx">opts</span><span class="p">);</span>
+<span class="kd">let</span> <span class="nx">thriftClient</span> <span class="o">=</span> <span class="nx">thrift</span><span class="p">.</span><span class="nf">createXHRClient</span><span class="p">(</span><span class="nx">MyServiceClient</span><span class="p">,</span> <span class="nx">connection</span><span class="p">);</span>
+
+<span class="nx">connection</span><span class="p">.</span><span class="nf">on</span><span class="p">(</span><span class="dl">'</span><span class="s1">error</span><span class="dl">'</span><span class="p">,</span> <span class="p">(</span><span class="nx">err</span><span class="p">)</span> <span class="o">=&gt;</span> <span class="p">{</span>
+  <span class="nx">console</span><span class="p">.</span><span class="nf">error</span><span class="p">(</span><span class="nx">err</span><span class="p">);</span>
+<span class="p">});</span>
+
+<span class="nx">thriftClient</span><span class="p">.</span><span class="nf">myService</span><span class="p">(</span><span class="nx">param</span><span class="p">)</span>
+  <span class="p">.</span><span class="nf">then</span><span class="p">((</span><span class="nx">result</span><span class="p">)</span> <span class="o">=&gt;</span> <span class="p">{</span>
+    <span class="nx">console</span><span class="p">.</span><span class="nf">log</span><span class="p">(</span><span class="nx">result</span><span class="p">);</span>
+  <span class="p">})</span>
+  <span class="p">.</span><span class="k">catch</span><span class="p">((</span><span class="nx">err</span><span class="p">)</span> <span class="o">=&gt;</span> <span class="p">{</span>
+    <span class="p">....</span>
+  <span class="p">});</span>
+</code></pre></div></div>
 
 <p>Bundlers, like webpack, will use thrift/browser.js by default because of the 
-<code>"browser": "./lib/nodejs/lib/thrift/browser.js"</code> field in package.json.</p>
+<code class="language-plaintext highlighter-rouge">"browser": "./lib/nodejs/lib/thrift/browser.js"</code> field in package.json.</p>
 
 <h3 id="browser-example-with-websocket-bufferedtransport-and-binaryprotocol">Browser example with WebSocket, BufferedTransport and BinaryProtocol</h3>
-<p>```javascript
-import thrift from ‘thrift’;
-import { MyServiceClient } from ‘../gen-nodejs/MyService’;</p>
-
-<p>const host = window.location.hostname;
-const port = 9090;
-const opts = {
-  transport: thrift.TBufferedTransport,
-  protocol: thrift.TBinaryProtocol
-}
-const connection = thrift.createWSConnection(host, port, opts);
-connection.open();
-const thriftClient = thrift.createWSClient(MyServiceClient, connection);</p>
-
-<p>connection.on(‘error’, (err) =&gt; {
-  console.error(err);
-});</p>
-
-<p>thriftClient.myService(param)
-  .then((result) =&gt; {
-    console.log(result);
-  })
-  .catch((err) =&gt; {
-    ….
-  });
-```</p>
+<div class="language-javascript highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="k">import</span> <span class="nx">thrift</span> <span class="k">from</span> <span class="dl">'</span><span class="s1">thrift</span><span class="dl">'</span><span class="p">;</span>
+<span class="k">import</span> <span class="p">{</span> <span class="nx">MyServiceClient</span> <span class="p">}</span> <span class="k">from</span> <span class="dl">'</span><span class="s1">../gen-nodejs/MyService</span><span class="dl">'</span><span class="p">;</span>
+
+<span class="kd">const</span> <span class="nx">host</span> <span class="o">=</span> <span class="nb">window</span><span class="p">.</span><span class="nx">location</span><span class="p">.</span><span class="nx">hostname</span><span class="p">;</span>
+<span class="kd">const</span> <span class="nx">port</span> <span class="o">=</span> <span class="mi">9090</span><span class="p">;</span>
+<span class="kd">const</span> <span class="nx">opts</span> <span class="o">=</span> <span class="p">{</span>
+  <span class="na">transport</span><span class="p">:</span> <span class="nx">thrift</span><span class="p">.</span><span class="nx">TBufferedTransport</span><span class="p">,</span>
+  <span class="na">protocol</span><span class="p">:</span> <span class="nx">thrift</span><span class="p">.</span><span class="nx">TBinaryProtocol</span>
+<span class="p">}</span>
+<span class="kd">const</span> <span class="nx">connection</span> <span class="o">=</span> <span class="nx">thrift</span><span class="p">.</span><span class="nf">createWSConnection</span><span class="p">(</span><span class="nx">host</span><span class="p">,</span> <span class="nx">port</span><span class="p">,</span> <span class="nx">opts</span><span class="p">);</span>
+<span class="nx">connection</span><span class="p">.</span><span class="nf">open</span><span class="p">();</span>
+<span class="kd">const</span> <span class="nx">thriftClient</span> <span class="o">=</span> <span class="nx">thrift</span><span class="p">.</span><span class="nf">createWSClient</span><span class="p">(</span><span class="nx">MyServiceClient</span><span class="p">,</span> <span class="nx">connection</span><span class="p">);</span>
+
+<span class="nx">connection</span><span class="p">.</span><span class="nf">on</span><span class="p">(</span><span class="dl">'</span><span class="s1">error</span><span class="dl">'</span><span class="p">,</span> <span class="p">(</span><span class="nx">err</span><span class="p">)</span> <span class="o">=&gt;</span> <span class="p">{</span>
+  <span class="nx">console</span><span class="p">.</span><span class="nf">error</span><span class="p">(</span><span class="nx">err</span><span class="p">);</span>
+<span class="p">});</span>
+
+<span class="nx">thriftClient</span><span class="p">.</span><span class="nf">myService</span><span class="p">(</span><span class="nx">param</span><span class="p">)</span>
+  <span class="p">.</span><span class="nf">then</span><span class="p">((</span><span class="nx">result</span><span class="p">)</span> <span class="o">=&gt;</span> <span class="p">{</span>
+    <span class="nx">console</span><span class="p">.</span><span class="nf">log</span><span class="p">(</span><span class="nx">result</span><span class="p">);</span>
+  <span class="p">})</span>
+  <span class="p">.</span><span class="k">catch</span><span class="p">((</span><span class="nx">err</span><span class="p">)</span> <span class="o">=&gt;</span> <span class="p">{</span>
+    <span class="p">....</span>
+  <span class="p">});</span>
+</code></pre></div></div>
 
 <p class="snippet_footer">This page was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=lib/nodejs/README.md">lib/nodejs/README.md</a>
@@ -202,7 +199,7 @@ const thriftClient = thrift.createWSClient(MyServiceClient, connection);</p>
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/lib/ocaml.html b/output/lib/ocaml.html
index 9cbb41e..8b5cc6a 100644
--- a/output/lib/ocaml.html
+++ b/output/lib/ocaml.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -168,7 +168,7 @@ does not send all the arguments.</p>
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/lib/perl.html b/output/lib/perl.html
index f31c94c..92d86a2 100644
--- a/output/lib/perl.html
+++ b/output/lib/perl.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -111,15 +111,15 @@ to use Thrift.</p>
 
 <h1 id="breaking-changes">Breaking Changes</h1>
 
-<h2 id="section">0.10.0</h2>
+<h2 id="0100">0.10.0</h2>
 
 <p>The socket classes were refactored in 0.10.0 so that there is one package per
-file.  This means <code>use Socket;</code> no longer defines SSLSocket.  You can use this
+file.  This means <code class="language-plaintext highlighter-rouge">use Socket;</code> no longer defines SSLSocket.  You can use this
 technique to make your application run against 0.10.0 as well as earlier versions:</p>
 
-<p><code>eval { require Thrift::SSLSocket; } or do { require Thrift::Socket; }</code></p>
+<p><code class="language-plaintext highlighter-rouge">eval { require Thrift::SSLSocket; } or do { require Thrift::Socket; }</code></p>
 
-<h2 id="section-1">0.11.0</h2>
+<h2 id="0110">0.11.0</h2>
 
 <ul>
   <li>Namespaces of packages that were not scoped within Thrift have been fixed.
@@ -137,7 +137,7 @@ namespace changes, you can make the new, correct namespaces behave like the old
 in your files with this technique to create an alias, which will allow you code to
 run against either version of the perl runtime for thrift:</p>
 
-<p><code>BEGIN {*TType:: = *Thrift::TType::}</code></p>
+<p><code class="language-plaintext highlighter-rouge">BEGIN {*TType:: = *Thrift::TType::}</code></p>
 
 <ul>
   <li>Packages found in Thrift.pm were moved into the Thrift/ directory in separate files:
@@ -150,12 +150,12 @@ run against either version of the perl runtime for thrift:</p>
 <p>If you need to modify your code to work against both older or newer thrift versions,
 you can deal with these changes in a backwards compatible way in your projects using eval:</p>
 
-<p><code>eval  { require Thrift::Exception; require Thrift::MessageType; require Thrift::Type; }
+<p><code class="language-plaintext highlighter-rouge">eval  { require Thrift::Exception; require Thrift::MessageType; require Thrift::Type; }
  or do { require Thrift; }</code></p>
 
 <h1 id="deprecations">Deprecations</h1>
 
-<h2 id="section-2">0.11.0</h2>
+<h2 id="0110-1">0.11.0</h2>
 
 <p>Thrift::HttpClient setRecvTimeout() and setSendTimeout() are deprecated. 
 Use setTimeout instead.</p>
@@ -191,7 +191,7 @@ Use setTimeout instead.</p>
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/lib/php.html b/output/lib/php.html
index 9681c5d..ed852ea 100644
--- a/output/lib/php.html
+++ b/output/lib/php.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -66,36 +66,35 @@ features (i.e. APCu cacheing using asbolute path URLs) as simple as possible.</p
 <p>After that, you have to manually include the Thrift package
 created by the compiler:</p>
 
-<p><code>
-require_once 'packages/Service/Service.php';
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>require_once 'packages/Service/Service.php';
 require_once 'packages/Service/Types.php';
-</code></p>
+</code></pre></div></div>
 
 <h1 id="dependencies">Dependencies</h1>
 
 <p>PHP_INT_SIZE</p>
 
-<pre><code>This built-in signals whether your architecture is 32 or 64 bit and is
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>This built-in signals whether your architecture is 32 or 64 bit and is
 used by the TBinaryProtocol to properly use pack() and unpack() to
 serialize data.
-</code></pre>
+</code></pre></div></div>
 
 <p>apcu_fetch(), apcu_store()</p>
 
-<pre><code>APCu cache is used by the TSocketPool class. If you do not have APCu installed,
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>APCu cache is used by the TSocketPool class. If you do not have APCu installed,
 Thrift will fill in null stub function definitions.
-</code></pre>
+</code></pre></div></div>
 
 <h1 id="breaking-changes">Breaking Changes</h1>
 
-<h2 id="section">0.12.0</h2>
+<h2 id="0120">0.12.0</h2>
 
 <ol>
   <li>
-    <p><a href="https://www.php-fig.org/psr/psr-4/">PSR-4</a> loader is now the default. If you want to use class maps instead, use <code>-gen php:classmap</code>.</p>
+    <p><a href="https://www.php-fig.org/psr/psr-4/">PSR-4</a> loader is now the default. If you want to use class maps instead, use <code class="language-plaintext highlighter-rouge">-gen php:classmap</code>.</p>
   </li>
   <li>
-    <p>If using PSR-4, use <code>$thriftClassLoader-&gt;registerNamespace('namespace', '&lt;path&gt;')</code> instead of <code>$thriftClassLoader-&gt;registerDefinition('namespace', '&lt;path&gt;')</code>.</p>
+    <p>If using PSR-4, use <code class="language-plaintext highlighter-rouge">$thriftClassLoader-&gt;registerNamespace('namespace', '&lt;path&gt;')</code> instead of <code class="language-plaintext highlighter-rouge">$thriftClassLoader-&gt;registerDefinition('namespace', '&lt;path&gt;')</code>.</p>
   </li>
 </ol>
 
@@ -130,7 +129,7 @@ Thrift will fill in null stub function definitions.
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/lib/py.html b/output/lib/py.html
index cae76cb..d51ca61 100644
--- a/output/lib/py.html
+++ b/output/lib/py.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -94,7 +94,7 @@ To use the latter, become superuser and do make install.</p>
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/lib/rb.html b/output/lib/rb.html
index fb2308a..af49501 100644
--- a/output/lib/rb.html
+++ b/output/lib/rb.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -50,27 +50,206 @@
 
     <div class="container">
       
-<p>== DESCRIPTION:</p>
+<h1 id="using-thrift-with-ruby">Using Thrift with Ruby</h1>
 
-<p>Thrift is a strongly-typed language-agnostic RPC system.
-This library is the ruby implementation for both clients and servers.</p>
+<p>Ruby bindings for the Apache Thrift RPC system. The gem contains the runtime
+types, transports, protocols, and servers used by generated Ruby code for both
+clients and services.</p>
 
-<p>== INSTALL:</p>
+<h2 id="compatibility">Compatibility</h2>
 
-<p>$ gem install thrift</p>
+<ul>
+  <li>Ruby MRI &gt;= 2.7 (tested against current supported releases).</li>
+  <li>JRuby works with the pure-Ruby implementation; the native extension is
+skipped automatically.</li>
+  <li>For the repo-wide transport, protocol, and server support matrix, see
+<a href="https://github.com/apache/thrift/blob/master/LANGUAGES.md">Language Feature Matrix</a>. This README focuses on Ruby-specific
+behavior and migration notes.</li>
+</ul>
 
-<p>== CAVEATS:</p>
+<h2 id="installation">Installation</h2>
 
-<p>This library provides the client and server implementations of thrift.
-It does <em>not</em> provide the compiler for the .thrift files. To compile
-.thrift files into language-specific implementations, please download the full
-thrift software package.</p>
+<ul>
+  <li>Requirements: Ruby &gt;= 2.7.</li>
+  <li>From RubyGems: <code class="language-plaintext highlighter-rouge">gem install thrift</code></li>
+  <li>From source: <code class="language-plaintext highlighter-rouge">bundle install</code>, <code class="language-plaintext highlighter-rouge">gem build thrift.gemspec</code>, then install the
+resulting <code class="language-plaintext highlighter-rouge">thrift-*.gem</code>. The native accelerator is built when the gem is
+installed on supported runtimes.</li>
+</ul>
 
-<p>== USAGE:</p>
+<h2 id="generating-ruby-code">Generating Ruby Code</h2>
 
-<p>This section should get written by someone with the time and inclination.
-In the meantime, look at existing code, such as the benchmark or the tutorial
-in the full thrift distribution.</p>
+<p>The Ruby library does not include the Thrift compiler. Use a compiler built
+from the root of this repository to generate Ruby bindings:</p>
+
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>thrift --gen rb path/to/service.thrift
+# with namespaced modules
+thrift --gen rb:namespaced --recurse path/to/service.thrift
+</code></pre></div></div>
+
+<p>Generated files are typically written to <code class="language-plaintext highlighter-rouge">gen-rb/</code> and can be required
+directly from your application.</p>
+
+<h2 id="basic-client-usage">Basic Client Usage</h2>
+
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$:.push File.expand_path('gen-rb', __dir__)
+require 'thrift'
+require 'calculator'
+
+socket     = Thrift::Socket.new('localhost', 9090)
+transport  = Thrift::BufferedTransport.new(socket)
+protocol   = Thrift::BinaryProtocol.new(transport)
+client     = Calculator::Client.new(protocol)
+
+transport.open
+puts client.add(1, 1)
+transport.close
+</code></pre></div></div>
+
+<h2 id="basic-server-usage">Basic Server Usage</h2>
+
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$:.push File.expand_path('gen-rb', __dir__)
+require 'thrift'
+require 'calculator'
+
+class CalculatorHandler
+  def add(a, b)
+    a + b
+  end
+end
+
+handler            = CalculatorHandler.new
+processor          = Calculator::Processor.new(handler)
+server_transport   = Thrift::ServerSocket.new(9090)
+transport_factory  = Thrift::BufferedTransportFactory.new
+protocol_factory   = Thrift::BinaryProtocolFactory.new
+
+server = Thrift::ThreadedServer.new(processor, server_transport,
+                                    transport_factory, protocol_factory)
+server.serve
+</code></pre></div></div>
+
+<h2 id="development-and-tests">Development and Tests</h2>
+
+<ul>
+  <li><code class="language-plaintext highlighter-rouge">bundle exec rake spec</code> runs the Ruby specs. It expects a built Thrift
+compiler at <code class="language-plaintext highlighter-rouge">../../compiler/cpp/thrift</code>.</li>
+  <li><code class="language-plaintext highlighter-rouge">bundle exec rake test</code> runs the cross-language test suite; it must be
+executed from a full Thrift checkout.</li>
+  <li><code class="language-plaintext highlighter-rouge">bundle exec rake build_ext</code> (implicit in the tasks above) compiles the
+optional native extension that accelerates protocols and buffers.</li>
+</ul>
+
+<h2 id="more-ruby-code">More Ruby Code</h2>
+
+<ul>
+  <li>Tutorial client and server: <code class="language-plaintext highlighter-rouge">tutorial/rb/RubyClient.rb</code> and <code class="language-plaintext highlighter-rouge">tutorial/rb/RubyServer.rb</code></li>
+  <li>Runtime benchmarks: <code class="language-plaintext highlighter-rouge">lib/rb/benchmark</code></li>
+  <li>Protocol benchmark: <code class="language-plaintext highlighter-rouge">test/rb/benchmarks/protocol_benchmark.rb</code></li>
+  <li>Library specs: <code class="language-plaintext highlighter-rouge">lib/rb/spec</code></li>
+  <li>Fuzzing harnesses and notes: <code class="language-plaintext highlighter-rouge">lib/rb/test/fuzz</code></li>
+  <li>Cross-language and integration tests: <code class="language-plaintext highlighter-rouge">test/rb</code></li>
+</ul>
+
+<h2 id="breaking-changes">Breaking Changes</h2>
+
+<h3 id="0230">0.23.0</h3>
+
+<p>The documented source-build flow now effectively requires Ruby <code class="language-plaintext highlighter-rouge">2.7+</code>.
+The committed development bundle no longer resolves on Ruby <code class="language-plaintext highlighter-rouge">2.6</code>
+(<code class="language-plaintext highlighter-rouge">json-2.18.1 requires ruby version &gt;= 2.7</code>), so building and testing this
+library from source should be treated as <code class="language-plaintext highlighter-rouge">2.7+</code>.</p>
+
+<p>Generated structs and unions now consistently raise
+<code class="language-plaintext highlighter-rouge">Thrift::ProtocolException::INVALID_DATA</code> for invalid payloads such as unset
+required fields, invalid enum values, or invalid union state. If your
+application or tests matched older exception types or messages, update them.</p>
+
+<p>Regenerated Ruby clients now validate replies more strictly. Mismatched reply
+message types, method names, or sequence IDs raise
+<code class="language-plaintext highlighter-rouge">Thrift::ApplicationException::INVALID_MESSAGE_TYPE</code>,
+<code class="language-plaintext highlighter-rouge">Thrift::ApplicationException::WRONG_METHOD_NAME</code>, or
+<code class="language-plaintext highlighter-rouge">Thrift::ApplicationException::BAD_SEQUENCE_ID</code>. If you relied on older,
+looser reply handling in servers, proxies, or tests, regenerate and update
+those call paths together.</p>
+
+<p>Generated Ruby clients have never been safe to share across concurrent
+threads. A client tracks pending sequence IDs on a single reply stream, so use
+one client/transport pair per thread or serialize access yourself.</p>
+
+<p>Treat <code class="language-plaintext highlighter-rouge">Thrift::ApplicationException::BAD_SEQUENCE_ID</code> as a correctness bug
+that needs immediate attention. It means the client read a reply whose
+sequence ID did not match the next pending request, so the connection may
+already be out of sync and you may be reading a reply intended for a
+different call. The most common cause is sharing one client across threads,
+but a buggy proxy or server can also cause it.</p>
+
+<h3 id="0130">0.13.0</h3>
+
+<p>Ruby development and CI moved to Ruby <code class="language-plaintext highlighter-rouge">2.4+</code>, but the runtime still claimed
+support for older interpreters. Treat Ruby <code class="language-plaintext highlighter-rouge">&lt; 2.4</code> on the <code class="language-plaintext highlighter-rouge">0.13.x</code> line as
+best-effort, not guaranteed.</p>
+
+<ul>
+  <li>Historical note for very old releases: the Ruby runtime was rearranged to use
+more Ruby-like names, and generated files switched to underscored filenames.
+If you are upgrading very old code, regenerate your Ruby bindings and update
+any old <code class="language-plaintext highlighter-rouge">T*</code> constants or legacy require paths such as
+<code class="language-plaintext highlighter-rouge">TBinaryProtocol</code> -&gt; <code class="language-plaintext highlighter-rouge">Thrift::BinaryProtocol</code>.</li>
+  <li>
+    <p><code class="language-plaintext highlighter-rouge">rb:namespaced</code> changes the generated file layout. Flat output from
+<code class="language-plaintext highlighter-rouge">thrift --gen rb</code> and namespaced output from <code class="language-plaintext highlighter-rouge">thrift --gen rb:namespaced</code>
+use different require paths, so switch them atomically with regenerated code.</p>
+
+    <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code># --gen rb
+require 'calculator'
+
+# --gen rb:namespaced
+require 'my_namespace/calculator'
+</code></pre></div>    </div>
+  </li>
+</ul>
+
+<h2 id="migration-notes">Migration Notes</h2>
+
+<ul>
+  <li>If you upgrade across the stricter reply-validation changes, regenerate all
+Ruby stubs and deploy them with the matching Ruby runtime. Do not mix old
+generated code, new generated code, and new runtime code on the same client
+path without testing that combination.</li>
+  <li>If you receive <code class="language-plaintext highlighter-rouge">Thrift::ApplicationException::BAD_SEQUENCE_ID</code>, treat the
+connection as out of sync. Close it, create a new client/transport pair, and
+investigate the root cause before retrying.</li>
+  <li>Do not share one generated Ruby client across concurrent threads. Use one
+client/transport pair per thread, or serialize access to a shared client.</li>
+  <li>If you switch between <code class="language-plaintext highlighter-rouge">thrift --gen rb</code> and <code class="language-plaintext highlighter-rouge">thrift --gen rb:namespaced</code>,
+regenerate all Ruby output and update <code class="language-plaintext highlighter-rouge">require</code> paths in the same change.</li>
+</ul>
+
+<h2 id="runtime-notes">Runtime Notes</h2>
+
+<ul>
+  <li>Loading the <code class="language-plaintext highlighter-rouge">thrift_native</code> extension changes which implementation you are
+running. It replaces
+<code class="language-plaintext highlighter-rouge">Thrift::Struct</code>, <code class="language-plaintext highlighter-rouge">Thrift::Union</code>, and <code class="language-plaintext highlighter-rouge">Thrift::CompactProtocol</code> methods
+with C implementations in place. <code class="language-plaintext highlighter-rouge">Thrift::BinaryProtocol</code> remains available
+in pure Ruby, and the C-backed binary protocol is opt-in through
+<code class="language-plaintext highlighter-rouge">Thrift::BinaryProtocolAcceleratedFactory</code> or
+<code class="language-plaintext highlighter-rouge">Thrift::BinaryProtocolAccelerated</code> when that class is available.</li>
+  <li>The native extension is optional. If it cannot be built or loaded, Thrift
+falls back to the pure-Ruby implementation. This mainly changes performance
+and implementation details.</li>
+  <li>JRuby skips the native extension automatically and uses the pure-Ruby path.</li>
+  <li>Do not share one client instance across concurrent threads. A client tracks
+request and reply state on a single transport stream.</li>
+  <li><code class="language-plaintext highlighter-rouge">Thrift::NonblockingServer</code> expects framed input. Use
+<code class="language-plaintext highlighter-rouge">Thrift::FramedTransport</code> with it on the wire.</li>
+  <li>Client and server must agree on transport and protocol choices. If you
+switch to SSL, HTTP, header transport, compact protocol, or namespaced
+generated code, update both ends together.</li>
+  <li>HTTPS client transport verifies peers by default, and <code class="language-plaintext highlighter-rouge">Thrift::SSLSocket</code>
+performs a hostname check against the host you pass in.</li>
+</ul>
 
 <p class="snippet_footer">This page was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=lib/rb/README.md">lib/rb/README.md</a>
@@ -103,7 +282,7 @@ in the full thrift distribution.</p>
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/lib/st.html b/output/lib/st.html
index fe70f46..2332efa 100644
--- a/output/lib/st.html
+++ b/output/lib/st.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -92,7 +92,7 @@ calc addNum1: 10 num2: 15</p>
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/mailing.html b/output/mailing.html
index 748cd8b..739a7dd 100644
--- a/output/mailing.html
+++ b/output/mailing.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -137,7 +137,7 @@
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/sitemap.html b/output/sitemap.html
index 9d1b90b..0a8c32b 100644
--- a/output/sitemap.html
+++ b/output/sitemap.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -92,11 +92,11 @@
 
 
 
-  <li><a href="/lib/c_glib.html">C GLib</a></li>
+  <li><a href="/tutorial/c_glib.html">c_glib</a></li>
 
 
 
-  <li><a href="/tutorial/c_glib.html">c_glib</a></li>
+  <li><a href="/lib/c_glib.html">C GLib</a></li>
 
 
 
@@ -116,15 +116,11 @@
 
 
 
-  <li><a href="/lib/cpp.html">C++ library</a></li>
-
-
-
   <li><a href="/tutorial/cpp.html">C++</a></li>
 
 
 
-  <li><a href="/lib/csharp.html">C# library</a></li>
+  <li><a href="/lib/cpp.html">C++ library</a></li>
 
 
 
@@ -132,7 +128,7 @@
 
 
 
-  <li><a href="/lib/d.html">D library</a></li>
+  <li><a href="/lib/csharp.html">C# library</a></li>
 
 
 
@@ -140,6 +136,10 @@
 
 
 
+  <li><a href="/lib/d.html">D library</a></li>
+
+
+
   <li><a href="/tutorial/dart.html">Dart</a></li>
 
 
@@ -148,11 +148,11 @@
 
 
 
-  <li><a href="/lib/delphi.html">Delphi library</a></li>
+  <li><a href="/tutorial/delphi.html">Delphi</a></li>
 
 
 
-  <li><a href="/tutorial/delphi.html">Delphi</a></li>
+  <li><a href="/lib/delphi.html">Delphi library</a></li>
 
 
 
@@ -172,19 +172,15 @@
 
 
 
-  <li><a href="/lib/go.html">Go library</a></li>
-
-
-
   <li><a href="/tutorial/go.html">Go</a></li>
 
 
 
-  <li><a href="/tutorial/graphviz.html">Graphviz</a></li>
+  <li><a href="/lib/go.html">Go library</a></li>
 
 
 
-  <li><a href="/lib/haxe.html">Haxe library</a></li>
+  <li><a href="/tutorial/graphviz.html">Graphviz</a></li>
 
 
 
@@ -192,11 +188,11 @@
 
 
 
-  <li><a href="/docs/idl.html">Interface Description Language (IDL)</a></li>
+  <li><a href="/lib/haxe.html">Haxe library</a></li>
 
 
 
-  <li><a href="/test/">Test Suite</a></li>
+  <li><a href="/docs/idl.html">Interface Description Language (IDL)</a></li>
 
 
 
@@ -212,19 +208,19 @@
 
 
 
-  <li><a href="/lib/">Library</a></li>
+  <li><a href="/tutorial/">Index of tutorial/</a></li>
 
 
 
-  <li><a href="/tutorial/">Index of tutorial/</a></li>
+  <li><a href="/test/">Test Suite</a></li>
 
 
 
-  <li><a href="/">Home</a></li>
+  <li><a href="/lib/">Library</a></li>
 
 
 
-  <li><a href="/lib/java.html">Java library</a></li>
+  <li><a href="/">Home</a></li>
 
 
 
@@ -232,7 +228,7 @@
 
 
 
-  <li><a href="/lib/js.html">JavaScript library</a></li>
+  <li><a href="/lib/java.html">Java library</a></li>
 
 
 
@@ -240,15 +236,15 @@
 
 
 
-  <li><a href="/test/keys.html">Keys</a></li>
+  <li><a href="/lib/js.html">JavaScript library</a></li>
 
 
 
-  <li><a href="/mailing.html">Mailing Lists</a></li>
+  <li><a href="/test/keys.html">Keys</a></li>
 
 
 
-  <li><a href="/lib/netstd.html">.NET Standard library</a></li>
+  <li><a href="/mailing.html">Mailing Lists</a></li>
 
 
 
@@ -256,7 +252,7 @@
 
 
 
-  <li><a href="/lib/nodejs.html">node.js library</a></li>
+  <li><a href="/lib/netstd.html">.NET Standard library</a></li>
 
 
 
@@ -264,7 +260,7 @@
 
 
 
-  <li><a href="/lib/ocaml.html">OCaml library</a></li>
+  <li><a href="/lib/nodejs.html">node.js library</a></li>
 
 
 
@@ -272,11 +268,11 @@
 
 
 
-  <li><a href="/docs/install/os_x.html">OS X Install</a></li>
+  <li><a href="/lib/ocaml.html">OCaml library</a></li>
 
 
 
-  <li><a href="/lib/perl.html">Perl library</a></li>
+  <li><a href="/docs/install/os_x.html">OS X Install</a></li>
 
 
 
@@ -284,7 +280,7 @@
 
 
 
-  <li><a href="/lib/php.html">PHP library</a></li>
+  <li><a href="/lib/perl.html">Perl library</a></li>
 
 
 
@@ -292,7 +288,7 @@
 
 
 
-  <li><a href="/lib/py.html">Python library</a></li>
+  <li><a href="/lib/php.html">PHP library</a></li>
 
 
 
@@ -300,7 +296,7 @@
 
 
 
-  <li><a href="/lib/rb.html">Ruby library</a></li>
+  <li><a href="/lib/py.html">Python library</a></li>
 
 
 
@@ -308,6 +304,10 @@
 
 
 
+  <li><a href="/lib/rb.html">Ruby library</a></li>
+
+
+
 
 
   <li><a href="/lib/st.html">SmallTalk library</a></li>
@@ -350,7 +350,7 @@
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/static/css/codehilite.css b/output/static/css/codehilite.css
deleted file mode 100644
index 999d018..0000000
--- a/output/static/css/codehilite.css
+++ /dev/null
@@ -1,62 +0,0 @@
-.codehilite .hll { background-color: #ffffcc }
-.codehilite  { background: #f0f0f0; }
-.codehilite .c { color: #60a0b0; font-style: italic } /* Comment */
-.codehilite .err { border: 1px solid #FF0000 } /* Error */
-.codehilite .k { color: #007020; font-weight: bold } /* Keyword */
-.codehilite .o { color: #666666 } /* Operator */
-.codehilite .cm { color: #60a0b0; font-style: italic } /* Comment.Multiline */
-.codehilite .cp { color: #007020 } /* Comment.Preproc */
-.codehilite .c1 { color: #60a0b0; font-style: italic } /* Comment.Single */
-.codehilite .cs { color: #60a0b0; background-color: #fff0f0 } /* Comment.Special */
-.codehilite .gd { color: #A00000 } /* Generic.Deleted */
-.codehilite .ge { font-style: italic } /* Generic.Emph */
-.codehilite .gr { color: #FF0000 } /* Generic.Error */
-.codehilite .gh { color: #000080; font-weight: bold } /* Generic.Heading */
-.codehilite .gi { color: #00A000 } /* Generic.Inserted */
-.codehilite .go { color: #808080 } /* Generic.Output */
-.codehilite .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
-.codehilite .gs { font-weight: bold } /* Generic.Strong */
-.codehilite .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
-.codehilite .gt { color: #0040D0 } /* Generic.Traceback */
-.codehilite .kc { color: #007020; font-weight: bold } /* Keyword.Constant */
-.codehilite .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */
-.codehilite .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */
-.codehilite .kp { color: #007020 } /* Keyword.Pseudo */
-.codehilite .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */
-.codehilite .kt { color: #902000 } /* Keyword.Type */
-.codehilite .m { color: #40a070 } /* Literal.Number */
-.codehilite .s { color: #4070a0 } /* Literal.String */
-.codehilite .na { color: #4070a0 } /* Name.Attribute */
-.codehilite .nb { color: #007020 } /* Name.Builtin */
-.codehilite .nc { color: #0e84b5; font-weight: bold } /* Name.Class */
-.codehilite .no { color: #60add5 } /* Name.Constant */
-.codehilite .nd { color: #555555; font-weight: bold } /* Name.Decorator */
-.codehilite .ni { color: #d55537; font-weight: bold } /* Name.Entity */
-.codehilite .ne { color: #007020 } /* Name.Exception */
-.codehilite .nf { color: #06287e } /* Name.Function */
-.codehilite .nl { color: #002070; font-weight: bold } /* Name.Label */
-.codehilite .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
-.codehilite .nt { color: #062873; font-weight: bold } /* Name.Tag */
-.codehilite .nv { color: #bb60d5 } /* Name.Variable */
-.codehilite .ow { color: #007020; font-weight: bold } /* Operator.Word */
-.codehilite .w { color: #bbbbbb } /* Text.Whitespace */
-.codehilite .mf { color: #40a070 } /* Literal.Number.Float */
-.codehilite .mh { color: #40a070 } /* Literal.Number.Hex */
-.codehilite .mi { color: #40a070 } /* Literal.Number.Integer */
-.codehilite .mo { color: #40a070 } /* Literal.Number.Oct */
-.codehilite .sb { color: #4070a0 } /* Literal.String.Backtick */
-.codehilite .sc { color: #4070a0 } /* Literal.String.Char */
-.codehilite .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */
-.codehilite .s2 { color: #4070a0 } /* Literal.String.Double */
-.codehilite .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */
-.codehilite .sh { color: #4070a0 } /* Literal.String.Heredoc */
-.codehilite .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */
-.codehilite .sx { color: #c65d09 } /* Literal.String.Other */
-.codehilite .sr { color: #235388 } /* Literal.String.Regex */
-.codehilite .s1 { color: #4070a0 } /* Literal.String.Single */
-.codehilite .ss { color: #517918 } /* Literal.String.Symbol */
-.codehilite .bp { color: #007020 } /* Name.Builtin.Pseudo */
-.codehilite .vc { color: #bb60d5 } /* Name.Variable.Class */
-.codehilite .vg { color: #bb60d5 } /* Name.Variable.Global */
-.codehilite .vi { color: #bb60d5 } /* Name.Variable.Instance */
-.codehilite .il { color: #40a070 } /* Literal.Number.Integer.Long */
diff --git a/output/static/css/rouge.css b/output/static/css/rouge.css
new file mode 100644
index 0000000..18628e7
--- /dev/null
+++ b/output/static/css/rouge.css
@@ -0,0 +1,62 @@
+.highlight .hll { background-color: #ffffcc }
+.highlight  { background: #f0f0f0; }
+.highlight .c { color: #60a0b0; font-style: italic } /* Comment */
+.highlight .err { border: 1px solid #FF0000 } /* Error */
+.highlight .k { color: #007020; font-weight: bold } /* Keyword */
+.highlight .o { color: #666666 } /* Operator */
+.highlight .cm { color: #60a0b0; font-style: italic } /* Comment.Multiline */
+.highlight .cp { color: #007020 } /* Comment.Preproc */
+.highlight .c1 { color: #60a0b0; font-style: italic } /* Comment.Single */
+.highlight .cs { color: #60a0b0; background-color: #fff0f0 } /* Comment.Special */
+.highlight .gd { color: #A00000 } /* Generic.Deleted */
+.highlight .ge { font-style: italic } /* Generic.Emph */
+.highlight .gr { color: #FF0000 } /* Generic.Error */
+.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
+.highlight .gi { color: #00A000 } /* Generic.Inserted */
+.highlight .go { color: #808080 } /* Generic.Output */
+.highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
+.highlight .gs { font-weight: bold } /* Generic.Strong */
+.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
+.highlight .gt { color: #0040D0 } /* Generic.Traceback */
+.highlight .kc { color: #007020; font-weight: bold } /* Keyword.Constant */
+.highlight .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */
+.highlight .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */
+.highlight .kp { color: #007020 } /* Keyword.Pseudo */
+.highlight .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */
+.highlight .kt { color: #902000 } /* Keyword.Type */
+.highlight .m { color: #40a070 } /* Literal.Number */
+.highlight .s { color: #4070a0 } /* Literal.String */
+.highlight .na { color: #4070a0 } /* Name.Attribute */
+.highlight .nb { color: #007020 } /* Name.Builtin */
+.highlight .nc { color: #0e84b5; font-weight: bold } /* Name.Class */
+.highlight .no { color: #60add5 } /* Name.Constant */
+.highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */
+.highlight .ni { color: #d55537; font-weight: bold } /* Name.Entity */
+.highlight .ne { color: #007020 } /* Name.Exception */
+.highlight .nf { color: #06287e } /* Name.Function */
+.highlight .nl { color: #002070; font-weight: bold } /* Name.Label */
+.highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
+.highlight .nt { color: #062873; font-weight: bold } /* Name.Tag */
+.highlight .nv { color: #bb60d5 } /* Name.Variable */
+.highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */
+.highlight .w { color: #bbbbbb } /* Text.Whitespace */
+.highlight .mf { color: #40a070 } /* Literal.Number.Float */
+.highlight .mh { color: #40a070 } /* Literal.Number.Hex */
+.highlight .mi { color: #40a070 } /* Literal.Number.Integer */
+.highlight .mo { color: #40a070 } /* Literal.Number.Oct */
+.highlight .sb { color: #4070a0 } /* Literal.String.Backtick */
+.highlight .sc { color: #4070a0 } /* Literal.String.Char */
+.highlight .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */
+.highlight .s2 { color: #4070a0 } /* Literal.String.Double */
+.highlight .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */
+.highlight .sh { color: #4070a0 } /* Literal.String.Heredoc */
+.highlight .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */
+.highlight .sx { color: #c65d09 } /* Literal.String.Other */
+.highlight .sr { color: #235388 } /* Literal.String.Regex */
+.highlight .s1 { color: #4070a0 } /* Literal.String.Single */
+.highlight .ss { color: #517918 } /* Literal.String.Symbol */
+.highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */
+.highlight .vc { color: #bb60d5 } /* Name.Variable.Class */
+.highlight .vg { color: #bb60d5 } /* Name.Variable.Global */
+.highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */
+.highlight .il { color: #40a070 } /* Literal.Number.Integer.Long */
diff --git a/output/test/ThriftTest.thrift b/output/test/ThriftTest.thrift
index 348b809..b035ba3 100644
--- a/output/test/ThriftTest.thrift
+++ b/output/test/ThriftTest.thrift
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -50,7 +50,7 @@
 
     <div class="container">
       
-<div class="highlight"><pre class="codehilite"><code>/*
+<figure class="highlight"><pre><code class="language-text" data-lang="text">/*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements. See the NOTICE file
  * distributed with this work for additional information
@@ -476,7 +476,7 @@ struct OptionalBinary {
   1: optional set&lt;binary&gt; bin_set = {}
   2: optional map&lt;binary,i32&gt; bin_map = {}
 }
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=test/ThriftTest.thrift">test/ThriftTest.thrift</a>
 </p>
@@ -508,7 +508,7 @@ struct OptionalBinary {
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/test/index.html b/output/test/index.html
index f3cab3a..5a98d44 100644
--- a/output/test/index.html
+++ b/output/test/index.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -60,8 +60,8 @@
 
 <p>The test can be executed by:</p>
 
-<pre><code>make cross
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>make cross
+</code></pre></div></div>
 
 <p>This starts the <a href="test.py">test.py</a> script which does the real cross test with
 different transports, protocols and languages.</p>
@@ -72,24 +72,24 @@ to run, read following section.</p>
 
 <h3 id="b-using-test-script-directly">B. Using test script directly</h3>
 
-<p>Alternatively, you can invoke <a href="test.py">test.py</a> directly. You need to run<code>make
+<p>Alternatively, you can invoke <a href="test.py">test.py</a> directly. You need to run<code class="language-plaintext highlighter-rouge">make
 precross</code> once before executing it for the first time.</p>
 
-<p>For example, if you changed something in <code>nodejs</code> library and need to verify
-the patch, you can skip everything except <code>nodejs</code> itself and some reference
-implementation (currently <code>cpp</code> and <code>java</code> are recommended) like this:</p>
+<p>For example, if you changed something in <code class="language-plaintext highlighter-rouge">nodejs</code> library and need to verify
+the patch, you can skip everything except <code class="language-plaintext highlighter-rouge">nodejs</code> itself and some reference
+implementation (currently <code class="language-plaintext highlighter-rouge">cpp</code> and <code class="language-plaintext highlighter-rouge">java</code> are recommended) like this:</p>
 
-<pre><code>./configure --without-c_glib --without-erlang --without-lua ...
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>./configure --without-c_glib --without-erlang --without-lua ...
 make precross -j8
 test/test.py --server cpp,java --client nodejs
 test/test.py --server nodejs --client cpp,java
-</code></pre>
+</code></pre></div></div>
 
 <p>Another useful flag is –regex. For example, to run all tests that involve
 Java TBinaryProtocol:</p>
 
-<pre><code>test/test.py --regex "java.*binary"
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>test/test.py --regex "java.*binary"
+</code></pre></div></div>
 
 <h2 id="test-case-definition-file">Test case definition file</h2>
 
@@ -97,7 +97,7 @@ Java TBinaryProtocol:</p>
 The root element is collection of test target definitions.
 Each test target definition looks like this:</p>
 
-<pre><code>{
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>{
   "name": "somelib",
 
   "client": {
@@ -115,14 +115,14 @@ Each test target definition looks like this:</p>
     "sockets": ["ip", "ip-ssl"],
   }
 }
-</code></pre>
+</code></pre></div></div>
 
 <p>Either client or server definition or both should be present.</p>
 
-<p>Parameters that are common to both <code>client</code> and <code>server</code> can be put to target
+<p>Parameters that are common to both <code class="language-plaintext highlighter-rouge">client</code> and <code class="language-plaintext highlighter-rouge">server</code> can be put to target
 definition root:</p>
 
-<pre><code>{
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>{
   "name": "somelib",
 
   "workdir": "somelib/bin",
@@ -136,7 +136,7 @@ definition root:</p>
     "sockets": ["ip-ssl"]
   }
 }
-</code></pre>
+</code></pre></div></div>
 
 <p>For the complete list of supported keys and their effect, see source code
 comment at the opt of <a href="crossrunner/collect.py">crossrunner/collect.py</a>.</p>
@@ -148,26 +148,26 @@ around exception handling), the test script specifically report for “not known
 before” failures.</p>
 
 <p>For this purpose, test cases known to (occasionally) fail are listed in
-<code>known_failures_&lt;platform&gt;.json</code> where <code>&lt;platform&gt;</code> matches with python
-<code>platform.system()</code> string.</p>
+<code class="language-plaintext highlighter-rouge">known_failures_&lt;platform&gt;.json</code> where <code class="language-plaintext highlighter-rouge">&lt;platform&gt;</code> matches with python
+<code class="language-plaintext highlighter-rouge">platform.system()</code> string.</p>
 
 <p>Currently, only Linux version is included.</p>
 
 <p>FYI, the file is initially generated by</p>
 
-<pre><code>test/test.py --update-expected-failures=overwrite
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>test/test.py --update-expected-failures=overwrite
+</code></pre></div></div>
 
 <p>after a full test run, then repeatedly</p>
 
-<pre><code>test/test.py --skip-known-failures
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>test/test.py --skip-known-failures
 test/test.py --update-expected-failures=merge
-</code></pre>
+</code></pre></div></div>
 
 <p>to update the known failures, run</p>
 
-<pre><code>make fail
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>make fail
+</code></pre></div></div>
 
 <h2 id="test-executable-specification">Test executable specification</h2>
 
@@ -180,7 +180,7 @@ line interface:</lang></p>
 
 <p><strong>Server command line interface:</strong></p>
 
-<pre><code>$ ./TestServer -h
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ ./TestServer -h
 Allowed options:
   -h | --help                  produce help message
   --port=arg (9090)            Port number to listen
@@ -198,11 +198,11 @@ Allowed options:
   --processor-events           processor-events
   -n=arg | --workers=arg (=4)  Number of thread pools workers. Only valid for
                                thread-pool server type
-</code></pre>
+</code></pre></div></div>
 
 <p><strong>Client command line interface:</strong></p>
 
-<pre><code>$ ./TestClient -h
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ ./TestClient -h
 Allowed options:
   -h | --help                  produce help message
   --host=arg (localhost)       Host to connect
@@ -220,7 +220,7 @@ Allowed options:
   --zlib                       Wrap Transport with Zlib
   -n=arg | --testloops=arg (1) Number of Tests
   -t=arg | --threads=arg (1)   Number of Test threads
-</code></pre>
+</code></pre></div></div>
 
 <p>If you have executed the <strong>make check</strong> or <strong>make cross</strong> then you will be able to browse
 <a href="gen-html/ThriftTest.html">gen-html/ThriftTest.html</a> with the test documentation.</p>
@@ -231,14 +231,14 @@ Allowed options:
 In order to signal failed tests, the return code shall be composed from these bits to indicate
 failing tests:</p>
 
-<pre><code>  #define TEST_BASETYPES     1  // 0000 0001
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>  #define TEST_BASETYPES     1  // 0000 0001
   #define TEST_STRUCTS       2  // 0000 0010
   #define TEST_CONTAINERS    4  // 0000 0100
   #define TEST_EXCEPTIONS    8  // 0000 1000
   #define TEST_UNKNOWN      64  // 0100 0000 (Failed to prepare environment etc.)
   #define TEST_TIMEOUT     128  // 1000 0000
   #define TEST_NOTUSED      48  // 0011 0000 (reserved bits)
-</code></pre>
+</code></pre></div></div>
 
 <p>Tests that have not been executed at all count as errors.</p>
 
@@ -246,7 +246,7 @@ failing tests:</p>
 
 <p>During tests, the test client notices that some of the Struct tests fail.
 Furthermore, due to some other problem none of the Exception tests is executed.
-Therefore, the test client returns the code <code>10 = 2 | 8</code>, indicating the failure
+Therefore, the test client returns the code <code class="language-plaintext highlighter-rouge">10 = 2 | 8</code>, indicating the failure
 of both test 2 (TEST_STRUCTS) and test 8 (TEST_EXCEPTIONS).</p>
 
 <h2 id="ssl">SSL</h2>
@@ -284,7 +284,7 @@ directory <a href="keys">test/keys</a></p>
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/test/keys.html b/output/test/keys.html
index 9725e85..c6d4a6d 100644
--- a/output/test/keys.html
+++ b/output/test/keys.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -54,8 +54,8 @@
 <p>This folder is dedicated to test keys and certificates provided in multiple formats.
 Primary use are unit test suites and cross language tests.</p>
 
-<pre><code>test/keys
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>test/keys
+</code></pre></div></div>
 
 <p><strong>The files in this directory must never be used on production systems.</strong></p>
 
@@ -65,107 +65,107 @@ Primary use are unit test suites and cross language tests.</p>
 
 <p>we use the following parameters for test key and certificate creation</p>
 
-<pre><code>C=US,
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>C=US,
 ST=Maryland,
 L=Forest Hill,
 O=The Apache Software Foundation,
 OU=Apache Thrift,
 CN=localhost/emailAddress=dev@thrift.apache.org
-</code></pre>
+</code></pre></div></div>
 
 <h3 id="create-self-signed-server-key-and-certificate">create self-signed server key and certificate</h3>
 
-<pre><code>openssl req -new -x509 -nodes  -days 3000 -out server.crt -keyout server.key
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>openssl req -new -x509 -nodes  -days 3000 -out server.crt -keyout server.key
 openssl x509 -in server.crt -text &gt; CA.pem
 cat server.crt server.key &gt; server.pem
-</code></pre>
+</code></pre></div></div>
 
 <p>Export password is “thrift” without the quotes</p>
 
-<pre><code>openssl pkcs12 -export -clcerts -in server.crt -inkey server.key -out server.p12
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>openssl pkcs12 -export -clcerts -in server.crt -inkey server.key -out server.p12
+</code></pre></div></div>
 
 <h3 id="create-client-key-and-certificate">create client key and certificate</h3>
 
-<pre><code>openssl genrsa -out client.key
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>openssl genrsa -out client.key
+</code></pre></div></div>
 
 <p>create a signing request:</p>
 
-<pre><code>openssl req -new -key client.key -out client.csr
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>openssl req -new -key client.key -out client.csr
+</code></pre></div></div>
 
 <p>sign the client certificate with the server.key</p>
 
-<pre><code>openssl x509 -req -days 3000 -in client.csr -CA CA.pem -CAkey server.key -set_serial 01 -out client.crt
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>openssl x509 -req -days 3000 -in client.csr -CA CA.pem -CAkey server.key -set_serial 01 -out client.crt
+</code></pre></div></div>
 
 <p>export certificate in PKCS12 format (Export password is “thrift” without the quotes)</p>
 
-<pre><code>openssl pkcs12 -export -clcerts -in client.crt -inkey client.key -out client.p12
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>openssl pkcs12 -export -clcerts -in client.crt -inkey client.key -out client.p12
+</code></pre></div></div>
 
 <p>export certificate in PEM format for OpenSSL usage</p>
 
-<pre><code>openssl pkcs12 -in client.p12 -out client.pem -clcerts
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>openssl pkcs12 -in client.p12 -out client.pem -clcerts
+</code></pre></div></div>
 
 <h3 id="create-client-key-and-certificate-with-altnames">create client key and certificate with altnames</h3>
 
 <p>copy openssl.cnf from your system e.g. /etc/ssl/openssl.cnf and append following to the end of [ v3_req ]</p>
 
-<pre><code>subjectAltName=@alternate_names
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>subjectAltName=@alternate_names
 
 [ alternate_names ]
 IP.1=127.0.0.1
 IP.2=::1
 IP.3=::ffff:127.0.0.1
-</code></pre>
+</code></pre></div></div>
 
 <p>create a signing request:</p>
 
-<pre><code>openssl req -new -key client_v3.key -out client_v3.csr -config openssl.cnf \
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>openssl req -new -key client_v3.key -out client_v3.csr -config openssl.cnf \
     -subj "/C=US/ST=Maryland/L=Forest Hill/O=The Apache Software Foundation/OU=Apache Thrift/CN=localhost" -extensions v3_req
-</code></pre>
+</code></pre></div></div>
 
 <p>sign the client certificate with the server.key</p>
 
-<pre><code>openssl x509 -req -days 3000 -in client_v3.csr -CA CA.pem -CAkey server.key -set_serial 01 -out client_v3.crt -extensions v3_req -extfile openssl.cnf
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>openssl x509 -req -days 3000 -in client_v3.csr -CA CA.pem -CAkey server.key -set_serial 01 -out client_v3.crt -extensions v3_req -extfile openssl.cnf
+</code></pre></div></div>
 
 <h2 id="java-key-and-certificate-import">Java key and certificate import</h2>
 <p>Java Test Environment uses key and trust store password “thrift” without the quotes</p>
 
 <p>list keystore entries</p>
 
-<pre><code>keytool -list -storepass thrift -keystore ../../lib/java/test/.keystore
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>keytool -list -storepass thrift -keystore ../../lib/java/test/.keystore
+</code></pre></div></div>
 
 <p>list truststore entries</p>
 
-<pre><code>keytool -list -storepass thrift -keystore ../../lib/java/test/.truststore
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>keytool -list -storepass thrift -keystore ../../lib/java/test/.truststore
+</code></pre></div></div>
 
 <p>delete an entry</p>
 
-<pre><code>keytool -delete -storepass thrift -keystore ../../lib/java/test/.truststore -alias ssltest
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>keytool -delete -storepass thrift -keystore ../../lib/java/test/.truststore -alias ssltest
+</code></pre></div></div>
 
 <p>import certificate into truststore</p>
 
-<pre><code>keytool -importcert -storepass thrift -keystore ../../lib/java/test/.truststore -alias localhost --file server.crt
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>keytool -importcert -storepass thrift -keystore ../../lib/java/test/.truststore -alias localhost --file server.crt
+</code></pre></div></div>
 
 <p>import key into keystore</p>
 
-<pre><code>keytool -importkeystore -storepass thrift -keystore ../../lib/java/test/.keystore -srcstoretype pkcs12 -srckeystore server.p12
-</code></pre>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>keytool -importkeystore -storepass thrift -keystore ../../lib/java/test/.keystore -srcstoretype pkcs12 -srckeystore server.p12
+</code></pre></div></div>
 
 <h1 id="test-ssl-server-and-clients">Test SSL server and clients</h1>
 
-<pre><code>openssl s_client -connect localhost:9090
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>openssl s_client -connect localhost:9090
 openssl s_server -accept 9090 -www
-</code></pre>
+</code></pre></div></div>
 
 <p class="snippet_footer">This page was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=test/keys/README.md">test/keys/README.md</a>
@@ -198,7 +198,7 @@ openssl s_server -accept 9090 -www
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/tutorial/c_glib.html b/output/tutorial/c_glib.html
index 934d9d0..e6f0dbb 100644
--- a/output/tutorial/c_glib.html
+++ b/output/tutorial/c_glib.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -66,7 +66,7 @@ All Apache Thrift tutorials require that you have:
 
 <h3 id="client">Client</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="cp">#include</span> <span class="cpf">&lt;stdio.h&gt;</span><span class="cp">
+<figure class="highlight"><pre><code class="language-c" data-lang="c"><span class="cp">#include</span> <span class="cpf">&lt;stdio.h&gt;</span><span class="cp">
 #include</span> <span class="cpf">&lt;glib-object.h&gt;</span><span class="cp">
 </span>
 <span class="cp">#include</span> <span class="cpf">&lt;thrift/c_glib/protocol/thrift_binary_protocol.h&gt;</span><span class="cp">
@@ -237,14 +237,14 @@ All Apache Thrift tutorials require that you have:
 
   <span class="k">return</span> <span class="n">exit_status</span><span class="p">;</span>
 <span class="p">}</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/c_glib/c_glib_client.c">tutorial/c_glib/c_glib_client.c</a>
 </p>
 
 <h3 id="server">Server</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="cp">#include</span> <span class="cpf">&lt;glib-object.h&gt;</span><span class="cp">
+<figure class="highlight"><pre><code class="language-c" data-lang="c"><span class="cp">#include</span> <span class="cpf">&lt;glib-object.h&gt;</span><span class="cp">
 #include</span> <span class="cpf">&lt;signal.h&gt;</span><span class="cp">
 #include</span> <span class="cpf">&lt;stdio.h&gt;</span><span class="cp">
 #include</span> <span class="cpf">&lt;string.h&gt;</span><span class="cp">
@@ -752,7 +752,7 @@ All Apache Thrift tutorials require that you have:
 
   <span class="k">return</span> <span class="n">exit_status</span><span class="p">;</span>
 <span class="p">}</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/c_glib/c_glib_server.c">tutorial/c_glib/c_glib_server.c</a>
 </p>
@@ -786,7 +786,7 @@ All Apache Thrift tutorials require that you have:
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/tutorial/cpp.html b/output/tutorial/cpp.html
index 32084f1..0cfecf5 100644
--- a/output/tutorial/cpp.html
+++ b/output/tutorial/cpp.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -68,7 +68,7 @@ All Apache Thrift tutorials require that you have:
 
 <h3 id="client">Client</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="cp">#include</span> <span class="cpf">&lt;iostream&gt;</span><span class="cp">
+<figure class="highlight"><pre><code class="language-cpp" data-lang="cpp"><span class="cp">#include</span> <span class="cpf">&lt;iostream&gt;</span><span class="cp">
 </span>
 <span class="cp">#include</span> <span class="cpf">&lt;thrift/protocol/TBinaryProtocol.h&gt;</span><span class="cp">
 #include</span> <span class="cpf">&lt;thrift/transport/TSocket.h&gt;</span><span class="cp">
@@ -129,14 +129,14 @@ All Apache Thrift tutorials require that you have:
     <span class="n">cout</span> <span class="o">&lt;&lt;</span> <span class="s">"ERROR: "</span> <span class="o">&lt;&lt;</span> <span class="n">tx</span><span class="p">.</span><span class="n">what</span><span class="p">()</span> <span class="o">&lt;&lt;</span> <span class="sc">'\n'</span><span class="p">;</span>
   <span class="p">}</span>
 <span class="p">}</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/cpp/CppClient.cpp">tutorial/cpp/CppClient.cpp</a>
 </p>
 
 <h3 id="server">Server</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="cp">#include</span> <span class="cpf">&lt;thrift/concurrency/ThreadManager.h&gt;</span><span class="cp">
+<figure class="highlight"><pre><code class="language-cpp" data-lang="cpp"><span class="cp">#include</span> <span class="cpf">&lt;thrift/concurrency/ThreadManager.h&gt;</span><span class="cp">
 #include</span> <span class="cpf">&lt;thrift/concurrency/ThreadFactory.h&gt;</span><span class="cp">
 #include</span> <span class="cpf">&lt;thrift/protocol/TBinaryProtocol.h&gt;</span><span class="cp">
 #include</span> <span class="cpf">&lt;thrift/server/TSimpleServer.h&gt;</span><span class="cp">
@@ -269,7 +269,7 @@ All Apache Thrift tutorials require that you have:
 
   <span class="c1">// This server only allows one connection at a time, but spawns no threads</span>
   <span class="n">TSimpleServer</span> <span class="n">server</span><span class="p">(</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/cpp/CppServer.cpp">tutorial/cpp/CppServer.cpp</a>
 </p>
@@ -278,7 +278,7 @@ All Apache Thrift tutorials require that you have:
 
 <h3 id="example-threadpool-server">Example ThreadPool Server</h3>
 
-<div class="highlight"><pre class="codehilite"><code>    <span class="n">std</span><span class="o">::</span><span class="n">shared_ptr</span><span class="o">&lt;</span><span class="n">TSocket</span><span class="o">&gt;</span> <span class="n">sock</span> <span class="o">=</span> <span class="n">std</span><span class="o">::</span><span class="n">dynamic_pointer_cast</span><span class="o">&lt;</span><span class="n">TSocket</span><span class="o">&gt;</span><span class="p">(</span><span class [...]
+<figure class="highlight"><pre><code class="language-cpp" data-lang="cpp">    <span class="n">std</span><span class="o">::</span><span class="n">shared_ptr</span><span class="o">&lt;</span><span class="n">TSocket</span><span class="o">&gt;</span> <span class="n">sock</span> <span class="o">=</span> <span class="n">std</span><span class="o">::</span><span class="n">dynamic_pointer_cast</span><span class="o">&lt;</span><span class="n">TSocket</span><span class="o">&gt;</span><span class="p [...]
     <span class="n">cout</span> <span class="o">&lt;&lt;</span> <span class="s">"Incoming connection</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span>
     <span class="n">cout</span> <span class="o">&lt;&lt;</span> <span class="s">"</span><span class="se">\t</span><span class="s">SocketInfo: "</span>  <span class="o">&lt;&lt;</span> <span class="n">sock</span><span class="o">-&gt;</span><span class="n">getSocketInfo</span><span class="p">()</span> <span class="o">&lt;&lt;</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span>
     <span class="n">cout</span> <span class="o">&lt;&lt;</span> <span class="s">"</span><span class="se">\t</span><span class="s">PeerHost: "</span>    <span class="o">&lt;&lt;</span> <span class="n">sock</span><span class="o">-&gt;</span><span class="n">getPeerHost</span><span class="p">()</span> <span class="o">&lt;&lt;</span> <span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">;</span>
@@ -291,7 +291,7 @@ All Apache Thrift tutorials require that you have:
   <span class="p">}</span>
 <span class="p">};</span>
 
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/cpp/CppServer.cpp">tutorial/cpp/CppServer.cpp</a>
 </p>
@@ -325,7 +325,7 @@ All Apache Thrift tutorials require that you have:
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/tutorial/csharp.html b/output/tutorial/csharp.html
index aa5f156..8ee2535 100644
--- a/output/tutorial/csharp.html
+++ b/output/tutorial/csharp.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -101,7 +101,7 @@ All Apache Thrift tutorials require that you have:
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/tutorial/d.html b/output/tutorial/d.html
index 5168b09..a9882e4 100644
--- a/output/tutorial/d.html
+++ b/output/tutorial/d.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -68,7 +68,7 @@ All Apache Thrift tutorials require that you have:
 
 <h3 id="client">Client</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="k">module</span> <span class="n">client</span><span class="p">;</span>
+<figure class="highlight"><pre><code class="language-cpp" data-lang="cpp"><span class="k">module</span> <span class="n">client</span><span class="p">;</span>
 
 <span class="k">import</span> <span class="n">std</span><span class="p">.</span><span class="n">stdio</span><span class="p">;</span>
 <span class="k">import</span> <span class="n">thrift</span><span class="p">.</span><span class="n">base</span><span class="p">;</span>
@@ -114,14 +114,14 @@ All Apache Thrift tutorials require that you have:
   <span class="k">auto</span> <span class="n">log</span> <span class="o">=</span> <span class="n">client</span><span class="p">.</span><span class="n">getStruct</span><span class="p">(</span><span class="mi">1</span><span class="p">);</span>
   <span class="n">writefln</span><span class="p">(</span><span class="s">"Check log: %s"</span><span class="p">,</span> <span class="n">log</span><span class="p">.</span><span class="n">value</span><span class="p">);</span>
 <span class="p">}</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/d/client.d">tutorial/d/client.d</a>
 </p>
 
 <h3 id="server">Server</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="k">module</span> <span class="n">server</span><span class="p">;</span>
+<figure class="highlight"><pre><code class="language-cpp" data-lang="cpp"><span class="k">module</span> <span class="n">server</span><span class="p">;</span>
 
 <span class="k">import</span> <span class="n">std</span><span class="p">.</span><span class="n">conv</span> <span class="o">:</span> <span class="n">to</span><span class="p">;</span>
 <span class="k">import</span> <span class="n">std</span><span class="p">.</span><span class="n">stdio</span><span class="p">;</span>
@@ -214,7 +214,7 @@ All Apache Thrift tutorials require that you have:
   <span class="n">server</span><span class="p">.</span><span class="n">serve</span><span class="p">();</span>
   <span class="n">writeln</span><span class="p">(</span><span class="s">"done."</span><span class="p">);</span>
 <span class="p">}</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/d/server.d">tutorial/d/server.d</a>
 </p>
@@ -250,7 +250,7 @@ All Apache Thrift tutorials require that you have:
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/tutorial/dart.html b/output/tutorial/dart.html
index 6878003..db5c664 100644
--- a/output/tutorial/dart.html
+++ b/output/tutorial/dart.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -70,7 +70,7 @@ All Apache Thrift tutorials require that you have:
 
 <h3 id="client">Client</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="k">import</span> <span class="err">'</span><span class="n">dart</span><span class="o">:</span><span class="n">html</span><span class="err">'</span><span class="p">;</span>
+<figure class="highlight"><pre><code class="language-cpp" data-lang="cpp"><span class="k">import</span> <span class="err">'</span><span class="n">dart</span><span class="o">:</span><span class="n">html</span><span class="err">'</span><span class="p">;</span>
 
 <span class="k">import</span> <span class="err">'</span><span class="n">package</span><span class="o">:</span><span class="n">thrift</span><span class="o">/</span><span class="n">thrift</span><span class="p">.</span><span class="n">dart</span><span class="err">'</span><span class="p">;</span>
 <span class="k">import</span> <span class="err">'</span><span class="n">package</span><span class="o">:</span><span class="n">thrift</span><span class="o">/</span><span class="n">thrift_browser</span><span class="p">.</span><span class="n">dart</span><span class="err">'</span><span class="p">;</span>
@@ -79,7 +79,7 @@ All Apache Thrift tutorials require that you have:
 
 <span class="c1">/// Adapted from the AS3 tutorial</span>
 <span class="kt">void</span> <span class="nf">main</span><span class="p">()</span> <span class="p">{</span>
-  <span class="k">new</span> <span class="n">CalculatorUI</span><span class="p">(</span><span class="n">querySelector</span><span class="p">(</span><span class="err">'#</span><span class="n">output</span><span class="err">'</span><span class="p">)).</span><span class="n">start</span><span class="p">();</span>
+  <span class="k">new</span> <span class="n">CalculatorUI</span><span class="p">(</span><span class="n">querySelector</span><span class="p">(</span><span class="err">'#</span><span class="n">output</span><span class="err">'</span><span class="p">)</span> <span class="n">as</span> <span class="n">DivElement</span> <span class="p">).</span><span class="n">start</span><span class="p">();</span>
 <span class="p">}</span>
 
 <span class="k">class</span> <span class="nc">CalculatorUI</span> <span class="p">{</span>
@@ -87,8 +87,8 @@ All Apache Thrift tutorials require that you have:
 
   <span class="n">CalculatorUI</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="n">output</span><span class="p">);</span>
 
-  <span class="n">TTransport</span> <span class="n">_transport</span><span class="p">;</span>
-  <span class="n">Calculator</span> <span class="n">_calculatorClient</span><span class="p">;</span>
+  <span class="n">late</span> <span class="n">TTransport</span> <span class="n">_transport</span><span class="p">;</span>
+  <span class="n">late</span> <span class="n">Calculator</span> <span class="n">_calculatorClient</span><span class="p">;</span>
 
   <span class="kt">void</span> <span class="n">start</span><span class="p">()</span> <span class="p">{</span>
     <span class="n">_buildInterface</span><span class="p">();</span>
@@ -175,12 +175,12 @@ All Apache Thrift tutorials require that you have:
   <span class="kt">void</span> <span class="nf">_onAddClick</span><span class="p">(</span><span class="n">MouseEvent</span> <span class="n">e</span><span class="p">)</span> <span class="p">{</span>
     <span class="n">_validate</span><span class="p">();</span>
 
-    <span class="n">InputElement</span> <span class="n">num1</span> <span class="o">=</span> <span class="n">querySelector</span><span class="p">(</span><span class="s">"#add1"</span><span class="p">);</span>
-    <span class="n">InputElement</span> <span class="n">num2</span> <span class="o">=</span> <span class="n">querySelector</span><span class="p">(</span><span class="s">"#add2"</span><span class="p">);</span>
-    <span class="n">SpanElement</span> <span class="n">result</span> <span class="o">=</span> <span class="n">querySelector</span><span class="p">(</span><span class="s">"#addResult"</span><span class="p">);</span>
+    <span class="n">InputElement</span> <span class="n">num1</span> <span class="o">=</span> <span class="n">querySelector</span><span class="p">(</span><span class="s">"#add1"</span><span class="p">)</span> <span class="n">as</span> <span class="n">InputElement</span><span class="p">;</span>
+    <span class="n">InputElement</span> <span class="n">num2</span> <span class="o">=</span> <span class="n">querySelector</span><span class="p">(</span><span class="s">"#add2"</span><span class="p">)</span><span class="n">as</span> <span class="n">InputElement</span><span class="p">;</span>
+    <span class="n">SpanElement</span> <span class="n">result</span> <span class="o">=</span> <span class="n">querySelector</span><span class="p">(</span><span class="s">"#addResult"</span><span class="p">)</span> <span class="n">as</span> <span class="n">SpanElement</span><span class="p">;</span>
 
     <span class="n">_calculatorClient</span>
-        <span class="p">.</span><span class="n">add</span><span class="p">(</span><span class="kt">int</span><span class="p">.</span><span class="n">parse</span><span class="p">(</span><span class="n">num1</span><span class="p">.</span><span class="n">value</span><span class="p">),</span> <span class="kt">int</span><span class="p">.</span><span class="n">parse</span><span class="p">(</span><span class="n">num2</span><span class="p">.</span><span class="n">value</span><span class="p">))</span>
+        <span class="p">.</span><span class="n">add</span><span class="p">(</span><span class="kt">int</span><span class="p">.</span><span class="n">parse</span><span class="p">(</span><span class="n">num1</span><span class="p">.</span><span class="n">value</span> <span class="o">??</span> <span class="s">"0"</span><span class="p">),</span> <span class="kt">int</span><span class="p">.</span><span class="n">parse</span><span class="p">(</span><span class="n">num2</span><span class="p">.</ [...]
         <span class="p">.</span><span class="n">then</span><span class="p">((</span><span class="kt">int</span> <span class="n">n</span><span class="p">)</span> <span class="p">{</span>
       <span class="n">result</span><span class="p">.</span><span class="n">text</span> <span class="o">=</span> <span class="s">"$n"</span><span class="p">;</span>
     <span class="p">});</span>
@@ -266,21 +266,21 @@ All Apache Thrift tutorials require that you have:
   <span class="kt">void</span> <span class="nf">_onCalcClick</span><span class="p">(</span><span class="n">MouseEvent</span> <span class="n">e</span><span class="p">)</span> <span class="p">{</span>
     <span class="n">_validate</span><span class="p">();</span>
 
-    <span class="n">InputElement</span> <span class="n">num1</span> <span class="o">=</span> <span class="n">querySelector</span><span class="p">(</span><span class="s">"#calc1"</span><span class="p">);</span>
-    <span class="n">InputElement</span> <span class="n">num2</span> <span class="o">=</span> <span class="n">querySelector</span><span class="p">(</span><span class="s">"#calc2"</span><span class="p">);</span>
-    <span class="n">SelectElement</span> <span class="n">op</span> <span class="o">=</span> <span class="n">querySelector</span><span class="p">(</span><span class="s">"#calcOp"</span><span class="p">);</span>
-    <span class="n">SpanElement</span> <span class="n">result</span> <span class="o">=</span> <span class="n">querySelector</span><span class="p">(</span><span class="s">"#calcResult"</span><span class="p">);</span>
-    <span class="n">InputElement</span> <span class="n">logId</span> <span class="o">=</span> <span class="n">querySelector</span><span class="p">(</span><span class="s">"#logId"</span><span class="p">);</span>
-    <span class="n">InputElement</span> <span class="n">comment</span> <span class="o">=</span> <span class="n">querySelector</span><span class="p">(</span><span class="s">"#comment"</span><span class="p">);</span>
+    <span class="n">InputElement</span> <span class="n">num1</span> <span class="o">=</span> <span class="n">querySelector</span><span class="p">(</span><span class="s">"#calc1"</span><span class="p">)</span> <span class="n">as</span> <span class="n">InputElement</span><span class="p">;</span>
+    <span class="n">InputElement</span> <span class="n">num2</span> <span class="o">=</span> <span class="n">querySelector</span><span class="p">(</span><span class="s">"#calc2"</span><span class="p">)</span><span class="n">as</span> <span class="n">InputElement</span><span class="p">;</span>
+    <span class="n">SelectElement</span> <span class="n">op</span> <span class="o">=</span> <span class="n">querySelector</span><span class="p">(</span><span class="s">"#calcOp"</span><span class="p">)</span> <span class="n">as</span> <span class="n">SelectElement</span><span class="p">;</span>
+    <span class="n">SpanElement</span> <span class="n">result</span> <span class="o">=</span> <span class="n">querySelector</span><span class="p">(</span><span class="s">"#calcResult"</span><span class="p">)</span> <span class="n">as</span> <span class="n">SpanElement</span><span class="p">;</span>
+    <span class="n">InputElement</span> <span class="n">logId</span> <span class="o">=</span> <span class="n">querySelector</span><span class="p">(</span><span class="s">"#logId"</span><span class="p">)</span> <span class="n">as</span> <span class="n">InputElement</span><span class="p">;</span>
+    <span class="n">InputElement</span> <span class="n">comment</span> <span class="o">=</span> <span class="n">querySelector</span><span class="p">(</span><span class="s">"#comment"</span><span class="p">)</span> <span class="n">as</span> <span class="n">InputElement</span><span class="p">;</span>
 
-    <span class="kt">int</span> <span class="n">logIdValue</span> <span class="o">=</span> <span class="kt">int</span><span class="p">.</span><span class="n">parse</span><span class="p">(</span><span class="n">logId</span><span class="p">.</span><span class="n">value</span><span class="p">);</span>
+    <span class="kt">int</span> <span class="n">logIdValue</span> <span class="o">=</span> <span class="kt">int</span><span class="p">.</span><span class="n">parse</span><span class="p">(</span><span class="n">logId</span><span class="p">.</span><span class="n">value</span> <span class="o">??</span> <span class="s">"0"</span><span class="p">);</span>
     <span class="n">logId</span><span class="p">.</span><span class="n">value</span> <span class="o">=</span> <span class="p">(</span><span class="n">logIdValue</span> <span class="o">+</span> <span class="mi">1</span><span class="p">).</span><span class="n">toString</span><span class="p">();</span>
 
     <span class="n">Work</span> <span class="n">work</span> <span class="o">=</span> <span class="k">new</span> <span class="n">Work</span><span class="p">();</span>
-    <span class="n">work</span><span class="p">.</span><span class="n">num1</span> <span class="o">=</span> <span class="kt">int</span><span class="p">.</span><span class="n">parse</span><span class="p">(</span><span class="n">num1</span><span class="p">.</span><span class="n">value</span><span class="p">);</span>
-    <span class="n">work</span><span class="p">.</span><span class="n">num2</span> <span class="o">=</span> <span class="kt">int</span><span class="p">.</span><span class="n">parse</span><span class="p">(</span><span class="n">num2</span><span class="p">.</span><span class="n">value</span><span class="p">);</span>
-    <span class="n">work</span><span class="p">.</span><span class="n">op</span> <span class="o">=</span> <span class="kt">int</span><span class="p">.</span><span class="n">parse</span><span class="p">(</span><span class="n">op</span><span class="p">.</span><span class="n">options</span><span class="p">[</span><span class="n">op</span><span class="p">.</span><span class="n">selectedIndex</span><span class="p">].</span><span class="n">value</span><span class="p">);</span>
-    <span class="n">work</span><span class="p">.</span><span class="n">comment</span> <span class="o">=</span> <span class="n">comment</span><span class="p">.</span><span class="n">value</span><span class="p">;</span>
+    <span class="n">work</span><span class="p">.</span><span class="n">num1</span> <span class="o">=</span> <span class="kt">int</span><span class="p">.</span><span class="n">parse</span><span class="p">(</span><span class="n">num1</span><span class="p">.</span><span class="n">value</span><span class="o">!</span><span class="p">);</span>
+    <span class="n">work</span><span class="p">.</span><span class="n">num2</span> <span class="o">=</span> <span class="kt">int</span><span class="p">.</span><span class="n">parse</span><span class="p">(</span><span class="n">num2</span><span class="p">.</span><span class="n">value</span><span class="o">!</span><span class="p">);</span>
+    <span class="n">work</span><span class="p">.</span><span class="n">op</span> <span class="o">=</span> <span class="kt">int</span><span class="p">.</span><span class="n">parse</span><span class="p">(</span><span class="n">op</span><span class="p">.</span><span class="n">options</span><span class="p">[</span><span class="n">op</span><span class="p">.</span><span class="n">selectedIndex</span><span class="o">!</span><span class="p">].</span><span class="n">value</span><span class="p">);</span>
+    <span class="n">work</span><span class="p">.</span><span class="n">comment</span> <span class="o">=</span> <span class="n">comment</span><span class="p">.</span><span class="n">value</span><span class="o">!</span><span class="p">;</span>
 
     <span class="n">_calculatorClient</span><span class="p">.</span><span class="n">calculate</span><span class="p">(</span><span class="n">logIdValue</span><span class="p">,</span> <span class="n">work</span><span class="p">).</span><span class="n">then</span><span class="p">((</span><span class="kt">int</span> <span class="n">n</span><span class="p">)</span> <span class="p">{</span>
       <span class="n">result</span><span class="p">.</span><span class="n">text</span> <span class="o">=</span> <span class="s">"$n"</span><span class="p">;</span>
@@ -321,24 +321,24 @@ All Apache Thrift tutorials require that you have:
   <span class="kt">void</span> <span class="nf">_onGetStructClick</span><span class="p">(</span><span class="n">MouseEvent</span> <span class="n">e</span><span class="p">)</span> <span class="p">{</span>
     <span class="n">_validate</span><span class="p">();</span>
 
-    <span class="n">InputElement</span> <span class="n">structKey</span> <span class="o">=</span> <span class="n">querySelector</span><span class="p">(</span><span class="s">"#structKey"</span><span class="p">);</span>
-    <span class="n">TextAreaElement</span> <span class="n">result</span> <span class="o">=</span> <span class="n">querySelector</span><span class="p">(</span><span class="s">"#getStructResult"</span><span class="p">);</span>
+    <span class="n">InputElement</span> <span class="n">structKey</span> <span class="o">=</span> <span class="n">querySelector</span><span class="p">(</span><span class="s">"#structKey"</span><span class="p">)</span> <span class="n">as</span> <span class="n">InputElement</span><span class="p">;</span>
+    <span class="n">TextAreaElement</span> <span class="n">result</span> <span class="o">=</span> <span class="n">querySelector</span><span class="p">(</span><span class="s">"#getStructResult"</span><span class="p">)</span> <span class="n">as</span> <span class="n">TextAreaElement</span><span class="p">;</span>
 
     <span class="n">_calculatorClient</span>
-        <span class="p">.</span><span class="n">getStruct</span><span class="p">(</span><span class="kt">int</span><span class="p">.</span><span class="n">parse</span><span class="p">(</span><span class="n">structKey</span><span class="p">.</span><span class="n">value</span><span class="p">))</span>
-        <span class="p">.</span><span class="n">then</span><span class="p">((</span><span class="n">SharedStruct</span> <span class="n">s</span><span class="p">)</span> <span class="p">{</span>
-      <span class="n">result</span><span class="p">.</span><span class="n">text</span> <span class="o">=</span> <span class="s">"${s.toString()}"</span><span class="p">;</span>
+        <span class="p">.</span><span class="n">getStruct</span><span class="p">(</span><span class="kt">int</span><span class="p">.</span><span class="n">parse</span><span class="p">(</span><span class="n">structKey</span><span class="p">.</span><span class="n">value</span><span class="o">!</span><span class="p">))</span>
+        <span class="p">.</span><span class="n">then</span><span class="p">((</span><span class="n">SharedStruct</span><span class="o">?</span> <span class="n">s</span><span class="p">)</span> <span class="p">{</span>
+      <span class="n">result</span><span class="p">.</span><span class="n">text</span> <span class="o">=</span> <span class="s">"${s?.toString()}"</span><span class="p">;</span>
     <span class="p">});</span>
   <span class="p">}</span>
 <span class="p">}</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/dart/client/web/client.dart">tutorial/dart/client/web/client.dart</a>
 </p>
 
 <h3 id="client-web-page">Client web page</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="cp">&lt;!DOCTYPE html&gt;</span>
+<figure class="highlight"><pre><code class="language-html" data-lang="html"><span class="cp">&lt;!DOCTYPE html&gt;</span>
 <span class="nt">&lt;html&gt;</span>
 <span class="nt">&lt;head&gt;</span>
     <span class="nt">&lt;meta</span> <span class="na">charset=</span><span class="s">"utf-8"</span><span class="nt">&gt;</span>
@@ -355,14 +355,14 @@ All Apache Thrift tutorials require that you have:
 
 <span class="nt">&lt;/body&gt;</span>
 <span class="nt">&lt;/html&gt;</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/dart/client/web/index.html">tutorial/dart/client/web/index.html</a>
 </p>
 
 <h3 id="server">Server</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="k">import</span> <span class="err">'</span><span class="n">dart</span><span class="o">:</span><span class="n">async</span><span class="err">'</span><span class="p">;</span>
+<figure class="highlight"><pre><code class="language-cpp" data-lang="cpp"><span class="k">import</span> <span class="err">'</span><span class="n">dart</span><span class="o">:</span><span class="n">async</span><span class="err">'</span><span class="p">;</span>
 <span class="k">import</span> <span class="err">'</span><span class="n">dart</span><span class="o">:</span><span class="n">io</span><span class="err">'</span><span class="p">;</span>
 
 <span class="k">import</span> <span class="err">'</span><span class="n">package</span><span class="o">:</span><span class="n">args</span><span class="o">/</span><span class="n">args</span><span class="p">.</span><span class="n">dart</span><span class="err">'</span><span class="p">;</span>
@@ -372,9 +372,9 @@ All Apache Thrift tutorials require that you have:
 <span class="k">import</span> <span class="err">'</span><span class="n">package</span><span class="o">:</span><span class="n">tutorial</span><span class="o">/</span><span class="n">tutorial</span><span class="p">.</span><span class="n">dart</span><span class="err">'</span><span class="p">;</span>
 <span class="k">import</span> <span class="err">'</span><span class="n">package</span><span class="o">:</span><span class="n">shared</span><span class="o">/</span><span class="n">shared</span><span class="p">.</span><span class="n">dart</span><span class="err">'</span><span class="p">;</span>
 
-<span class="n">TProtocol</span> <span class="n">_protocol</span><span class="p">;</span>
-<span class="n">TProcessor</span> <span class="n">_processor</span><span class="p">;</span>
-<span class="n">WebSocket</span> <span class="n">_webSocket</span><span class="p">;</span>
+<span class="n">late</span> <span class="n">TProtocol</span> <span class="n">_protocol</span><span class="p">;</span>
+<span class="n">late</span> <span class="n">TProcessor</span> <span class="n">_processor</span><span class="p">;</span>
+<span class="n">late</span> <span class="n">WebSocket</span> <span class="n">_webSocket</span><span class="p">;</span>
 
 <span class="n">main</span><span class="p">(</span><span class="n">List</span><span class="o">&lt;</span><span class="n">String</span><span class="o">&gt;</span> <span class="n">args</span><span class="p">)</span> <span class="p">{</span>
   <span class="n">Logger</span><span class="p">.</span><span class="n">root</span><span class="p">.</span><span class="n">level</span> <span class="o">=</span> <span class="n">Level</span><span class="p">.</span><span class="n">ALL</span><span class="p">;</span>
@@ -385,12 +385,12 @@ All Apache Thrift tutorials require that you have:
   <span class="n">var</span> <span class="n">parser</span> <span class="o">=</span> <span class="k">new</span> <span class="nf">ArgParser</span><span class="p">();</span>
   <span class="n">parser</span><span class="p">.</span><span class="n">addOption</span><span class="p">(</span><span class="err">'</span><span class="n">port</span><span class="err">'</span><span class="p">,</span> <span class="n">defaultsTo</span><span class="o">:</span> <span class="err">'</span><span class="mi">9090</span><span class="err">'</span><span class="p">,</span> <span class="n">help</span><span class="o">:</span> <span class="err">'</span><span class="n">The</span> <span cla [...]
   <span class="n">parser</span><span class="p">.</span><span class="n">addOption</span><span class="p">(</span><span class="err">'</span><span class="n">type</span><span class="err">'</span><span class="p">,</span>
-      <span class="n">defaultsTo</span><span class="o">:</span> <span class="err">'</span><span class="n">ws</span><span class="err">'</span><span class="p">,</span>
+      <span class="n">defaultsTo</span><span class="o">:</span> <span class="err">'</span><span class="n">tcp</span><span class="err">'</span><span class="p">,</span>
       <span class="n">allowed</span><span class="o">:</span> <span class="p">[</span><span class="err">'</span><span class="n">ws</span><span class="err">'</span><span class="p">,</span> <span class="err">'</span><span class="n">tcp</span><span class="err">'</span><span class="p">],</span>
       <span class="n">help</span><span class="o">:</span> <span class="err">'</span><span class="n">The</span> <span class="n">type</span> <span class="n">of</span> <span class="n">socket</span><span class="err">'</span><span class="p">,</span>
       <span class="n">allowedHelp</span><span class="o">:</span> <span class="p">{</span><span class="err">'</span><span class="n">ws</span><span class="err">'</span><span class="o">:</span> <span class="err">'</span><span class="n">WebSocket</span><span class="err">'</span><span class="p">,</span> <span class="err">'</span><span class="n">tcp</span><span class="err">'</span><span class="o">:</span> <span class="err">'</span><span class="n">TCP</span> <span class="n">Socket</span><span c [...]
 
-  <span class="n">ArgResults</span> <span class="n">results</span><span class="p">;</span>
+  <span class="n">ArgResults</span><span class="o">?</span> <span class="n">results</span><span class="p">;</span>
   <span class="k">try</span> <span class="p">{</span>
     <span class="n">results</span> <span class="o">=</span> <span class="n">parser</span><span class="p">.</span><span class="n">parse</span><span class="p">(</span><span class="n">args</span><span class="p">);</span>
   <span class="p">}</span> <span class="k">catch</span> <span class="p">(</span><span class="n">e</span><span class="p">)</span> <span class="p">{</span>
@@ -461,12 +461,12 @@ All Apache Thrift tutorials require that you have:
     <span class="k">return</span> <span class="n">num1</span> <span class="o">+</span> <span class="n">num2</span><span class="p">;</span>
   <span class="p">}</span>
 
-  <span class="n">Future</span><span class="o">&lt;</span><span class="kt">int</span><span class="o">&gt;</span> <span class="n">calculate</span><span class="p">(</span><span class="kt">int</span> <span class="n">logid</span><span class="p">,</span> <span class="n">Work</span> <span class="n">work</span><span class="p">)</span> <span class="n">async</span> <span class="p">{</span>
+  <span class="n">Future</span><span class="o">&lt;</span><span class="kt">int</span><span class="o">&gt;</span> <span class="n">calculate</span><span class="p">(</span><span class="kt">int</span> <span class="n">logid</span><span class="p">,</span> <span class="n">Work</span><span class="o">?</span> <span class="n">work</span><span class="p">)</span> <span class="n">async</span> <span class="p">{</span>
     <span class="n">print</span><span class="p">(</span><span class="err">'</span><span class="n">calulate</span><span class="p">(</span><span class="err">$</span><span class="n">logid</span><span class="p">,</span> <span class="err">$</span><span class="p">{</span><span class="n">work</span><span class="p">.</span><span class="n">toString</span><span class="p">()})</span><span class="err">'</span><span class="p">);</span>
 
-    <span class="kt">int</span> <span class="n">val</span><span class="p">;</span>
+    <span class="n">late</span> <span class="kt">int</span> <span class="n">val</span><span class="p">;</span>
 
-    <span class="k">switch</span> <span class="p">(</span><span class="n">work</span><span class="p">.</span><span class="n">op</span><span class="p">)</span> <span class="p">{</span>
+    <span class="k">switch</span> <span class="p">(</span><span class="n">work</span><span class="o">!</span><span class="p">.</span><span class="n">op</span><span class="p">)</span> <span class="p">{</span>
       <span class="k">case</span> <span class="n">Operation</span><span class="p">.</span><span class="n">ADD</span><span class="p">:</span>
         <span class="n">val</span> <span class="o">=</span> <span class="n">work</span><span class="p">.</span><span class="n">num1</span> <span class="o">+</span> <span class="n">work</span><span class="p">.</span><span class="n">num2</span><span class="p">;</span>
         <span class="k">break</span><span class="p">;</span>
@@ -502,13 +502,13 @@ All Apache Thrift tutorials require that you have:
     <span class="n">print</span><span class="p">(</span><span class="err">'</span><span class="n">zip</span><span class="p">()</span><span class="err">'</span><span class="p">);</span>
   <span class="p">}</span>
 
-  <span class="n">Future</span><span class="o">&lt;</span><span class="n">SharedStruct</span><span class="o">&gt;</span> <span class="n">getStruct</span><span class="p">(</span><span class="kt">int</span> <span class="n">key</span><span class="p">)</span> <span class="n">async</span> <span class="p">{</span>
+  <span class="n">Future</span><span class="o">&lt;</span><span class="n">SharedStruct</span><span class="o">?&gt;</span> <span class="n">getStruct</span><span class="p">(</span><span class="kt">int</span> <span class="n">key</span><span class="p">)</span> <span class="n">async</span> <span class="p">{</span>
     <span class="n">print</span><span class="p">(</span><span class="err">'</span><span class="n">getStruct</span><span class="p">(</span><span class="err">$</span><span class="n">key</span><span class="p">)</span><span class="err">'</span><span class="p">);</span>
 
     <span class="k">return</span> <span class="n">_log</span><span class="p">[</span><span class="n">key</span><span class="p">];</span>
   <span class="p">}</span>
 <span class="p">}</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/dart/server/bin/main.dart">tutorial/dart/server/bin/main.dart</a>
 </p>
@@ -545,7 +545,7 @@ All Apache Thrift tutorials require that you have:
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/tutorial/delphi.html b/output/tutorial/delphi.html
index 9a1225e..912e61c 100644
--- a/output/tutorial/delphi.html
+++ b/output/tutorial/delphi.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -71,7 +71,7 @@ All Apache Thrift tutorials require that you have:
 
 <h3 id="client">Client</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="k">program</span> <span class="n">DelphiClient</span><span class="p">;</span>
+<figure class="highlight"><pre><code class="language-pascal" data-lang="pascal"><span class="k">program</span> <span class="n">DelphiClient</span><span class="p">;</span>
 
 <span class="cm">{$APPTYPE CONSOLE}</span>
 <span class="cm">{$D 'Copyright (c) 2012 The Apache Software Foundation'}</span>
@@ -167,14 +167,14 @@ All Apache Thrift tutorials require that you have:
   <span class="k">try</span>
     <span class="n">DelphiTutorialClient</span><span class="p">.</span><span class="n">Main</span><span class="p">;</span>
   <span class="k">except</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/delphi/DelphiClient/DelphiClient.dpr">tutorial/delphi/DelphiClient/DelphiClient.dpr</a>
 </p>
 
 <h3 id="server">Server</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="k">program</span> <span class="n">DelphiServer</span><span class="p">;</span>
+<figure class="highlight"><pre><code class="language-pascal" data-lang="pascal"><span class="k">program</span> <span class="n">DelphiServer</span><span class="p">;</span>
 
 <span class="cm">{$APPTYPE CONSOLE}</span>
 <span class="cm">{$D 'Copyright (c) 2012 The Apache Software Foundation'}</span>
@@ -329,7 +329,7 @@ All Apache Thrift tutorials require that you have:
   <span class="k">except</span>
     <span class="k">on</span> <span class="n">E</span><span class="p">:</span> <span class="n">Exception</span> <span class="k">do</span>
       <span class="k">Writeln</span><span class="p">(</span><span class="n">E</span><span class="p">.</span><span class="n">ClassName</span><span class="p">,</span> <span class="s">': '</span><span class="p">,</span> <span class="n">E</span><span class="p">.</span><span class="k">Message</span><span class="p">);</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/delphi/DelphiServer/DelphiServer.dpr">tutorial/delphi/DelphiServer/DelphiServer.dpr</a>
 </p>
@@ -365,7 +365,7 @@ All Apache Thrift tutorials require that you have:
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/tutorial/go.html b/output/tutorial/go.html
index 48564e3..b63c98c 100644
--- a/output/tutorial/go.html
+++ b/output/tutorial/go.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -75,7 +75,7 @@ To use a specific version of the library, either clone the repository for that v
 
 <h3 id="client">Client</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="k">import</span> <span class="p">(</span>
+<figure class="highlight"><pre><code class="language-cpp" data-lang="cpp"><span class="k">import</span> <span class="p">(</span>
 	<span class="s">"context"</span>
 	<span class="s">"fmt"</span>
 
@@ -153,14 +153,14 @@ To use a specific version of the library, either clone the repository for that v
 	<span class="n">oprot</span> <span class="o">:=</span> <span class="n">protocolFactory</span><span class="p">.</span><span class="n">GetProtocol</span><span class="p">(</span><span class="n">transport</span><span class="p">)</span>
 	<span class="k">return</span> <span class="n">handleClient</span><span class="p">(</span><span class="n">tutorial</span><span class="p">.</span><span class="n">NewCalculatorClient</span><span class="p">(</span><span class="n">thrift</span><span class="p">.</span><span class="n">NewTStandardClient</span><span class="p">(</span><span class="n">iprot</span><span class="p">,</span> <span class="n">oprot</span><span class="p">)))</span>
 <span class="p">}</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/go/src/client.go">tutorial/go/src/client.go</a>
 </p>
 
 <h3 id="server">Server</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="k">import</span> <span class="p">(</span>
+<figure class="highlight"><pre><code class="language-cpp" data-lang="cpp"><span class="k">import</span> <span class="p">(</span>
 	<span class="s">"crypto/tls"</span>
 	<span class="s">"fmt"</span>
 
@@ -193,14 +193,14 @@ To use a specific version of the library, either clone the repository for that v
 
 	<span class="n">fmt</span><span class="p">.</span><span class="n">Println</span><span class="p">(</span><span class="s">"Starting the simple server... on "</span><span class="p">,</span> <span class="n">addr</span><span class="p">)</span>
 	<span class="k">return</span> <span class="n">server</span><span class="p">.</span><span class="n">Serve</span><span class="p">()</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/go/src/server.go">tutorial/go/src/server.go</a>
 </p>
 
 <h3 id="server-handler">Server Handler</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="k">import</span> <span class="p">(</span>
+<figure class="highlight"><pre><code class="language-cpp" data-lang="cpp"><span class="k">import</span> <span class="p">(</span>
 	<span class="s">"context"</span>
 	<span class="s">"fmt"</span>
 	<span class="s">"strconv"</span>
@@ -278,7 +278,7 @@ To use a specific version of the library, either clone the repository for that v
 	<span class="n">fmt</span><span class="p">.</span><span class="n">Print</span><span class="p">(</span><span class="s">"zip()</span><span class="se">\n</span><span class="s">"</span><span class="p">)</span>
 	<span class="k">return</span> <span class="n">nil</span>
 <span class="p">}</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/go/src/handler.go">tutorial/go/src/handler.go</a>
 </p>
@@ -320,7 +320,7 @@ To use a specific version of the library, either clone the repository for that v
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/tutorial/graphviz.html b/output/tutorial/graphviz.html
index 945be96..bc350fc 100644
--- a/output/tutorial/graphviz.html
+++ b/output/tutorial/graphviz.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -127,7 +127,7 @@ generator to render those exceptions arrows (i.e. function throws) by using the
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/tutorial/haxe.html b/output/tutorial/haxe.html
index 8062977..a4746f3 100644
--- a/output/tutorial/haxe.html
+++ b/output/tutorial/haxe.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -73,7 +73,7 @@ All Apache Thrift tutorials require that you have:
 <p>For this tutorial, we put both the server and the client main code into one single program.
 Depending on the arguments passed, it runs as a server or as a client program.</p>
 
-<div class="highlight"><pre class="codehilite"><code>package;
+<figure class="highlight"><pre><code class="language-text" data-lang="text">package;
 
 import org.apache.thrift.*;
 import org.apache.thrift.protocol.*;
@@ -386,7 +386,7 @@ class Main {
         }
 
         // optional: layered transport
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/haxe/src/Main.hx">tutorial/haxe/src/Main.hx</a>
 </p>
@@ -397,7 +397,7 @@ class Main {
 <p>As the name suggests, the service handler implements the Thrift service on the server side.
 The code to achieve this is as follows:</p>
 
-<div class="highlight"><pre class="codehilite"><code>package;
+<figure class="highlight"><pre><code class="language-text" data-lang="text">package;
 
 import haxe.ds.IntMap;
 
@@ -479,7 +479,7 @@ class CalculatorHandler implements Calculator_service {
     }
 
 }
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/haxe/src/CalculatorHandler.hx">tutorial/haxe/src/CalculatorHandler.hx</a>
 </p>
@@ -519,7 +519,7 @@ there is currently no way to pass command line arguments to the program.</p>
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/tutorial/index.html b/output/tutorial/index.html
index ddd1ce1..02a1842 100644
--- a/output/tutorial/index.html
+++ b/output/tutorial/index.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -112,8 +112,6 @@ Both files will be used to demonstrate how to build a Thrift client and server p
 
 
 
-
-
 
 
 
@@ -147,9 +145,9 @@ Both files will be used to demonstrate how to build a Thrift client and server p
 
 
 
-  <li><a href="/tutorial/dart.html">Dart</a></li>
 
 
+  <li><a href="/tutorial/dart.html">Dart</a></li>
 
 
 
@@ -173,9 +171,9 @@ Both files will be used to demonstrate how to build a Thrift client and server p
 
 
 
-  <li><a href="/tutorial/graphviz.html">Graphviz</a></li>
 
 
+  <li><a href="/tutorial/graphviz.html">Graphviz</a></li>
 
 
 
@@ -266,6 +264,8 @@ Both files will be used to demonstrate how to build a Thrift client and server p
 
 
 
+
+
 </ul>
 
 
@@ -295,7 +295,7 @@ Both files will be used to demonstrate how to build a Thrift client and server p
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/tutorial/java.html b/output/tutorial/java.html
index d696afe..8fe96b1 100644
--- a/output/tutorial/java.html
+++ b/output/tutorial/java.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -68,7 +68,7 @@ All Apache Thrift tutorials require that you have:
 
 <h3 id="client">Client</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="cm">/*
+<figure class="highlight"><pre><code class="language-java" data-lang="java"><span class="cm">/*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements. See the NOTICE file
  * distributed with this work for additional information
@@ -174,14 +174,14 @@ All Apache Thrift tutorials require that you have:
     <span class="nc">System</span><span class="o">.</span><span class="na">out</span><span class="o">.</span><span class="na">println</span><span class="o">(</span><span class="s">"Check log: "</span> <span class="o">+</span> <span class="n">log</span><span class="o">.</span><span class="na">value</span><span class="o">);</span>
   <span class="o">}</span>
 <span class="o">}</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/java/src/JavaClient.java">tutorial/java/src/JavaClient.java</a>
 </p>
 
 <h3 id="calculatorhandler">CalculatorHandler</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="cm">/*
+<figure class="highlight"><pre><code class="language-java" data-lang="java"><span class="cm">/*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements. See the NOTICE file
  * distributed with this work for additional information
@@ -273,14 +273,14 @@ All Apache Thrift tutorials require that you have:
 
 <span class="o">}</span>
 
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/java/src/CalculatorHandler.java">tutorial/java/src/CalculatorHandler.java</a>
 </p>
 
 <h3 id="server">Server</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="cm">/*
+<figure class="highlight"><pre><code class="language-java" data-lang="java"><span class="cm">/*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements. See the NOTICE file
  * distributed with this work for additional information
@@ -390,7 +390,7 @@ All Apache Thrift tutorials require that you have:
     <span class="o">}</span>
   <span class="o">}</span>
 <span class="o">}</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/java/src/JavaServer.java">tutorial/java/src/JavaServer.java</a>
 </p>
@@ -425,7 +425,7 @@ All Apache Thrift tutorials require that you have:
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/tutorial/js.html b/output/tutorial/js.html
index ef09335..4fbb705 100644
--- a/output/tutorial/js.html
+++ b/output/tutorial/js.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -234,7 +234,7 @@ i32 calculate(1:i32 logid, 2:Work w) throws (1:InvalidOperation ouch),
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/tutorial/netstd.html b/output/tutorial/netstd.html
index 0e7fefa..27ef1a9 100644
--- a/output/tutorial/netstd.html
+++ b/output/tutorial/netstd.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -68,7 +68,7 @@ All Apache Thrift tutorials require that you have:
 
 <h3 id="client">Client</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="k">using</span> <span class="n">Microsoft</span><span class="p">.</span><span class="n">Extensions</span><span class="p">.</span><span class="n">Logging</span><span class="p">;</span>
+<figure class="highlight"><pre><code class="language-cpp" data-lang="cpp"><span class="k">using</span> <span class="n">Microsoft</span><span class="p">.</span><span class="n">Extensions</span><span class="p">.</span><span class="n">Logging</span><span class="p">;</span>
 <span class="k">using</span> <span class="n">System</span><span class="p">;</span>
 <span class="k">using</span> <span class="n">System</span><span class="p">.</span><span class="n">Diagnostics</span><span class="p">;</span>
 <span class="k">using</span> <span class="n">System</span><span class="p">.</span><span class="n">IO</span><span class="p">;</span>
@@ -407,14 +407,14 @@ All Apache Thrift tutorials require that you have:
 
             <span class="n">var</span> <span class="n">work</span> <span class="o">=</span> <span class="k">new</span> <span class="n">Work</span>
             <span class="p">{</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/netstd/Client/Program.cs">tutorial/netstd/Client/Program.cs</a>
 </p>
 
 <h3 id="server">Server</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="k">using</span> <span class="n">Microsoft</span><span class="p">.</span><span class="n">AspNetCore</span><span class="p">.</span><span class="n">Builder</span><span class="p">;</span>
+<figure class="highlight"><pre><code class="language-cpp" data-lang="cpp"><span class="k">using</span> <span class="n">Microsoft</span><span class="p">.</span><span class="n">AspNetCore</span><span class="p">.</span><span class="n">Builder</span><span class="p">;</span>
 <span class="k">using</span> <span class="n">Microsoft</span><span class="p">.</span><span class="n">AspNetCore</span><span class="p">.</span><span class="n">Hosting</span><span class="p">;</span>
 <span class="k">using</span> <span class="n">Microsoft</span><span class="p">.</span><span class="n">Extensions</span><span class="p">.</span><span class="n">Configuration</span><span class="p">;</span>
 <span class="k">using</span> <span class="n">Microsoft</span><span class="p">.</span><span class="n">Extensions</span><span class="p">.</span><span class="n">DependencyInjection</span><span class="p">;</span>
@@ -827,7 +827,7 @@ All Apache Thrift tutorials require that you have:
                             <span class="k">throw</span> <span class="n">io</span><span class="p">;</span>
                         <span class="p">}</span>
                         <span class="n">val</span> <span class="o">=</span> <span class="n">w</span><span class="p">.</span><span class="n">Num1</span> <span class="o">/</span> <span class="n">w</span><span class="p">.</span><span class="n">Num2</span><span class="p">;</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/netstd/Server/Program.cs">tutorial/netstd/Server/Program.cs</a>
 </p>
@@ -863,7 +863,7 @@ All Apache Thrift tutorials require that you have:
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/tutorial/nodejs.html b/output/tutorial/nodejs.html
index 9c025f4..8c37bbc 100644
--- a/output/tutorial/nodejs.html
+++ b/output/tutorial/nodejs.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -68,7 +68,7 @@ All Apache Thrift tutorials require that you have:
 
 <h3 id="client">Client</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="kd">var</span> <span class="nx">Calculator</span> <span class="o">=</span> <span class="nf">require</span><span class="p">(</span><span class="dl">"</span><span class="s2">./gen-nodejs/Calculator</span><span class="dl">"</span><span class="p">);</span>
+<figure class="highlight"><pre><code class="language-js" data-lang="js"><span class="kd">var</span> <span class="nx">Calculator</span> <span class="o">=</span> <span class="nf">require</span><span class="p">(</span><span class="dl">"</span><span class="s2">./gen-nodejs/Calculator</span><span class="dl">"</span><span class="p">);</span>
 <span class="kd">var</span> <span class="nx">ttypes</span> <span class="o">=</span> <span class="nf">require</span><span class="p">(</span><span class="dl">"</span><span class="s2">./gen-nodejs/tutorial_types</span><span class="dl">"</span><span class="p">);</span>
 <span class="kd">const</span> <span class="nx">assert</span> <span class="o">=</span> <span class="nf">require</span><span class="p">(</span><span class="dl">"</span><span class="s2">assert</span><span class="dl">"</span><span class="p">);</span>
 
@@ -122,14 +122,14 @@ All Apache Thrift tutorials require that you have:
     <span class="nx">connection</span><span class="p">.</span><span class="nf">end</span><span class="p">();</span>
   <span class="p">});</span>
 <span class="p">});</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/nodejs/NodeClient.js">tutorial/nodejs/NodeClient.js</a>
 </p>
 
 <h3 id="server">Server</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="kd">var</span> <span class="nx">Calculator</span> <span class="o">=</span> <span class="nf">require</span><span class="p">(</span><span class="dl">"</span><span class="s2">./gen-nodejs/Calculator</span><span class="dl">"</span><span class="p">);</span>
+<figure class="highlight"><pre><code class="language-js" data-lang="js"><span class="kd">var</span> <span class="nx">Calculator</span> <span class="o">=</span> <span class="nf">require</span><span class="p">(</span><span class="dl">"</span><span class="s2">./gen-nodejs/Calculator</span><span class="dl">"</span><span class="p">);</span>
 <span class="kd">var</span> <span class="nx">ttypes</span> <span class="o">=</span> <span class="nf">require</span><span class="p">(</span><span class="dl">"</span><span class="s2">./gen-nodejs/tutorial_types</span><span class="dl">"</span><span class="p">);</span>
 <span class="kd">var</span> <span class="nx">SharedStruct</span> <span class="o">=</span> <span class="nf">require</span><span class="p">(</span><span class="dl">"</span><span class="s2">./gen-nodejs/shared_types</span><span class="dl">"</span><span class="p">).</span><span class="nx">SharedStruct</span><span class="p">;</span>
 
@@ -192,7 +192,7 @@ All Apache Thrift tutorials require that you have:
 <span class="p">});</span>
 
 <span class="nx">server</span><span class="p">.</span><span class="nf">listen</span><span class="p">(</span><span class="mi">9090</span><span class="p">);</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/nodejs/NodeServer.js">tutorial/nodejs/NodeServer.js</a>
 </p>
@@ -227,7 +227,7 @@ All Apache Thrift tutorials require that you have:
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/tutorial/ocaml.html b/output/tutorial/ocaml.html
index 6d44318..2ff3369 100644
--- a/output/tutorial/ocaml.html
+++ b/output/tutorial/ocaml.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -68,7 +68,7 @@ All Apache Thrift tutorials require that you have:
 
 <h3 id="client">Client</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="n">open</span> <span class="n">Arg</span>
+<figure class="highlight"><pre><code class="language-cpp" data-lang="cpp"><span class="n">open</span> <span class="n">Arg</span>
 <span class="n">open</span> <span class="n">Thrift</span>
 <span class="n">open</span> <span class="n">Tutorial_types</span>
 <span class="n">open</span> <span class="n">Shared_types</span>
@@ -123,14 +123,14 @@ All Apache Thrift tutorials require that you have:
 <span class="p">;;</span>
 
 <span class="n">doclient</span><span class="p">();;</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/ocaml/CalcClient.ml">tutorial/ocaml/CalcClient.ml</a>
 </p>
 
 <h3 id="server">Server</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="n">open</span> <span class="n">Arg</span>
+<figure class="highlight"><pre><code class="language-cpp" data-lang="cpp"><span class="n">open</span> <span class="n">Arg</span>
 <span class="n">open</span> <span class="n">Thrift</span>
 <span class="n">open</span> <span class="n">Tutorial_types</span>
 <span class="n">open</span> <span class="n">Shared_types</span>
@@ -200,7 +200,7 @@ All Apache Thrift tutorials require that you have:
 <span class="p">;;</span>
 
 <span class="n">doserver</span><span class="p">();;</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/ocaml/CalcServer.ml">tutorial/ocaml/CalcServer.ml</a>
 </p>
@@ -235,7 +235,7 @@ All Apache Thrift tutorials require that you have:
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/tutorial/perl.html b/output/tutorial/perl.html
index 0f8f3c8..6428a58 100644
--- a/output/tutorial/perl.html
+++ b/output/tutorial/perl.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -68,7 +68,7 @@ All Apache Thrift tutorials require that you have:
 
 <h3 id="client">Client</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="c1">#</span>
+<figure class="highlight"><pre><code class="language-perl" data-lang="perl"><span class="c1">#</span>
 
 <span class="k">use</span> <span class="nv">strict</span><span class="p">;</span>
 <span class="k">use</span> <span class="nv">warnings</span><span class="p">;</span>
@@ -128,14 +128,14 @@ All Apache Thrift tutorials require that you have:
 
     <span class="nv">$transport</span><span class="o">-&gt;</span><span class="nb">close</span><span class="p">();</span>
 
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/perl/PerlClient.pl">tutorial/perl/PerlClient.pl</a>
 </p>
 
 <h3 id="server">Server</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="c1">#</span>
+<figure class="highlight"><pre><code class="language-perl" data-lang="perl"><span class="c1">#</span>
 
 <span class="k">use</span> <span class="nv">strict</span><span class="p">;</span>
 <span class="k">use</span> <span class="nv">lib</span> <span class="p">'</span><span class="s1">../../lib/perl/lib</span><span class="p">';</span>
@@ -201,7 +201,7 @@ All Apache Thrift tutorials require that you have:
   <span class="p">}</span>
 
   <span class="k">my</span> <span class="nv">$log</span> <span class="o">=</span> <span class="nn">shared::</span><span class="nv">SharedStruct</span><span class="o">-&gt;</span><span class="k">new</span><span class="p">();</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/perl/PerlServer.pl">tutorial/perl/PerlServer.pl</a>
 </p>
@@ -236,7 +236,7 @@ All Apache Thrift tutorials require that you have:
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/tutorial/php.html b/output/tutorial/php.html
index 772e844..26a578c 100644
--- a/output/tutorial/php.html
+++ b/output/tutorial/php.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -68,7 +68,7 @@ All Apache Thrift tutorials require that you have:
 
 <h3 id="client">Client</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="cp">&lt;?php</span>
+<figure class="highlight"><pre><code class="language-php" data-lang="php"><span class="cp">&lt;?php</span>
 
 <span class="kn">namespace</span> <span class="nn">tutorial\php</span><span class="p">;</span>
 
@@ -158,14 +158,14 @@ All Apache Thrift tutorials require that you have:
 <span class="p">}</span>
 
 <span class="cp">?&gt;</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/php/PhpClient.php">tutorial/php/PhpClient.php</a>
 </p>
 
 <h3 id="server">Server</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="cp">&lt;?php</span>
+<figure class="highlight"><pre><code class="language-php" data-lang="php"><span class="cp">&lt;?php</span>
 
 <span class="kn">namespace</span> <span class="nn">tutorial\php</span><span class="p">;</span>
 
@@ -294,7 +294,7 @@ All Apache Thrift tutorials require that you have:
 <span class="nv">$transport</span><span class="o">-&gt;</span><span class="nf">open</span><span class="p">();</span>
 <span class="nv">$processor</span><span class="o">-&gt;</span><span class="nf">process</span><span class="p">(</span><span class="nv">$protocol</span><span class="p">,</span> <span class="nv">$protocol</span><span class="p">);</span>
 <span class="nv">$transport</span><span class="o">-&gt;</span><span class="nf">close</span><span class="p">();</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/php/PhpServer.php">tutorial/php/PhpServer.php</a>
 </p>
@@ -329,7 +329,7 @@ All Apache Thrift tutorials require that you have:
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/tutorial/py.html b/output/tutorial/py.html
index 5b1823b..711ac19 100644
--- a/output/tutorial/py.html
+++ b/output/tutorial/py.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -68,7 +68,7 @@ All Apache Thrift tutorials require that you have:
 
 <h3 id="client">Client</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="kn">import</span> <span class="n">sys</span>
+<figure class="highlight"><pre><code class="language-py" data-lang="py"><span class="kn">import</span> <span class="n">sys</span>
 <span class="kn">import</span> <span class="n">glob</span>
 <span class="n">sys</span><span class="p">.</span><span class="n">path</span><span class="p">.</span><span class="nf">append</span><span class="p">(</span><span class="sh">'</span><span class="s">gen-py</span><span class="sh">'</span><span class="p">)</span>
 <span class="n">sys</span><span class="p">.</span><span class="n">path</span><span class="p">.</span><span class="nf">insert</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span> <span class="n">glob</span><span class="p">.</span><span class="nf">glob</span><span class="p">(</span><span class="sh">'</span><span class="s">../../lib/py/build/lib*</span><span class="sh">'</span><span class="p">)[</span><span class="mi">0</span><span class="p">])</span>
@@ -130,14 +130,14 @@ All Apache Thrift tutorials require that you have:
     <span class="c1"># Close!
 </span>    <span class="n">transport</span><span class="p">.</span><span class="nf">close</span><span class="p">()</span>
 
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/py/PythonClient.py">tutorial/py/PythonClient.py</a>
 </p>
 
 <h3 id="server">Server</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="kn">import</span> <span class="n">glob</span>
+<figure class="highlight"><pre><code class="language-py" data-lang="py"><span class="kn">import</span> <span class="n">glob</span>
 <span class="kn">import</span> <span class="n">sys</span>
 <span class="n">sys</span><span class="p">.</span><span class="n">path</span><span class="p">.</span><span class="nf">append</span><span class="p">(</span><span class="sh">'</span><span class="s">gen-py</span><span class="sh">'</span><span class="p">)</span>
 <span class="n">sys</span><span class="p">.</span><span class="n">path</span><span class="p">.</span><span class="nf">insert</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span> <span class="n">glob</span><span class="p">.</span><span class="nf">glob</span><span class="p">(</span><span class="sh">'</span><span class="s">../../lib/py/build/lib*</span><span class="sh">'</span><span class="p">)[</span><span class="mi">0</span><span class="p">])</span>
@@ -213,7 +213,7 @@ All Apache Thrift tutorials require that you have:
     <span class="nf">print</span><span class="p">(</span><span class="sh">'</span><span class="s">Starting the server...</span><span class="sh">'</span><span class="p">)</span>
     <span class="n">server</span><span class="p">.</span><span class="nf">serve</span><span class="p">()</span>
     <span class="nf">print</span><span class="p">(</span><span class="sh">'</span><span class="s">done.</span><span class="sh">'</span><span class="p">)</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/py/PythonServer.py">tutorial/py/PythonServer.py</a>
 </p>
@@ -248,7 +248,7 @@ All Apache Thrift tutorials require that you have:
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>
diff --git a/output/tutorial/rb.html b/output/tutorial/rb.html
index 7ecd955..d958a6f 100644
--- a/output/tutorial/rb.html
+++ b/output/tutorial/rb.html
@@ -7,7 +7,7 @@
 
     <link href="/static/images/favicon.ico" rel="shortcut icon" />
     <link href="/static/css/style.css" rel="stylesheet" type="text/css" />
-    <link href="/static/css/codehilite.css" rel="stylesheet" type="text/css" />
+    <link href="/static/css/rouge.css" rel="stylesheet" type="text/css" />
     <link href="/static/css/bootstrap.css" media="screen, projection" rel="stylesheet" type="text/css" />
     <link href="/static/css/thrift.css" media="screen, projection" rel="stylesheet" type="text/css" />
 
@@ -68,7 +68,7 @@ All Apache Thrift tutorials require that you have:
 
 <h3 id="client">Client</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="vg">$:</span><span class="p">.</span><span class="nf">push</span><span class="p">(</span><span class="s1">'gen-rb'</span><span class="p">)</span>
+<figure class="highlight"><pre><code class="language-ruby" data-lang="ruby"><span class="vg">$:</span><span class="p">.</span><span class="nf">push</span><span class="p">(</span><span class="s1">'gen-rb'</span><span class="p">)</span>
 <span class="vg">$:</span><span class="p">.</span><span class="nf">unshift</span> <span class="s1">'../../lib/rb/lib'</span>
 
 <span class="nb">require</span> <span class="s1">'thrift'</span>
@@ -87,10 +87,10 @@ All Apache Thrift tutorials require that you have:
   <span class="n">client</span><span class="p">.</span><span class="nf">ping</span><span class="p">()</span>
   <span class="nb">print</span> <span class="s2">"ping()</span><span class="se">\n</span><span class="s2">"</span>
 
-  <span class="n">sum</span> <span class="o">=</span> <span class="n">client</span><span class="p">.</span><span class="nf">add</span><span class="p">(</span><span class="mi">1</span><span class="p">,</span><span class="mi">1</span><span class="p">)</span>
+  <span class="n">sum</span> <span class="o">=</span> <span class="n">client</span><span class="p">.</span><span class="nf">add</span><span class="p">(</span><span class="mi">1</span><span class="p">,</span> <span class="mi">1</span><span class="p">)</span>
   <span class="nb">print</span> <span class="s2">"1+1="</span><span class="p">,</span> <span class="n">sum</span><span class="p">,</span> <span class="s2">"</span><span class="se">\n</span><span class="s2">"</span>
 
-  <span class="n">sum</span> <span class="o">=</span> <span class="n">client</span><span class="p">.</span><span class="nf">add</span><span class="p">(</span><span class="mi">1</span><span class="p">,</span><span class="mi">4</span><span class="p">)</span>
+  <span class="n">sum</span> <span class="o">=</span> <span class="n">client</span><span class="p">.</span><span class="nf">add</span><span class="p">(</span><span class="mi">1</span><span class="p">,</span> <span class="mi">4</span><span class="p">)</span>
   <span class="nb">print</span> <span class="s2">"1+4="</span><span class="p">,</span> <span class="n">sum</span><span class="p">,</span> <span class="s2">"</span><span class="se">\n</span><span class="s2">"</span>
 
   <span class="n">work</span> <span class="o">=</span> <span class="no">Work</span><span class="p">.</span><span class="nf">new</span><span class="p">()</span>
@@ -122,14 +122,14 @@ All Apache Thrift tutorials require that you have:
 <span class="k">rescue</span> <span class="no">Thrift</span><span class="o">::</span><span class="no">Exception</span> <span class="o">=&gt;</span> <span class="n">tx</span>
   <span class="nb">print</span> <span class="s1">'Thrift::Exception: '</span><span class="p">,</span> <span class="n">tx</span><span class="p">.</span><span class="nf">message</span><span class="p">,</span> <span class="s2">"</span><span class="se">\n</span><span class="s2">"</span>
 <span class="k">end</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/rb/RubyClient.rb">tutorial/rb/RubyClient.rb</a>
 </p>
 
 <h3 id="server">Server</h3>
 
-<div class="highlight"><pre class="codehilite"><code><span class="vg">$:</span><span class="p">.</span><span class="nf">push</span><span class="p">(</span><span class="s1">'gen-rb'</span><span class="p">)</span>
+<figure class="highlight"><pre><code class="language-ruby" data-lang="ruby"><span class="vg">$:</span><span class="p">.</span><span class="nf">push</span><span class="p">(</span><span class="s1">'gen-rb'</span><span class="p">)</span>
 <span class="vg">$:</span><span class="p">.</span><span class="nf">unshift</span> <span class="s1">'../../lib/rb/lib'</span>
 
 <span class="nb">require</span> <span class="s1">'thrift'</span>
@@ -152,7 +152,7 @@ All Apache Thrift tutorials require that you have:
   <span class="k">end</span>
 
   <span class="k">def</span> <span class="nf">calculate</span><span class="p">(</span><span class="n">logid</span><span class="p">,</span> <span class="n">work</span><span class="p">)</span>
-    <span class="nb">print</span> <span class="s2">"calculate("</span><span class="p">,</span> <span class="n">logid</span><span class="p">,</span> <span class="s2">", {"</span><span class="p">,</span> <span class="n">work</span><span class="p">.</span><span class="nf">op</span><span class="p">,</span> <span class="s2">","</span><span class="p">,</span> <span class="n">work</span><span class="p">.</span><span class="nf">num1</span><span class="p">,</span> <span class="s2">","</span><span [...]
+    <span class="nb">print</span> <span class="s2">"calculate("</span><span class="p">,</span> <span class="n">logid</span><span class="p">,</span> <span class="s2">", {"</span><span class="p">,</span> <span class="n">work</span><span class="p">.</span><span class="nf">op</span><span class="p">,</span> <span class="s2">","</span><span class="p">,</span> <span class="n">work</span><span class="p">.</span><span class="nf">num1</span><span class="p">,</span> <span class="s2">","</span><span [...]
     <span class="k">if</span> <span class="n">work</span><span class="p">.</span><span class="nf">op</span> <span class="o">==</span> <span class="no">Operation</span><span class="o">::</span><span class="no">ADD</span>
       <span class="n">val</span> <span class="o">=</span> <span class="n">work</span><span class="p">.</span><span class="nf">num1</span> <span class="o">+</span> <span class="n">work</span><span class="p">.</span><span class="nf">num2</span>
     <span class="k">elsif</span> <span class="n">work</span><span class="p">.</span><span class="nf">op</span> <span class="o">==</span> <span class="no">Operation</span><span class="o">::</span><span class="no">SUBTRACT</span>
@@ -203,7 +203,7 @@ All Apache Thrift tutorials require that you have:
 <span class="nb">puts</span> <span class="s2">"Starting the server..."</span>
 <span class="n">server</span><span class="p">.</span><span class="nf">serve</span><span class="p">()</span>
 <span class="nb">puts</span> <span class="s2">"done."</span>
-</code></pre></div>
+</code></pre></figure>
 <p class="snippet_footer">This snippet was generated by Apache Thrift's <strong>source tree docs</strong>:
 <a href="https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;hb=HEAD;f=tutorial/rb/RubyServer.rb">tutorial/rb/RubyServer.rb</a>
 </p>
@@ -238,7 +238,7 @@ All Apache Thrift tutorials require that you have:
       </div>
       <div class="span6">
         <a href="http://www.apache.org/"><img src="/static/images/feather.svg" onerror="this.src='/static/images/feather.png';this.onerror=null;" /></a>
-        Copyright &copy; 2025 <a href="http://www.apache.org/">Apache Software Foundation</a>.
+        Copyright &copy; 2026 <a href="http://www.apache.org/">Apache Software Foundation</a>.
         Licensed under the <a href="http://www.apache.org/licenses/">Apache License v2.0</a>.
         Apache, Apache Thrift, and the Apache feather logo are trademarks of The Apache Software Foundation.
       </div>