Skip to content
This repository was archived by the owner on Aug 25, 2024. It is now read-only.

Commit c3eedcd

Browse files
committed
docs: Enable doctest
Signed-off-by: John Andersen <[email protected]>
1 parent 57c340c commit c3eedcd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/conf.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"sphinx.ext.autodoc",
4040
"sphinx.ext.viewcode",
4141
"sphinx.ext.napoleon",
42+
"sphinx.ext.doctest",
4243
"sphinxcontrib.asyncio",
4344
"recommonmark",
4445
]
@@ -85,3 +86,12 @@
8586
# -- Extension configuration -------------------------------------------------
8687

8788
napoleon_numpy_docstring = True
89+
90+
doctest_global_setup = """
91+
import sys
92+
import inspect
93+
import asyncio
94+
95+
from dffml.base import *
96+
from dffml.df.base import *
97+
"""

0 commit comments

Comments
 (0)