Sphinx generates URL to non-existing `source code` pages in the documentation when using the plot extension with inline code
Created by: laurentes
The plot extension of sphinx is always generating a source code URL when using the
.. plot:: directive. This is particularly annoying when inline python code is used after this directive, as sphinx will still generate an URL pointing to a file which does not exist. There are two potential solutions:
- Either we find a way to disable the generation of the source code URL. I've looked at the sphinx documentation without success so far.
- Or we should always create an external python file which will be used by the
This currently affects the tutorial about the measure submodule of Bob.