This page contains instructions for Drake developers & contributors, related to improving the tutorials or adding new ones.
To rebuild from source and run tutorials using Bazel, use e.g.:
bazel run //tutorials:mathematical_program
-
Add a link to the notebook in
tutorials/index.ipynb
. -
In the pull request overview, include a
nbviewer
link to the directory on your fork and branch, e.g.,https://nbviewer.jupyter.org/github/{user}/drake/blob/{branch}/tutorials/
The tutorials on the Drake website are refreshed to latest master as part of our stable release process. In general we do not upgrade them between those monthly releases, but in case of emergency feel free to manually edit them online at deepnote.com. Any manual changes will be overwritten during the next stable release, so be sure that the fixes get merged to Drake master as well.