[blivet:master 3/5] Add doctest extension so that doctest target runs.
Brian C. Lane
bcl at redhat.com
Thu Jun 12 00:51:15 UTC 2014
On Tue, Jun 10, 2014 at 05:17:02PM -0400, mulhern wrote:
> Currently, the blivet docs contain no doctest material, so the target
> does nothing.
>
> Signed-off-by: mulhern <amulhern at redhat.com>
> ---
> doc/conf.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/doc/conf.py b/doc/conf.py
> index ee696f2..eab3168 100644
> --- a/doc/conf.py
> +++ b/doc/conf.py
> @@ -25,7 +25,7 @@ sys.path.insert(0, os.path.abspath('..'))
>
> # Add any Sphinx extension module names here, as strings. They can be extensions
> # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
> -extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.coverage']
> +extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.doctest']
>
> # Add any paths that contain templates here, relative to this directory.
> templates_path = ['_templates']
> --
> 1.9.3
Do we really want to support doctests? IMO they clutter up docstrings
and make them harder to read.
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
More information about the anaconda-patches
mailing list