From 6beb6b83dcb30e4c4147d8e879a52d45db974c36 Mon Sep 17 00:00:00 2001 From: Gilles Louppe Date: Fri, 22 Apr 2016 13:18:38 +0200 Subject: [PATCH] DOC: hide inherited methods --- ci/templates/html.mako | 4 +++- ...inference from multidimensional data.ipynb | 20 +++++++++---------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/ci/templates/html.mako b/ci/templates/html.mako index 09ad0e0..0e5eb25 100644 --- a/ci/templates/html.mako +++ b/ci/templates/html.mako @@ -1,6 +1,7 @@ <% import re import sys + import inspect import markdown try: @@ -296,6 +297,7 @@ <% class_vars = c.class_variables() smethods = c.functions() + smethods = [f for f in smethods if inspect.getmodule(f.func).__name__.startswith("carl")] inst_vars = c.instance_variables() methods = c.methods() mro = c.module.mro(c) @@ -362,7 +364,7 @@