Skip to content

Errors in core notebooks should fail doc build #6323

@OriolAbril

Description

@OriolAbril

Seeing #6322 I realized that when execution of core notebooks fails, the doc build continues. The main goal in having the notebooks here in this repo and executing them with every doc build is to prevent the notebooks from ever having outdated code that no longer runs. We should update https://github.com/pymc-devs/pymc/blob/main/docs/source/conf.py to make sure errors in notebook execution fail the doc build.

I think https://myst-nb.readthedocs.io/en/latest/computation/execute.html#error-reporting-warning-vs-failure outlines the solution, but it needs to be done and checked.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions