Building docs#

To build the HTML documentation, run:

spin docs

Output is in scikit-image/doc/build/html/. Add the --clean flag to build from scratch, deleting any cached output.

Fixing Warnings#

  • “citation not found: R###” There is probably an underscore after a reference in the first line of a docstring (e.g. [1]_). Use this method to find the source file: $ cd doc/build; grep -rin R####

  • “Duplicate citation R###, other instance in…”” There is probably a [2] without a [1] in one of the docstrings

  • Make sure to use pre-sphinxification paths to images (not the _images directory)