-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Unable to get notebook sections to appear in build docs #4619
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
Comments
It could be an issue with the html paths. From your screenshot it looks like you are at
Relative paths are different locally than they are in |
html/pymc-examples/examples
% ls
case_studies generalized_linear_models mixture_models samplers variational_inference
diagnostics_and_criticism getting_started.html ode_models survival_analysis
gaussian_processes getting_started.ipynb pymc3_howto time_series
html/pymc-examples/examples
❯ ls case_studies
BEST.html log-gaussian-cox-process.html
BEST.ipynb log-gaussian-cox-process.ipynb
LKJ.html multilevel_modeling.html
LKJ.ipynb multilevel_modeling.ipynb
blackbox_external_likelihood.html probabilistic_matrix_factorization.html
blackbox_external_likelihood.ipynb probabilistic_matrix_factorization.ipynb
conditional-autoregressive-model.html putting_workflow.html
conditional-autoregressive-model.ipynb putting_workflow.ipynb
factor_analysis.html rugby_analytics.html
factor_analysis.ipynb rugby_analytics.ipynb
hierarchical_partial_pooling.html stochastic_volatility.html
hierarchical_partial_pooling.ipynb stochastic_volatility.ipynb |
Yeah I think I get what you're saying, though it seems from @MarcoGorelli's screenshos in #4348 (comment) that they were able to build locally and propertly see the tutorial notebooks. |
Hey @paw-lu Can you try navigating to the _build/html directory, running |
Thanks @MarcoGorelli! I wasn't aware this wasn't a static site. Thanks for the tip! This fixes any issues I had. The built documentation behaves as expected when running the python HTTP server. Is there an interest in codifying this knowledge? I see #4483 was opened asking for a Python version of these scripts. There are a lot of scripts around root—like There are two options off the top of my head:
Regardless, thanks for the help everyone! |
I think so, yes - or at least, documenting it would be very useful! |
Found that @Sayam753 had added some documentation in the wiki. |
Awesome. Closing the issue now. Feel free to reopen if things break again. |
Description of your problem
When trying to build the docs, all the notebook sections fail to make it into the built html.
As expected by the warnings, the sections derived from the example notebooks are blank. I tried to follow the steps outlied in
build_and_deploy_docs.sh
as close as possible, but am clearly still missing a step. The notebook files do exist indocs/source/pymc-examples
, so I think they were cloned correctly.Thanks for the amazing library and documentation!
The text was updated successfully, but these errors were encountered: