Skip to content

Unable to get notebook sections to appear in build docs #4619

Closed
@paw-lu

Description

@paw-lu

Description of your problem

When trying to build the docs, all the notebook sections fail to make it into the built html.

(venv)% python -m pip install .

(venv)% python -m pip install -r requirements-dev.txt

(venv)% latesttag=$(git describe --tags `git rev-list --tags --max-count=1`)

(venv)% git checkout ${latesttag}

(venv)% git submodule update --remote

(venv)% cd docs/source

(venv)% make html

# Countless warnings about ipynb files not being included in the toctree
/Users/pawlu/Documents/personal/pymc3/docs/source/pymc-examples/examples/pymc3_howto/sampling_callback.ipynb: WARNING: document isn't included in any toctree

(venv)% open source/_build/html/index.html
...

Screen Shot 2021-04-06 at 9 27 25 PM

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 in docs/source/pymc-examples, so I think they were cloned correctly.

  1. Am I missing a step here in properly building the docs?
  2. How can we make this process easier for first time contributers?

Thanks for the amazing library and documentation!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions