Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide default autoprogram's prog option #141

Open
dirn opened this issue Nov 12, 2016 · 0 comments
Open

Provide default autoprogram's prog option #141

dirn opened this issue Nov 12, 2016 · 0 comments

Comments

@dirn
Copy link
Contributor

dirn commented Nov 12, 2016

When processing subcommands, sphinxcontrib-autoprogram seems to pick up sphinxbuild as the program. Fortunately it provides a way to override this: the prog option. Anyone documenting their command line extension will most likely use something like the following:

.. hensoncli:: path.to:MyExtension
   :prog: henson --app APP_PATH
   :start_command: myext

HensonCLIDirective should provide henson --app APP_PATH as the default value so that extension developers don't need specify it themselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant