I have a package written, call it MAUDIE. Also in the folder containing the MAUDIE modules, I have a docs
folder containing the sphinx documentation, and a tutorial
folder. In the tutorial
folder, I have a file use_Maudie.py
, it's a script to run a basic use case at the command line, with a function use_maudie()
.
I want to include the docustring from use_maudie()
in my documentation, and tried the following:
.. currentmodule:: MAUDIE.tutorial.use_Maudie
.. autofunction:: use_maudie
This (probably obviously) didn't work, as there is no module MAUDIE.tutorial.
Is there a way to include the formatted version of the use_maudie()
Docustring and still leave use_Maudie.py
in the tutorial
folder?