Update nu-validator from 20.x to 26.x (#1499)

Also fix incorrect heading level in two Pkldoc tests, as this issue is
now flagged by nu-validator.
This commit is contained in:
odenix
2026-04-06 19:25:00 -07:00
committed by GitHub
parent 1251843169
commit dcd60b8194
9 changed files with 40 additions and 38 deletions

View File

@@ -1,6 +1,6 @@
/// The greatest breakthrough since ever.
///
/// ### Installation
/// ## Installation
///
/// Just follow these simple steps:
///
@@ -18,7 +18,7 @@
///
/// 😀😀😀 emoji day 😎😎😎 don't get 😡😡😡
///
/// ### Code
/// ## Code
///
/// The code is beautiful:
///
@@ -39,7 +39,7 @@
/// }
/// ```
///
/// ### Random Tips
/// ## Random Tips
///
/// - don't give up
/// - just don't

View File

@@ -1,6 +1,6 @@
/// The greatest breakthrough since ever.
///
/// ### Installation
/// ## Installation
///
/// Just follow these simple steps:
///
@@ -18,7 +18,7 @@
///
/// 😀😀😀 emoji day 😎😎😎 don't get 😡😡😡
///
/// ### Code
/// ## Code
///
/// The code is beautiful:
///

View File

@@ -48,7 +48,7 @@
<dt class="runtime-data hidden">All versions:</dt>
<dd id="known-versions" class="runtime-data hidden"></dd>
</dl>
<div class="doc-comment expandable hidden collapsed"><h3>Installation</h3>
<div class="doc-comment expandable hidden collapsed"><h2>Installation</h2>
<p>Just follow these simple steps:</p>
<ol>
<li>Install it
@@ -66,7 +66,7 @@ age = 42
</ol>
<p>Let me <strong>emphasize</strong> how <em>simple</em> this is.</p>
<p>😀😀😀 emoji day 😎😎😎 don't get 😡😡😡</p>
<h3>Code</h3>
<h2>Code</h2>
<p>The code is beautiful:</p>
<pre><code>/// example module
module foo.bar
@@ -83,7 +83,7 @@ class Person {
age: Int
}
</code></pre>
<h3>Random Tips</h3>
<h2>Random Tips</h2>
<ul>
<li>don't give up
<ul>

View File

@@ -47,7 +47,7 @@
<dt class="runtime-data hidden">All versions:</dt>
<dd id="known-versions" class="runtime-data hidden"></dd>
</dl>
<div class="doc-comment expandable hidden collapsed"><h3>Installation</h3>
<div class="doc-comment expandable hidden collapsed"><h2>Installation</h2>
<p>Just follow these simple steps:</p>
<ol>
<li>Install it
@@ -65,7 +65,7 @@ age = 42
</ol>
<p>Let me <strong>emphasize</strong> how <em>simple</em> this is.</p>
<p>😀😀😀 emoji day 😎😎😎 don't get 😡😡😡</p>
<h3>Code</h3>
<h2>Code</h2>
<p>The code is beautiful:</p>
<pre><code>/// example module
module foo.bar

View File

@@ -48,7 +48,7 @@
<dt class="runtime-data hidden">All versions:</dt>
<dd id="known-versions" class="runtime-data hidden"></dd>
</dl>
<div class="doc-comment expandable hidden collapsed"><h3>Installation</h3>
<div class="doc-comment expandable hidden collapsed"><h2>Installation</h2>
<p>Just follow these simple steps:</p>
<ol>
<li>Install it
@@ -66,7 +66,7 @@ age = 42
</ol>
<p>Let me <strong>emphasize</strong> how <em>simple</em> this is.</p>
<p>😀😀😀 emoji day 😎😎😎 don't get 😡😡😡</p>
<h3>Code</h3>
<h2>Code</h2>
<p>The code is beautiful:</p>
<pre><code>/// example module
module foo.bar
@@ -83,7 +83,7 @@ class Person {
age: Int
}
</code></pre>
<h3>Random Tips</h3>
<h2>Random Tips</h2>
<ul>
<li>don't give up
<ul>

View File

@@ -47,7 +47,7 @@
<dt class="runtime-data hidden">All versions:</dt>
<dd id="known-versions" class="runtime-data hidden"></dd>
</dl>
<div class="doc-comment expandable hidden collapsed"><h3>Installation</h3>
<div class="doc-comment expandable hidden collapsed"><h2>Installation</h2>
<p>Just follow these simple steps:</p>
<ol>
<li>Install it
@@ -65,7 +65,7 @@ age = 42
</ol>
<p>Let me <strong>emphasize</strong> how <em>simple</em> this is.</p>
<p>😀😀😀 emoji day 😎😎😎 don't get 😡😡😡</p>
<h3>Code</h3>
<h2>Code</h2>
<p>The code is beautiful:</p>
<pre><code>/// example module
module foo.bar