We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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?
to your account
Right now PyScaffold 2.5.x can only handle Sphinx up to version 1.5 since there was an API change. PyScaffold 3 was changed accordingly and this change could be also back-ported to PyScaffold 2.5.x.
The text was updated successfully, but these errors were encountered:
Is that the reason for an error like:
python setup.py docs
usage: usage: setup.py [OPTIONS] -o <OUTPUT_PATH> <MODULE_PATH> [EXCLUDE_PATTERN, ...]
setup.py: error: unrecognized arguments: setup.py
Sorry, something went wrong.
@cpaulik Yes, exactly. You can double check by downgrading Sphinx to version 1.5.
It works with sphinx 1.5. If you can point me to the changes that were necessary for Pyscaffold 3 then I will take a look at Pyscaffold 2.5.x. Maybe I can whip up a PR.
Thanks, it should be in file https://github.com/blue-yonder/pyscaffold/blob/14358522f4ad4c5c38a5290f8885a86bbbeb12c6/src/pyscaffold/templates/sphinx_conf.template#L44-L57 where sphinx-apidoc is called.
Fix build_sphinx command for sphinx>1.5
The new apidoc command does not take the executable as a first argument.
It also takes the excludes as a positional argument after the module directory.
@cpaulik I added some commits to v2.x that updated pbr to version 4.0.2. It seems to work now, could you also check if it works for you?
@cpaulik, v2.5.11 was just released which fixes this issue.
Thanks. Works perfectly.
No branches or pull requests