tools: Fix HTML index output

Signed-off-by: David Shah <dave@ds0.me>
diff --git a/tools/html_all.py b/tools/html_all.py
index a796ee6..5f8a438 100755
--- a/tools/html_all.py
+++ b/tools/html_all.py
@@ -109,10 +109,10 @@
                     '{}/{}/index.html'.format(fam, dev),
                     dev
                 )
+        docs_toc += "</ul>"
 
         # No timing stuff for MachXO2 yet.
         if fam in ["ECP5"]:
-            docs_toc += "</ul>"
             docs_toc += "<h4>Cell Timing Documentation</h4>"
             docs_toc += "<ul>"
             for spgrade in ["6", "7", "8", "8_5G"]: