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
+1
View File
@@ -2,6 +2,7 @@
<head> <head>
<title>NX Graphics Subsystem</title> <title>NX Graphics Subsystem</title>
<meta name="author" content="Gregory Nutt"> <meta name="author" content="Gregory Nutt">
<link rel="stylesheet" href="style.css">
</head> </head>
<body background="backgd.gif"> <body background="backgd.gif">
+21 -12
View File
@@ -1,18 +1,11 @@
<html> <html>
<head> <head>
<title>NuttShell</title> <title>NuttShell</title>
<link rel="stylesheet" href="style.css">
</head> </head>
<body background="backgd.gif"> <body background="backgd.gif">
<hr><hr> <div class="container">
<table width ="100%"> <div class="toc">
<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%"> <table width ="100%">
<tr bgcolor="#e4e4e4"> <tr bgcolor="#e4e4e4">
<td> <td>
@@ -21,7 +14,7 @@
</tr> </tr>
</table> </table>
<center><table width ="80%"> <table width ="80%" class="toc_table">
<tr> <tr>
<td> <td>
<table> <table>
@@ -626,7 +619,21 @@
<a href="#index">Index</a> <a href="#index">Index</a>
</td> </td>
</tr> </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%"> <table width ="100%">
<tr bgcolor="#e4e4e4"> <tr bgcolor="#e4e4e4">
@@ -5912,5 +5919,7 @@ xxd -i romfs_img >nsh_romfsimg.h
</ul></td> </ul></td>
</tr></table> </tr></table>
</div>
</div>
</body> </body>
</html> </html>
+20 -12
View File
@@ -1,18 +1,11 @@
<html> <html>
<head> <head>
<title>NuttX</title> <title>NuttX</title>
<link rel="stylesheet" href="style.css">
</head> </head>
<body background="backgd.gif"> <body background="backgd.gif">
<hr><hr> <div class="container">
<table width ="100%"> <div class="toc">
<tr align="center" bgcolor="#e4e4e4">
<td>
<h1><big><font color="#3c34ec"><i>NuttX RTOS</i></font></big></h1>
<p>Last Updated: May 19, 2019</p>
</td>
</tr>
</table>
<hr><hr>
<table width ="100%"> <table width ="100%">
<tr bgcolor="#e4e4e4"> <tr bgcolor="#e4e4e4">
<td> <td>
@@ -21,7 +14,7 @@
</tr> </tr>
</table> </table>
<center><table width ="80%"> <table width ="80%" class="toc_table">
<tr> <tr>
<td> <td>
<table> <table>
@@ -102,7 +95,20 @@
</table> </table>
</td> </td>
</tr> </tr>
</table></center> </table>
</div>
<div class="main">
<hr><hr>
<table width ="100%">
<tr align="center" bgcolor="#e4e4e4">
<td>
<h1><big><font color="#3c34ec"><i>NuttX RTOS</i></font></big></h1>
<p>Last Updated: May 19, 2019</p>
</td>
</tr>
</table>
<hr><hr>
<table width ="100%"> <table width ="100%">
<tr bgcolor="#e4e4e4"> <tr bgcolor="#e4e4e4">
@@ -7108,5 +7114,7 @@ if [ -x "$WINELOADER" ]; then exec "$WINELOADER" "$appname" "$@"; fi
</p> </p>
</small> </small>
</div>
</div>
</body> </body>
</html> </html>
+1
View File
@@ -1,6 +1,7 @@
<html> <html>
<head> <head>
<title>NuttX Binary Loader</title> <title>NuttX Binary Loader</title>
<link rel="stylesheet" href="style.css">
</head> </head>
<body background="backgd.gif"> <body background="backgd.gif">
<hr><hr> <hr><hr>
+22 -14
View File
@@ -2,22 +2,12 @@
<head> <head>
<title>NuttX C Coding Standard</title> <title>NuttX C Coding Standard</title>
<meta name="author" content="Gregory Nutt"> <meta name="author" content="Gregory Nutt">
<link rel="stylesheet" href="style.css">
</head> </head>
<body background="backgd.gif"> <body>
<hr><hr> <div class="container">
<table width ="100%"> <div class="toc">
<tr align="center" bgcolor="#e4e4e4">
<td>
<h1><big><font color="#3c34ec">
<i>NuttX C Coding Standard</i>
</font></big></h1>
<p>Last Updated: February 5, 2019</p>
</td>
</tr>
</table>
<hr><hr>
<table width ="100%"> <table width ="100%">
<tr bgcolor="#e4e4e4"> <tr bgcolor="#e4e4e4">
<td> <td>
@@ -74,6 +64,21 @@
<a href="#hfilestructure">A.2 C Header File Structure</a> <a href="#hfilestructure">A.2 C Header File Structure</a>
</ul> </ul>
</ul> </ul>
</div>
<div class="main">
<hr><hr>
<table width ="100%">
<tr align="center" bgcolor="#e4e4e4">
<td>
<h1><big><font color="#3c34ec">
<i>NuttX C Coding Standard</i>
</font></big></h1>
<p>Last Updated: February 5, 2019</p>
</td>
</tr>
</table>
<hr><hr>
<table width ="100%"> <table width ="100%">
<tr bgcolor="#e4e4e4"> <tr bgcolor="#e4e4e4">
@@ -2984,5 +2989,8 @@ Each is preceded by a function header similar to the above.</i></p>
</pre> </pre>
<p><i>Ending with the header file <a href="#idempotence">idempotence</a> <code>#endif</code>.</i></p> <p><i>Ending with the header file <a href="#idempotence">idempotence</a> <code>#endif</code>.</i></p>
</div>
</div>
</body> </body>
</html> </html>
+1
View File
@@ -1,6 +1,7 @@
<html> <html>
<head> <head>
<title>On-Demand Paging</title> <title>On-Demand Paging</title>
<link rel="stylesheet" href="style.css">
</head> </head>
<body background="backgd.gif"> <body background="backgd.gif">
<hr><hr> <hr><hr>
+1
View File
@@ -1,6 +1,7 @@
<html> <html>
<head> <head>
<title>NXFLAT</title> <title>NXFLAT</title>
<link rel="stylesheet" href="style.css">
</head> </head>
<body background="backgd.gif"> <body background="backgd.gif">
+23 -13
View File
@@ -2,22 +2,13 @@
<head> <head>
<title>NuttX Porting Guide</title> <title>NuttX Porting Guide</title>
<meta name="author" content="Gregory Nutt"> <meta name="author" content="Gregory Nutt">
<link rel="stylesheet" href="style.css">
</head> </head>
<body background="backgd.gif"> <body>
<hr><hr>
<table width ="100%">
<tr align="center" bgcolor="#e4e4e4">
<td>
<h1><big><font color="#3c34ec">
<i>NuttX RTOS Porting Guide</i>
</font></big></h1>
<p>Last Updated: February 18, 2019</p>
</td>
</tr>
</table>
<hr><hr>
<div class="container">
<div class="toc">
<table width ="100%"> <table width ="100%">
<tr bgcolor="#e4e4e4"> <tr bgcolor="#e4e4e4">
<td> <td>
@@ -238,6 +229,22 @@
<a href="#apndxconfigs">Appendix A: NuttX Configuration Settings</a><br> <a href="#apndxconfigs">Appendix A: NuttX Configuration Settings</a><br>
<a href="#apndxtrademarks">Appendix B: Trademarks</a> <a href="#apndxtrademarks">Appendix B: Trademarks</a>
</ul> </ul>
</div>
<div class="main">
<hr><hr>
<table width ="100%">
<tr align="center" bgcolor="#e4e4e4">
<td>
<h1><big><font color="#3c34ec">
<i>NuttX RTOS Porting Guide</i>
</font></big></h1>
<p>Last Updated: February 18, 2019</p>
</td>
</tr>
</table>
<hr><hr>
<table width ="100%"> <table width ="100%">
<tr bgcolor="#e4e4e4"> <tr bgcolor="#e4e4e4">
@@ -7297,6 +7304,9 @@ void (*notify)(FAR struct pm_callback_s *cb, int domain, enum pm_state_e pmstate
standard as a development guideline only. standard as a development guideline only.
</p> </p>
</div>
</div>
</body> </body>
</html> </html>
+1
View File
@@ -3,6 +3,7 @@
<head> <head>
<title>NuttX Users Manual</title> <title>NuttX Users Manual</title>
<meta name="AUTHOR" content="Gregory Nutt"> <meta name="AUTHOR" content="Gregory Nutt">
<link rel="stylesheet" href="style.css">
</head> </head>
<body background="backgd.gif"> <body background="backgd.gif">
+1
View File
@@ -1,6 +1,7 @@
<html> <html>
<head> <head>
<title>NxWidgets</title> <title>NxWidgets</title>
<link rel="stylesheet" href="style.css">
</head> </head>
<body background="backgd.gif"> <body background="backgd.gif">
<hr><hr> <hr><hr>
+1
View File
@@ -1,6 +1,7 @@
<html> <html>
<head> <head>
<title>NuttX USB Trace Capability</title> <title>NuttX USB Trace Capability</title>
<link rel="stylesheet" href="style.css">
</head> </head>
<body background="backgd.gif"> <body background="backgd.gif">