Skip to content

Commit

Permalink
fix(docgen): add con4m defintions to fix docgen cmd regression
Browse files Browse the repository at this point in the history
  • Loading branch information
MyNameIsMeerkat committed Oct 19, 2023
1 parent ad992c4 commit 9c6e2a9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/configs/chalk.c42spec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ default_key_priority := 4611686018427387904 # 2^62.
# These are the valid command-line commands.
valid_chalk_cmds := ["help", "insert", "extract", "delete", "config",
"load", "dump", "docker", "version", "env", "exec",
"setup", "login", "logout"]
"setup", "login", "logout", "docgen"]

all_cmds_that_insert := ["insert", "build", "load", "setup", "login", "logout"]

Expand Down
7 changes: 6 additions & 1 deletion src/configs/getopts.c4m
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,12 @@ command login {
Starts the API login process and will provide a URL to follow in a browser to complete authentication.
"""
}

command docgen {
shortdoc: "Generate technical documentation"
doc: """
Internal function to generate technical documentation in markdown format.
"""
}

}

Expand Down

0 comments on commit 9c6e2a9

Please sign in to comment.