Closed jlstevens closed 7 years ago
I've now ticked off the remaining tasks. Note that docbuilder
needs to be updated to include this commit.
@philippjfr This will need some refining no doubt but I think it is probably best to merge and polish later.
Looks pretty reasonable. Can make fixes later, merging.
This PR aims to add support for notebook slicing via the sphinx directive. For instance you could use:
Which includes everything in the notebook from the substring match to the end match (inclusive of both cells). Alternatively you can do:
Where
:end:
is a count, starting the the cell where the substring matched (inclusive).The directive raises an exception when substrings don't match which acts as a partial guard against unexpected notebook changes.
Action items