Skip to content

Commit

Permalink
chore: automated docs generation for release
Browse files Browse the repository at this point in the history
Co-authored-by: John McBride <[email protected]>
  • Loading branch information
open-sauced[bot] and jpmcb committed Sep 12, 2024
1 parent 74c1e8e commit 9eee553
Show file tree
Hide file tree
Showing 16 changed files with 64 additions and 15 deletions.
2 changes: 1 addition & 1 deletion docs/pizza.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pizza <command> <subcommand> [flags]
### Options

```
-c, --config string The codeowners config (default "~/.sauced.yaml")
-c, --config string The codeowners config
--disable-telemetry Disable sending telemetry data to OpenSauced
-h, --help help for pizza
-l, --log-level string The logging level. Options: error, warn, info, debug (default "info")
Expand Down
2 changes: 1 addition & 1 deletion docs/pizza_completion.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ See each sub-command's help for details on how to use the generated script.
### Options inherited from parent commands

```
-c, --config string The codeowners config (default "~/.sauced.yaml")
-c, --config string The codeowners config
--disable-telemetry Disable sending telemetry data to OpenSauced
-l, --log-level string The logging level. Options: error, warn, info, debug (default "info")
--tty-disable Disable log stylization. Suitable for CI/CD and automation
Expand Down
2 changes: 1 addition & 1 deletion docs/pizza_completion_bash.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pizza completion bash
### Options inherited from parent commands

```
-c, --config string The codeowners config (default "~/.sauced.yaml")
-c, --config string The codeowners config
--disable-telemetry Disable sending telemetry data to OpenSauced
-l, --log-level string The logging level. Options: error, warn, info, debug (default "info")
--tty-disable Disable log stylization. Suitable for CI/CD and automation
Expand Down
2 changes: 1 addition & 1 deletion docs/pizza_completion_fish.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pizza completion fish [flags]
### Options inherited from parent commands

```
-c, --config string The codeowners config (default "~/.sauced.yaml")
-c, --config string The codeowners config
--disable-telemetry Disable sending telemetry data to OpenSauced
-l, --log-level string The logging level. Options: error, warn, info, debug (default "info")
--tty-disable Disable log stylization. Suitable for CI/CD and automation
Expand Down
2 changes: 1 addition & 1 deletion docs/pizza_completion_powershell.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pizza completion powershell [flags]
### Options inherited from parent commands

```
-c, --config string The codeowners config (default "~/.sauced.yaml")
-c, --config string The codeowners config
--disable-telemetry Disable sending telemetry data to OpenSauced
-l, --log-level string The logging level. Options: error, warn, info, debug (default "info")
--tty-disable Disable log stylization. Suitable for CI/CD and automation
Expand Down
2 changes: 1 addition & 1 deletion docs/pizza_completion_zsh.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pizza completion zsh [flags]
### Options inherited from parent commands

```
-c, --config string The codeowners config (default "~/.sauced.yaml")
-c, --config string The codeowners config
--disable-telemetry Disable sending telemetry data to OpenSauced
-l, --log-level string The logging level. Options: error, warn, info, debug (default "info")
--tty-disable Disable log stylization. Suitable for CI/CD and automation
Expand Down
3 changes: 2 additions & 1 deletion docs/pizza_generate.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pizza generate [subcommand] [flags]
### Options inherited from parent commands

```
-c, --config string The codeowners config (default "~/.sauced.yaml")
-c, --config string The codeowners config
--disable-telemetry Disable sending telemetry data to OpenSauced
-l, --log-level string The logging level. Options: error, warn, info, debug (default "info")
--tty-disable Disable log stylization. Suitable for CI/CD and automation
Expand All @@ -30,4 +30,5 @@ pizza generate [subcommand] [flags]
* [pizza](pizza.md) - OpenSauced CLI
* [pizza generate codeowners](pizza_generate_codeowners.md) - Generate a CODEOWNERS file for a GitHub repository using a "~/.sauced.yaml" config
* [pizza generate config](pizza_generate_config.md) - Generates a ".sauced.yaml" config based on the current repository
* [pizza generate insight](pizza_generate_insight.md) - Generate an OpenSauced Contributor Insight based on GitHub logins in a CODEOWNERS file

2 changes: 1 addition & 1 deletion docs/pizza_generate_codeowners.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pizza generate codeowners . --config /path/to/.sauced.yaml
### Options inherited from parent commands

```
-c, --config string The codeowners config (default "~/.sauced.yaml")
-c, --config string The codeowners config
--disable-telemetry Disable sending telemetry data to OpenSauced
-l, --log-level string The logging level. Options: error, warn, info, debug (default "info")
--tty-disable Disable log stylization. Suitable for CI/CD and automation
Expand Down
2 changes: 1 addition & 1 deletion docs/pizza_generate_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pizza generate config path/to/repo [flags]
### Options inherited from parent commands

```
-c, --config string The codeowners config (default "~/.sauced.yaml")
-c, --config string The codeowners config
--disable-telemetry Disable sending telemetry data to OpenSauced
-l, --log-level string The logging level. Options: error, warn, info, debug (default "info")
--tty-disable Disable log stylization. Suitable for CI/CD and automation
Expand Down
48 changes: 48 additions & 0 deletions docs/pizza_generate_insight.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
## pizza generate insight

Generate an OpenSauced Contributor Insight based on GitHub logins in a CODEOWNERS file

### Synopsis

Generate an OpenSauced Contributor Insight based on GitHub logins in a CODEOWNERS file
to get metrics and insights on those users.

The provided path must be a local git repo with a valid CODEOWNERS file and GitHub "@login"
for each codeowner.

After logging in, the generated Contributor Insight on OpenSauced will have insights on
active contributors, contributon velocity, and more.

```
pizza generate insight path/to/repo/with/CODEOWNERS/file [flags]
```

### Examples

```
# Use CODEOWNERS file in explicit directory
$ pizza generate insight /path/to/repo
# Use CODEOWNERS file in local directory
$ pizza generate insight .
```

### Options

```
-h, --help help for insight
```

### Options inherited from parent commands

```
-c, --config string The codeowners config
--disable-telemetry Disable sending telemetry data to OpenSauced
-l, --log-level string The logging level. Options: error, warn, info, debug (default "info")
--tty-disable Disable log stylization. Suitable for CI/CD and automation
```

### SEE ALSO

* [pizza generate](pizza_generate.md) - Generates documentation and insights from your codebase

2 changes: 1 addition & 1 deletion docs/pizza_insights.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pizza insights <command> [flags]
### Options inherited from parent commands

```
-c, --config string The codeowners config (default "~/.sauced.yaml")
-c, --config string The codeowners config
--disable-telemetry Disable sending telemetry data to OpenSauced
-l, --log-level string The logging level. Options: error, warn, info, debug (default "info")
--tty-disable Disable log stylization. Suitable for CI/CD and automation
Expand Down
2 changes: 1 addition & 1 deletion docs/pizza_insights_contributors.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pizza insights contributors url... [flags]
### Options inherited from parent commands

```
-c, --config string The codeowners config (default "~/.sauced.yaml")
-c, --config string The codeowners config
--disable-telemetry Disable sending telemetry data to OpenSauced
-l, --log-level string The logging level. Options: error, warn, info, debug (default "info")
-o, --output string The formatting for command output. One of: (table, yaml, csv, json) (default "table")
Expand Down
2 changes: 1 addition & 1 deletion docs/pizza_insights_repositories.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pizza insights repositories url... [flags]
### Options inherited from parent commands

```
-c, --config string The codeowners config (default "~/.sauced.yaml")
-c, --config string The codeowners config
--disable-telemetry Disable sending telemetry data to OpenSauced
-l, --log-level string The logging level. Options: error, warn, info, debug (default "info")
-o, --output string The formatting for command output. One of: (table, yaml, csv, json) (default "table")
Expand Down
2 changes: 1 addition & 1 deletion docs/pizza_insights_user-contributions.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pizza insights user-contributions url... [flags]
### Options inherited from parent commands

```
-c, --config string The codeowners config (default "~/.sauced.yaml")
-c, --config string The codeowners config
--disable-telemetry Disable sending telemetry data to OpenSauced
-l, --log-level string The logging level. Options: error, warn, info, debug (default "info")
-o, --output string The formatting for command output. One of: (table, yaml, csv, json) (default "table")
Expand Down
2 changes: 1 addition & 1 deletion docs/pizza_login.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pizza login [flags]
### Options inherited from parent commands

```
-c, --config string The codeowners config (default "~/.sauced.yaml")
-c, --config string The codeowners config
--disable-telemetry Disable sending telemetry data to OpenSauced
-l, --log-level string The logging level. Options: error, warn, info, debug (default "info")
--tty-disable Disable log stylization. Suitable for CI/CD and automation
Expand Down
2 changes: 1 addition & 1 deletion docs/pizza_version.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pizza version [flags]
### Options inherited from parent commands

```
-c, --config string The codeowners config (default "~/.sauced.yaml")
-c, --config string The codeowners config
--disable-telemetry Disable sending telemetry data to OpenSauced
-l, --log-level string The logging level. Options: error, warn, info, debug (default "info")
--tty-disable Disable log stylization. Suitable for CI/CD and automation
Expand Down

0 comments on commit 9eee553

Please sign in to comment.