Fix README

This commit is contained in:
JeremyStar™ 2025-01-03 21:49:03 +01:00
parent f8f664ad29
commit 7f8736e57b
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
2 changed files with 21 additions and 21 deletions

2
.gitignore vendored
View file

@ -3,4 +3,4 @@
.vscode .vscode
# Output # Output
generated-index index.html

View file

@ -1,5 +1,5 @@
# gendex # gendex
gendex is a script which generates directory listings and outputs them into an `index.html` file. gendex is a simple script that generates directory listings and writes them into an `index.html` file.
# Usage # Usage
@ -20,39 +20,39 @@ For a list of data types, see [this sos!bashutils documentation page](https://ba
<th>DESCRIPTION</th> <th>DESCRIPTION</th>
</tr> </tr>
<tr> <tr>
<th>`NOFANCY`</th> <td><code>NOFANCY</code></td>
<th>`bool`</th> <td><code>bool</code></td>
<th>`false`</th> <td><code>false</code></td>
<th>Whether to print things like the "Generation successful" message</th> <th>Whether to print things like the "Generation successful" message</th>
</tr> </tr>
<tr> <tr>
<th>`RECURSE`</th> <td><code>RECURSE</code></td>
<th>`bool`</th> <td><code>bool</code></td>
<th>`false`</th> <td><code>false</code></td>
<th>Whether to recurse downwards and create a directory index for all directories found</th> <th>Whether to recurse downwards and create a directory index for all directories found</th>
</tr> </tr>
<tr> <tr>
<th>`MINIFY`</th> <td><code>MINIFY</code></td>
<th>`bool`</th> <td><code>bool</code></td>
<th>`false`</th> <td><code>false</code></td>
<th>Whether to minify the final output. This will just remove all newlines</th> <th>Whether to minify the final output. This will just remove all newlines</th>
</tr> </tr>
<tr> <tr>
<th>`OUTPUT`</th> <td><code>OUTPUT</code></td>
<th>`str`</th> <td><code>str</code></td>
<th>`./index.html`</th> <td><code>./index.html</code></td>
<th>Where gendex should output it's generated HTML file to</th> <th>Where gendex should output it's generated HTML file to</th>
</tr> </tr>
<tr> <tr>
<th>`LOCALPATH`</th> <td><code>LOCALPATH</code></td>
<th>`str`</th> <td><code>str</code></td>
<th>``</th> <td><code></code></td>
<th>The local location of the specified directory. Used in the index's title and header. This value is always prefixed with a `/`</th> <td>The local location of the specified directory. Used in the index's title and header. This value is always prefixed with a <code>/</code></td>
</tr> </tr>
<tr> <tr>
<th>`TEMPLATE`</th> <td><code>TEMPLATE</code></td>
<th>`str`</th> <td><code>str</code></td>
<th>``</th> <td><code></code></td>
<th>The absolute location of the .html template to use. Uses the standard template if empty</th> <th>The absolute location of the .html template to use. Uses the standard template if empty</th>
</tr> </tr>
</table> </table>