From: Mike Bayer Date: Sun, 4 Jul 2010 22:52:34 +0000 (-0400) Subject: some prep for the 'viewcode' plugin, which works, though not sure if its helpful X-Git-Tag: rel_0_6_2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=145a3c627c38208cfc4cd99c9ef1c1a0a0555b6d;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git some prep for the 'viewcode' plugin, which works, though not sure if its helpful --- diff --git a/doc/build/conf.py b/doc/build/conf.py index 2c5d78445d..64d5c3ed32 100644 --- a/doc/build/conf.py +++ b/doc/build/conf.py @@ -27,7 +27,11 @@ import sqlalchemy # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'builder.builders'] +#extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode', +# 'sphinx.ext.doctest', 'builder.builders'] + +extensions = ['sphinx.ext.autodoc', + 'sphinx.ext.doctest', 'builder.builders'] # Add any paths that contain templates here, relative to this directory. templates_path = ['templates'] diff --git a/doc/build/reference/dialects/mysql.rst b/doc/build/reference/dialects/mysql.rst index 0a2af11b5a..f05d751c55 100644 --- a/doc/build/reference/dialects/mysql.rst +++ b/doc/build/reference/dialects/mysql.rst @@ -6,8 +6,6 @@ MySQL MySQL Column Types ------------------ -.. automodule:: sqlalchemy.dialects.mysql - .. autoclass:: NUMERIC :members: __init__ :show-inheritance: diff --git a/doc/build/reference/dialects/oracle.rst b/doc/build/reference/dialects/oracle.rst index 91e06aaf7f..56b6bce50d 100644 --- a/doc/build/reference/dialects/oracle.rst +++ b/doc/build/reference/dialects/oracle.rst @@ -9,9 +9,6 @@ Oracle Column Types In addition to those types at :ref:`types`, datatypes specific to the Oracle dialect include those listed here. -.. automodule:: sqlalchemy.dialects.oracle - - .. autoclass:: BFILE :members: __init__ :show-inheritance: diff --git a/doc/build/static/docs.css b/doc/build/static/docs.css index 1df49f8b22..84eb056b59 100644 --- a/doc/build/static/docs.css +++ b/doc/build/static/docs.css @@ -239,6 +239,9 @@ pre { font-weight: bold; } +.viewcode-back, .viewcode-link { + float:right; +} .prerelease { border: solid #c25757 2px; border-radius: 4px;