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:
parent
9508ad929c
commit
d03c41e741
32
README
Normal file
32
README
Normal 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
|
||||
|
1
sphinxcontrib/__init__.py
Normal file
1
sphinxcontrib/__init__.py
Normal file
|
@ -0,0 +1 @@
|
|||
__import__('pkg_resources').declare_namespace(__name__)
|
|
@ -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.
|
||||
"""
|
||||
|
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue