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

Generating docs does not work #1814

Closed
trevorcampbell opened this issue Aug 21, 2023 · 0 comments · Fixed by #1815
Closed

Generating docs does not work #1814

trevorcampbell opened this issue Aug 21, 2023 · 0 comments · Fixed by #1815

Comments

@trevorcampbell
Copy link
Contributor

If I run

python3 tasks.py docs

from the repository root, I get the following output:

Traceback (most recent call last):
  File "/home/trevor/repos/dsci/nbgrader/tasks.py", line 176, in <module>
    ns.func(ns, args)
TypeError: docs() takes 1 positional argument but 2 were given

This appears to be related to this recent commit:

https://github.com/jupyter/nbgrader/blame/af47e5eaf880d456f79030e68c0feb0de1fb6313/tasks.py#L176

where these two functions were not updated:
https://github.com/jupyter/nbgrader/blame/af47e5eaf880d456f79030e68c0feb0de1fb6313/tasks.py#L35
and
https://github.com/jupyter/nbgrader/blame/af47e5eaf880d456f79030e68c0feb0de1fb6313/tasks.py#L46

It should be fairly straightforward to fix these by adding the args argument to docs() and cleandocs()

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

Successfully merging a pull request may close this issue.

1 participant