QuantEcon / sphinxcontrib-jupyter

A Sphinx Extension for Generating Jupyter Notebooks
BSD 3-Clause "New" or "Revised" License
74 stars 23 forks source link

BUG: Some supporting index pages not included in --files build of jupinx #296

Open mmcky opened 4 years ago

mmcky commented 4 years ago

When running a selecting run of jupinx it looks like sphinx isn't picking up all the index pages as index_toc is not being rendered.

(base) ~/repos-collab/lecture-source-py $ jupinx -cws --file source/rst/pandas.rst source/rst/about_py.rst
Running: make clean
Removing everything under '_build'...
Running: make website
Running Sphinx v1.8.5
making output directory...
building [mo]: targets for 0 po files that are specified
building [jupyter]: 2 source files given on command line
updating environment: 123 added, 0 changed, 0 removed
checking for /home/mmcky/repos-collab/lecture-source-py/source/rst/_static/quant-econ.bib in bibtex cache... not found
parsing bibtex file /home/mmcky/repos-collab/lecture-source-py/source/rst/_static/quant-econ.bib... parsed 172 entries

looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] pandas                                                                                      
copying static files... copying static files to executed folder... 
WARNING: jupyter_static_path entry /home/mmcky/repos-collab/lecture-source-py/_static does not exist
done
Starting notebook execution for website and html conversion(if set in config)...
(1/5)  about_py -- pass -- 4.74s
(2/5)  index_data_and_empirics -- pass -- 2.45s
(3/5)  index -- pass -- 2.35s
(4/5)  index_learning_python -- pass -- 2.34s
(5/5)  pandas -- pass -- 12.36s
mmcky commented 4 years ago

@AakashGfude do you know how we could debug this to see why index_toc isn't getting included in the dependency list? It is a problem as it means one can't navigate easily to the generated pages when the html server loads.

Another idea is if --files is specified then we load the website page for each file specified in different tabs / different servers. We should identify and fix the above box either way.