convert script to python

This commit is contained in:
2021-06-29 14:35:21 +01:00
parent 08ed9d67ca
commit 7c5b082ee3
8 changed files with 192 additions and 140 deletions

View File

@@ -18,7 +18,7 @@ View your notes as a static html site.
## Usage
```
$ notes2web NOTES_DIRECTORY_1 [NOTES_DIRECTORY_2 [...]]
$ notes2web.py NOTES_DIRECTORY_1 [NOTES_DIRECTORY_2 [...]]
```
The command will generate a website in the `$output` directory (`./web` by default).
@@ -28,6 +28,8 @@ Then you just have to point a webserver at `$output`.
## Config
NOT CURRENTLY IMPLEMENTED
`notes2web` looks for a config file called `.notes2web.conf` in your current directory and your home
directory.
Default config values: