[DOC] separate files.
authorOpenerp Online <online@openerp.com>
Wed, 29 Feb 2012 14:15:36 +0000 (15:15 +0100)
committerOpenerp Online <online@openerp.com>
Wed, 29 Feb 2012 14:15:36 +0000 (15:15 +0100)
bzr revid: online@openerp.com-20120229141536-u3cip5vptyunpa8v

doc/api.rst [deleted file]
doc/api/core.rst [new file with mode: 0644]
doc/api/models.rst [new file with mode: 0644]
doc/api/startup.rst [new file with mode: 0644]
doc/conf.py
doc/index.rst.inc

diff --git a/doc/api.rst b/doc/api.rst
deleted file mode 100644 (file)
index 32044b7..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-.. _api:
-
-OpenERP API Reference
-=====================
-
-.. image:: _static/openerp.png
-   :alt: OpenERP framework logo
-   :class: floatingflask
-
-Welcome to OpenERP API reference.
-
-.. _openerp library:
-
-Server-side library
--------------------
-
-.. automodule:: openerp
-   :members:
-   :undoc-members:
-
-Start-up script
----------------
-
-To run the OpenERP server, the conventional approach is to use the
-`openerp-server` script.  It loads the :ref:`openerp library`, sets a few
-configuration variables corresponding to command-line arguments, and starts to
-listen to incoming connections from clients.
-
-Depending on your deployment needs, you can write such a start-up script very
-easily. We also recommend you take a look at an alternative tool called
-`openerp-command` that can, among other things, launch the server.
-
-.. versionadded:: 6.1
-
-Yet another alternative is to use a WSGI-compatible HTTP server and let it call
-into one of the WSGI entry points of the server.
-
-.. versionadded:: 6.1
-
-ORM and models
---------------
-
-.. automodule:: openerp.osv.orm
-   :members:
-   :undoc-members:
diff --git a/doc/api/core.rst b/doc/api/core.rst
new file mode 100644 (file)
index 0000000..05ddf17
--- /dev/null
@@ -0,0 +1,10 @@
+
+.. _openerp library:
+
+Server-side library
+-------------------
+
+.. automodule:: openerp
+   :members:
+   :undoc-members:
+
diff --git a/doc/api/models.rst b/doc/api/models.rst
new file mode 100644 (file)
index 0000000..143147c
--- /dev/null
@@ -0,0 +1,7 @@
+
+ORM and models
+--------------
+
+.. automodule:: openerp.osv.orm
+   :members:
+   :undoc-members:
diff --git a/doc/api/startup.rst b/doc/api/startup.rst
new file mode 100644 (file)
index 0000000..98e8f6a
--- /dev/null
@@ -0,0 +1,20 @@
+
+Start-up script
+---------------
+
+To run the OpenERP server, the conventional approach is to use the
+`openerp-server` script.  It loads the :ref:`openerp library`, sets a few
+configuration variables corresponding to command-line arguments, and starts to
+listen to incoming connections from clients.
+
+Depending on your deployment needs, you can write such a start-up script very
+easily. We also recommend you take a look at an alternative tool called
+`openerp-command` that can, among other things, launch the server.
+
+.. versionadded:: 6.1
+
+Yet another alternative is to use a WSGI-compatible HTTP server and let it call
+into one of the WSGI entry points of the server.
+
+.. versionadded:: 6.1
+
index 090276d..eea377a 100644 (file)
@@ -38,7 +38,7 @@ source_suffix = '.rst'
 #source_encoding = 'utf-8-sig'
 
 # The master toctree document.
-master_doc = 'api'
+master_doc = 'index'
 
 # General information about the project.
 project = u'OpenERP Technical Documentation'
index 6903d95..8b3a485 100644 (file)
@@ -8,5 +8,7 @@ functions, classes, and method.
 .. toctree::
    :maxdepth: 2
 
-   api
+   api/core
+   api/startup
+   api/models