From 1d587145de0bfad76db50b5e2a96a659ad42e032 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Wed, 23 Mar 2011 13:21:26 +0100 Subject: [IMP] fix docstrings on DataSet, insert into internal APIdoc (and fix documentation PYTHONPATH to generate this correctly) bzr revid: xmo@openerp.com-20110323122126-3qj7vkhjsc6l0x5x --- doc/source/conf.py | 3 ++- doc/source/development.rst | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'doc/source') diff --git a/doc/source/conf.py b/doc/source/conf.py index d3f486f19c5..13a490c5072 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -16,7 +16,8 @@ import sys, os # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. -#sys.path.insert(0, os.path.abspath('.')) +sys.path.insert(0, os.path.abspath('../../addons')) +sys.path.insert(0, os.path.abspath('../..')) # -- General configuration ----------------------------------------------------- diff --git a/doc/source/development.rst b/doc/source/development.rst index a2be0ec2eef..afc6040227d 100644 --- a/doc/source/development.rst +++ b/doc/source/development.rst @@ -8,6 +8,15 @@ Contributing to OpenERP Web * Style guide and coding conventions (PEP8? More) * Test frameworks in JS? +Internal API Doc +---------------- + +Python +++++++ + +.. autoclass:: base.controllers.main.DataSet + :members: + Testing ------- -- cgit v1.2.3