We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 051b3c8 commit 520a2d5Copy full SHA for 520a2d5
src/pulp_docs/cli.py
@@ -50,3 +50,6 @@ def draft_callback(ctx: click.Context, param: click.Parameter, value: bool) -> b
50
draft_option(sub_command)
51
blog_option(sub_command)
52
docstrings_option(sub_command)
53
+ serve_options = sub_command.params
54
+ config_file_opt = next(filter(lambda opt: opt.name == "config_file", serve_options))
55
+ config_file_opt.envvar = "PULPDOCS_DIR"
0 commit comments