I find it confusing to see multiple <h2> in a row without content. Actually, both have <h3> as content, but those are commented out as actual news is missing ...

See https://gcc.gnu.org/gcc-14/changes.html and see the last entry at the bottom of the page and "Operating Systems" somewhere in between.

And comment, remark or suggestion before I commit this?

Tobias
gcc-14/changes.html: Comment out <h2> of empty sections

diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html
index 1cc68430..6ddd2788 100644
--- a/htdocs/gcc-14/changes.html
+++ b/htdocs/gcc-14/changes.html
@@ -748,7 +748,7 @@ __asm (".global __flmap_lock"  "\n\t"
 <!-- <h3 id="Tile">Tile</h3> -->
 
 <!-- .................................................................. -->
-<h2 id="os">Operating Systems</h2>
+<!-- h2 id="os">Operating Systems</h2 -->
 
 <!-- <h3 id="aix">AIX</h3> -->
 
@@ -994,7 +994,7 @@ it emits:
 </ul>
 
 <!-- .................................................................. -->
-<h2>Other significant improvements</h2>
+<!-- h2>Other significant improvements</h2 -->
 
 <!-- <h3 id="uninitialized">Eliminating uninitialized variables</h3> -->
 

Reply via email to