From 2081675afbfed404f6a580bce0ec363bebbfd98b Mon Sep 17 00:00:00 2001 From: Vincent Jacques Date: Fri, 6 Sep 2013 11:00:59 +0200 Subject: [PATCH] Fix doc generation --- doc/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/conf.py b/doc/conf.py index 63f326af..9f856df3 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -281,6 +281,7 @@ githubClasses = [ "../github/MainClass.py", "../github/PaginatedList.py", "../github/Requester.py", + "../github/Consts.py", "../github/__init__.py"] ] @@ -318,7 +319,7 @@ for githubClass in githubClasses + ["MainClass"]: if not isProperty: assert method is None, method + " has no :calls: section" method = line.split("(")[0][8:] - if method in ["_initAttributes", "_useAttributes", "__init__", "__create_pull_1", "__create_pull_2", "__create_pull", "_hub", "__get_FIX_REPO_GET_GIT_REF", "__set_FIX_REPO_GET_GIT_REF", "__get_per_page", "__set_per_page"]: + if method in ["_initAttributes", "_useAttributes", "__init__", "__create_pull_1", "__create_pull_2", "__create_pull", "_hub", "__get_FIX_REPO_GET_GIT_REF", "__set_FIX_REPO_GET_GIT_REF", "__get_per_page", "__set_per_page", "create_from_raw_data", "dump", "load"]: method = None isProperty = False if line.startswith(" :calls: `"):