This repository has been archived by the owner on Sep 21, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 53
FEAT: Support for Individual PDF (requires sphinxcontrib-jupyter=0.5.0) #701
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Docutils version: 0.14
# Jinja2 version: 2.10.1
# Last messages:
# writing output... [ 46%] more_julia/data_statistical_packages
# writing output... [ 48%] more_julia/general_packages
# writing output... [ 49%] more_julia/generic_programming
# writing output... [ 50%] more_julia/index
# writing output... [ 51%] more_julia/need_for_speed
# writing output... [ 53%] more_julia/optimization_solver_packages
# writing output... [ 54%] more_julia/testing
# writing output... [ 55%] more_julia/tools_editors
# writing output... [ 57%] more_julia/version_control
# writing output... [ 58%] multi_agent_models/aiyagari
# Loaded extensions:
# sphinx.ext.mathjax (2.1.2) from /home/qebuild/anaconda3/envs/latest/lib/python3.7/site-packages/sphinx/ext/mathja
x.py
# sphinxcontrib.applehelp (1.0.1) from /home/qebuild/anaconda3/envs/latest/lib/python3.7/site-packages/sphinxcontri
b/applehelp/__init__.py
# sphinxcontrib.devhelp (1.0.1) from /home/qebuild/anaconda3/envs/latest/lib/python3.7/site-packages/sphinxcontrib/
devhelp/__init__.py
# sphinxcontrib.htmlhelp (1.0.2) from /home/qebuild/anaconda3/envs/latest/lib/python3.7/site-packages/sphinxcontrib
/htmlhelp/__init__.py
# sphinxcontrib.serializinghtml (1.1.3) from /home/qebuild/anaconda3/envs/latest/lib/python3.7/site-packages/sphinx
contrib/serializinghtml/__init__.py
# sphinxcontrib.qthelp (1.0.2) from /home/qebuild/anaconda3/envs/latest/lib/python3.7/site-packages/sphinxcontrib/q
thelp/__init__.py
# alabaster (0.7.12) from /home/qebuild/anaconda3/envs/latest/lib/python3.7/site-packages/alabaster/__init__.py
# sphinxcontrib.bibtex (unknown version) from /home/qebuild/anaconda3/envs/latest/lib/python3.7/site-packages/sphin
xcontrib/bibtex/__init__.py
# IPython.sphinxext.ipython_console_highlighting (unknown version) from /home/qebuild/anaconda3/envs/latest/lib/pyt
hon3.7/site-packages/IPython/sphinxext/ipython_console_highlighting.py
# sphinxcontrib.jupyter (19.1.1) from /home/qebuild/repos/sphinxcontrib-jupyter/sphinxcontrib/jupyter/__init__.py
Traceback (most recent call last):
File "/home/qebuild/anaconda3/envs/latest/lib/python3.7/site-packages/sphinx/cmd/build.py", line 284, in build_main
app.build(args.force_all, filenames)
File "/home/qebuild/anaconda3/envs/latest/lib/python3.7/site-packages/sphinx/application.py", line 345, in build
self.builder.build_update()
File "/home/qebuild/anaconda3/envs/latest/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 319, in bu
ild_update
len(to_build))
File "/home/qebuild/anaconda3/envs/latest/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 382, in bu
ild
self.write(docnames, list(updated_docnames), method)
File "/home/qebuild/anaconda3/envs/latest/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 562, in wr
ite
self._write_serial(sorted(docnames))
File "/home/qebuild/anaconda3/envs/latest/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 573, in _w
rite_serial
self.write_doc(docname, doctree)
File "/home/qebuild/repos/sphinxcontrib-jupyter/sphinxcontrib/jupyter/builders/jupyterpdf.py", line 132, in write_d
oc
self.writer.write(doctree, destination)
File "/home/qebuild/anaconda3/envs/latest/lib/python3.7/site-packages/docutils/writers/__init__.py", line 80, in wr
ite
self.translate()
File "/home/qebuild/repos/sphinxcontrib-jupyter/sphinxcontrib/jupyter/writers/jupyter.py", line 23, in translate
self.document.walkabout(visitor)
File "/home/qebuild/anaconda3/envs/latest/lib/python3.7/site-packages/docutils/nodes.py", line 174, in walkabout
if child.walkabout(visitor):
File "/home/qebuild/anaconda3/envs/latest/lib/python3.7/site-packages/docutils/nodes.py", line 174, in walkabout
if child.walkabout(visitor):
File "/home/qebuild/anaconda3/envs/latest/lib/python3.7/site-packages/docutils/nodes.py", line 174, in walkabout
if child.walkabout(visitor):
[Previous line repeated 1 more time]
File "/home/qebuild/anaconda3/envs/latest/lib/python3.7/site-packages/docutils/nodes.py", line 187, in walkabout
visitor.dispatch_departure(self)
File "/home/qebuild/anaconda3/envs/latest/lib/python3.7/site-packages/docutils/nodes.py", line 1895, in dispatch_de
parture
return method(node)
File "/home/qebuild/repos/sphinxcontrib-jupyter/sphinxcontrib/jupyter/writers/translate_all.py", line 686, in depar
t_list_item
list_item_start = self.list_item_starts.pop()
IndexError: pop from empty list |
5 tasks
Added @AnjuJoon as a reviewer so she can merge if need be. |
I'm seeing errors with |
(If this persists after we try it again, we can do what Simon suggests here 10 days ago.) |
arnavs
reviewed
Oct 3, 2019
arnavs
approved these changes
Oct 4, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @mmcky, @AakashGfude, and @AnjuJoon for all your hard work on this feature.
Merging now as Matt has tested it.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds support for individual page PDF construction.
sphinxcontrib-jupyter=0.5.0
FEAT: Adding a pdf pipeline to allow conversion of rst files to pdf sphinxcontrib-jupyter#211