Documentation/: Applies a stylesheet to static HTML files. I've also tried to put the TOC of each document to the side, where it made sense (in some documents the TOC was actually inside a section so it wasn't possible). In some cases the TOC is built with a table, in others with a <ul> element, so I had to acomodate for this. I also didn't go into collapsing, although this could really help for some long TOCs.

This commit is contained in:
Matias N
2019-05-21 19:13:45 -06:00
committed by Gregory Nutt
parent b49be4bb20
commit 272b5b2636
11 changed files with 93 additions and 51 deletions
+21 -12
View File
@@ -1,18 +1,11 @@
<html>
<head>
<title>NuttShell</title>
<link rel="stylesheet" href="style.css">
</head>
<body background="backgd.gif">
<hr><hr>
<table width ="100%">
<tr align="center" bgcolor="#e4e4e4">
<td>
<h1><big><font color="#3c34ec"><i>NuttShell (NSH)</i></font></big></h1>
<p>Last Updated: February 11, 2019</p>
</td>
</tr>
</table>
<hr><hr>
<div class="container">
<div class="toc">
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
@@ -21,7 +14,7 @@
</tr>
</table>
<center><table width ="80%">
<table width ="80%" class="toc_table">
<tr>
<td>
<table>
@@ -626,7 +619,21 @@
<a href="#index">Index</a>
</td>
</tr>
</table></center>
</table></table>
</div>
<div class="main">
<hr><hr>
<table width ="100%">
<tr align="center" bgcolor="#e4e4e4">
<td>
<h1><big><font color="#3c34ec"><i>NuttShell (NSH)</i></font></big></h1>
<p>Last Updated: February 11, 2019</p>
</td>
</tr>
</table>
<hr><hr>
<table width ="100%">
<tr bgcolor="#e4e4e4">
@@ -5912,5 +5919,7 @@ xxd -i romfs_img >nsh_romfsimg.h
</ul></td>
</tr></table>
</div>
</div>
</body>
</html>