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

Add API to documentation #136

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

Conversation

MaxGhenis
Copy link
Collaborator

@MaxGhenis MaxGhenis commented Sep 9, 2020

Fixes #114

I started by modeling after PSLmodels/Tax-Calculator#2441, testing with a single page (agg.py). However, jb build . throws the following error:

(base) mghenis@penguin:~/PSLmodels/microdf/docs$ jb build .
Running Jupyter-Book v0.8.0
Traceback (most recent call last):
  File "/home/mghenis/anaconda3/bin/jb", line 8, in <module>
    sys.exit(main())
  File "/home/mghenis/anaconda3/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/mghenis/anaconda3/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/mghenis/anaconda3/lib/python3.7/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/mghenis/anaconda3/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/mghenis/anaconda3/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/mghenis/anaconda3/lib/python3.7/site-packages/jupyter_book/commands/__init__.py", line 199, in build
    build_modified = max([os.stat(ii).st_mtime for ii in build_files])
ValueError: max() arg is an empty sequence

@jdebacker could you please take a look to see if I got anything obviously wrong here, or could you recommend documentation on making this work? I didn't see this error in the executable-books org. Maybe microdf.agg isn't a proper module?

@MaxGhenis
Copy link
Collaborator Author

MaxGhenis commented Sep 9, 2020

Huh, odd that jb built successfully via the GH Action.

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 this pull request may close these issues.

Add API to Jupyter Book documentation
1 participant