X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/0959d38b27c03863ec376839dcc6d896d04e36ea..cc6dbd55a2af538657c288a709662b9c84949854:/docs/conf.py diff --git a/docs/conf.py b/docs/conf.py index b4b1e16..c888d0e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -24,6 +24,13 @@ os.environ['DJANGO_SETTINGS_MODULE'] = 'dummy-settings' # Import loader so that loader_tags will be correctly added to builtins. Weird import situations... this is necessary for doc build to work. from django.template import loader +# HACK to override descriptors that would cause AttributeErrors to be raised otherwise (which would keep them from being documented.) +from philo.contrib.sobol.models import SearchView +SearchView.searches = 5 +from philo.models.nodes import TargetURLModel, File +TargetURLModel.reversing_parameters = 5 +File.file = 5 + # -- General configuration ----------------------------------------------------- # If your documentation needs a minimal Sphinx version, state it here.