Commit 82b851c2 authored by Aurel's avatar Aurel

manage new path of documents


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40382 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d6b4df68
...@@ -211,6 +211,11 @@ class DocumentationHelper(Implicit): ...@@ -211,6 +211,11 @@ class DocumentationHelper(Implicit):
documented_object = Products documented_object = Products
for key in module_list[1:]: for key in module_list[1:]:
documented_object = getattr(documented_object, key, None) documented_object = getattr(documented_object, key, None)
elif base_module == "erp5":
import erp5
documented_object = erp5
for key in module_list[1:]:
documented_object = getattr(documented_object, key, None)
else: else:
raise NotImplementedError raise NotImplementedError
#fp, pathname, description = imp.find_module(base_module) #fp, pathname, description = imp.find_module(base_module)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment