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
no attribute allow_extra_args
#2
Comments
I should mention that I am using |
I am also noticing this issue |
I'm not a pro of this plugin, but by messing around a bit and reading the doc, I noticed that the directive expects So in this case, we'd probably want:
I get other errors after that, but maybe that'll help you going forward. Maybe the doc needs a little fix too, the example talks about a "example_app" module, but then uses "hello_world" as the module. Hope you'll be able to move forward with that. |
@pmatos I had to change
(note that that's This highlighted another bug, whereby the extension expects a description even if one is not present. I'll resolve that now, and update the docs to highlight the above. |
Signed-off-by: Stephen Finucane <stephen@that.guru> Closes-Bug: #2
This is fixed in 1.0.1. |
Thanks for
sphinx-click
. I tried it with the git example from theclick
docs and unfortunately it fails withallow_extra_args
even though the program itself works fine so it might be due to some interaction betweenclick
andsphinx
.The program is:
I call this
git.py
and put it inside a git subfolder with an empty__init__.py
that looks like:And the I have a
git.rst
that looks like:When I run
make html
indocs
I get:The text was updated successfully, but these errors were encountered: