create doc skeleton

This commit is contained in:
Christophe Benz 2010-11-25 16:07:45 +01:00
commit b21d0a104b
17 changed files with 179 additions and 6 deletions

View file

@ -0,0 +1,6 @@
:mod:`weboob.core.backendscfg`
==============================
.. automodule:: weboob.core.backendscfg
:members:
:undoc-members:

View file

@ -0,0 +1,6 @@
:mod:`weboob.core.bcall`
========================
.. automodule:: weboob.core.bcall
:members:
:undoc-members:

View file

@ -0,0 +1,13 @@
:mod:`weboob.core`
==================
Contents:
.. toctree::
:maxdepth: 2
backendscfg
bcall
modules
ouiboube
scheduler

View file

@ -0,0 +1,6 @@
:mod:`weboob.core.modules`
==========================
.. automodule:: weboob.core.modules
:members:
:undoc-members:

View file

@ -0,0 +1,6 @@
:mod:`weboob.core.ouiboube`
===========================
.. automodule:: weboob.core.ouiboube
:members:
:undoc-members:

View file

@ -0,0 +1,6 @@
:mod:`weboob.core.scheduler`
============================
.. automodule:: weboob.core.scheduler
:members:
:undoc-members:

10
docs/source/api/index.rst Normal file
View file

@ -0,0 +1,10 @@
API
===
Contents:
.. toctree::
:maxdepth: 2
core/index
tools/index

View file

@ -0,0 +1,6 @@
:mod:`weboob.tools.backend`
===========================
.. automodule:: weboob.tools.backend
:members:
:undoc-members:

View file

@ -0,0 +1,9 @@
:mod:`weboob.tools`
===================
Contents:
.. toctree::
:maxdepth: 2
backend

View file

@ -0,0 +1,5 @@
Applications
============
boobank
-------

5
docs/source/backends.rst Normal file
View file

@ -0,0 +1,5 @@
Backends
========
cragr
-----

View file

@ -0,0 +1,2 @@
Application development
=======================

View file

@ -0,0 +1,2 @@
Backend development
===================

View file

@ -0,0 +1,10 @@
Guides
======
Contents:
.. toctree::
:maxdepth: 2
application
backend

View file

@ -1,16 +1,23 @@
.. Weboob documentation master file, created by
sphinx-quickstart on Thu Nov 25 11:56:52 2010.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Weboob
======
Welcome to Weboob's documentation!
==================================
This is the developer documentation.
.. warning::
This documentation is being written.
Contents:
.. toctree::
:maxdepth: 2
overview
install
backends
applications
guides/index
api/index
Indices and tables
==================

30
docs/source/install.rst Normal file
View file

@ -0,0 +1,30 @@
Installation
============
If you install Weboob from sources, you'll want to install the Python egg in development mode.
You'll be able to update the git repository with remote changes, without re-installing the software.
And if you plan to hack on Weboob, you'll see your own changes apply the same way.
Install
-------
As root:
``# ./setup.py develop``
The development mode installation doesn't copies files, but creates an egg-link
in the Python system packages directory:
* ``/usr/lib/python2.5/site-packages`` for Python 2.5
* ``/usr/local/lib/python2.6/dist-packages`` for Python 2.6
Scripts are copied to:
* ``/usr/bin`` for Python 2.5
* ``/usr/local/bin`` for Python 2.6
Uninstall
---------
* remove the ``/usr/local/lib/python2.6/dist-packages/weboob.egg-link``
* remove the weboob line from ``/usr/local/lib/python2.6/dist-packages/easy-install.pth``

44
docs/source/overview.rst Normal file
View file

@ -0,0 +1,44 @@
Overview
========
Weboob (Web Out Of Browsers) provides:
* :doc:`applications` to interact with websites
* :doc:`backends`, each one handles a specific website
* a :doc:`core library <api/core/index>` providing all the features needed by backends
* :doc:`tools <api/tools/index>` to help develop backends and applications
Weboob is written in Python and is distributed under the GPLv3 license.
Why using Weboob?
-----------------
* you get essential information faster
* you can write scripts using weboob to automate tasks
* it extends websites features
* it helps blind people using crappy websites
Capabilities
------------
The core library defines capabilities. They represent features common to various websites.
For example, http://www.youtube.com and http://www.dailymotion.com are both videos
providers: Weboob defines the ``ICapVideo`` capability.
Each backend interfaces a website and implements one or many of these
capabilities. Backends can be configured, which means that the end-user can
provide personal information to access the underlaying website (login/password
for example).
Multi-backend call
------------------
The core library provides a mechanism allowing applications to call many backends in
parallel, in a multi-threaded way.
For example, one could search a video on many providers websites.
Applications
------------
Applications are toolkit-agnostic. They can use Gtk, Qt or just be text-only, more adapted to reuse data through pipes.