-
Notifications
You must be signed in to change notification settings - Fork 130
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
mention pandoc dependency in the documentation #72
Comments
You're right, I completely missed that. Would you mind creating a PR for that? Here are the instructions of Strangely, they don't mention the Just for the record, once #36 is implemented, the |
Related to this, would you be open to an option allowing a doc build to continue, even if pandoc is not installed? We'd like to use nbsphinx as part of the pandas doc build, but don't want to require our contributors to install pandoc. I don't know if it should follow the |
@TomAugspurger The Until that, What do you suggest should happen if |
Hmm #36 does seem tricky...
Right, I would think the entire notebook is skipped as soon as you hit a For some more background, in pandas we currently have a single notebook as part of the doc build. That failing to build isn't the end of the world for a contributor just updating some other section of the docs. We can work around this as part of our build process if you think our use-case is too niche. |
OK, I see your use case now. What about turning the This would be quite simple, but how to tell Sphinx to discard the current source file and continue with the next? While playing around with this, I found out that a change in |
@TomAugspurger I've asked in the Sphinx mailing list, got two work-arounds and came up with a third one, see https://groups.google.com/forum/#!topic/sphinx-users/lEJbtgv_uzk. I think I could disable notebooks when Should the resulting output pages just be empty (which means that they would also not appear in any table of contents because they don't have a title) or should they be replaced with some error page? If latter, what should be displayed in a TOC instead of the title of the notebook? |
@mgeier thanks. FWIW, I was able to work around this in pandas pretty easily here. I just check to see if I don't know what the desired behavior would be if we added something in nbsphinx. If these were behind a config setting, then I think a blank page or no page at all is OK, as long as it raises an exception by default. |
I've added #102 to deal with the original issue. Is it OK? @TomAugspurger If you need something changed in |
#102 looks good! I'm looking forward to it too :) |
The README.rst nor the docs on ReadTheDocs mention pandoc as a dependency.
The text was updated successfully, but these errors were encountered: