You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 16, 2025. It is now read-only.
- -f flag now requires the path to come after it, and removes the directory requirement
- remove unused --no-warn argument
- --clean argument now requires a directory specification instead of a file
- cleaned up code
- updated documentation (command reference)
Signed-off-by: Ryan Brue <[email protected]>
Copy file name to clipboardexpand all lines: docs/command_reference.dj
+6-6
Original file line number
Diff line number
Diff line change
@@ -19,17 +19,17 @@ cargo build --release
19
19
## Usage
20
20
21
21
```shell
22
-
simple-ssg [OPTIONS] <TARGET_PATH>
23
-
```
22
+
Plain and simple static site generator for Djot and Markdown light markup languages
24
23
25
-
### Options
24
+
Usage: simple-ssg [OPTIONS] [DIRECTORY]
25
+
26
+
Arguments:
27
+
[DIRECTORY] Path to the directory to use to generate the site (not required if -f is specified)
26
28
27
-
```
28
29
Options:
29
-
-f Process a single file instead of a directory
30
+
-f <FILE> Process a single file instead of a directory
30
31
-o <OUTPUT_PATH> Optional output path override. Defaults to ./output for directories
31
32
--clean Clean the output directory before generating the site. Useful for multiple runs
32
-
--no-warn Disallow any warnings
33
33
--web-prefix <WEB_PREFIX> Specify the website prefix (defaults to local paths i.e. `./`)
34
34
-t, --template <TEMPLATE> Specify a built in template to use (will override a template.html in any directory!). defaults to whatever templates are found in template.html in the directories [possible values: github-markdown, force-none]
0 commit comments