1
0
Fork 0
mirror of https://github.com/NaN-tic/trydoc.git synced 2023-12-14 02:03:42 +01:00

Move trydoc as a sphinxcontrib package.

This commit is contained in:
Albert Cervera i Areny 2012-02-18 13:27:24 +01:00
parent 9508ad929c
commit d03c41e741
4 changed files with 35 additions and 2 deletions

32
README Normal file
View file

@ -0,0 +1,32 @@
trydoc
======
http://packages.python.org/sphinxcontrib-trydoc
A Sphinx_ extension providing Tryton-specific markup.
Installation
------------
This extension can be installed from the Python Package Index::
pip install trydoc
Alternatively, you can clone the trydoc repository from BitBucket,
and install the extension directly from the repository::
hg clone https://bitbucket.org/albertnan/trydoc
cd trydoc
python setup.py install
Usage
-----
Please refer to the documentation_ for further information.
.. _`Sphinx`: http://sphinx.pocoo.org/latest
.. _documentation: http://packages.python.org/trydoc

View file

@ -0,0 +1 @@
__import__('pkg_resources').declare_namespace(__name__)

View file

@ -3,7 +3,7 @@
trydoc
------
:copyright: Copyright 2011 by NaN Projectes de Programari Lliure, S.L.
:copyright: Copyright 2012 by NaN Projectes de Programari Lliure, S.L.
:license: BSD, see LICENSE for details.
"""

View file

@ -25,7 +25,7 @@ import sys, os
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['trydoc']
extensions = ['sphinxcontrib.trydoc']
import proteus
proteus.config.set_trytond(database_type='sqlite')