How to reference an *.rst file from the docstring of a module using sphinx

Viewed 760

I wrote a little tutorial in rst format. Now for the documentation generated by apidoc, I would like to reference that tutorial in the docstring using:

:any:`<my_tut>`

Where my_tut.rst is in the top level directory of my Sphinx-documentation source-folder. However, I get the error

WARNING: 'any' reference target not found: my_tut

Added info:

The output of apidoc is not in the toplevel source folder, but in a subfolder called code.

1 Answers
Related