You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2013/08/04 02:58:48 UTC

[1/2] git commit: docs: Enable sphinx.ext.viewcode extenstion.

Updated Branches:
  refs/heads/trunk 3e8d0107b -> 18211fac3


docs: Enable sphinx.ext.viewcode extenstion.


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/e0617986
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/e0617986
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/e0617986

Branch: refs/heads/trunk
Commit: e06179862d25754691b1ef4b5481e3f94cc748ce
Parents: 3e8d010
Author: Tomaz Muraus <to...@apache.org>
Authored: Sun Aug 4 02:23:39 2013 +0200
Committer: Tomaz Muraus <to...@apache.org>
Committed: Sun Aug 4 02:23:39 2013 +0200

----------------------------------------------------------------------
 docs/conf.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/e0617986/docs/conf.py
----------------------------------------------------------------------
diff --git a/docs/conf.py b/docs/conf.py
index 5383442..7877e32 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -25,7 +25,8 @@ sys.path.insert(0, os.path.abspath('../'))
 
 # 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.intersphinx']
+extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx',
+              'sphinx.ext.viewcode']
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']


[2/2] git commit: docs: Use :mod: tags for modules.

Posted by to...@apache.org.
docs: Use :mod: tags for modules.


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/18211fac
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/18211fac
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/18211fac

Branch: refs/heads/trunk
Commit: 18211fac3cab22a098527fb9c3c9f315f20d9bde
Parents: e061798
Author: Tomaz Muraus <to...@apache.org>
Authored: Sun Aug 4 02:32:14 2013 +0200
Committer: Tomaz Muraus <to...@apache.org>
Committed: Sun Aug 4 02:32:14 2013 +0200

----------------------------------------------------------------------
 contrib/generate_provider_feature_matrix_table.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/18211fac/contrib/generate_provider_feature_matrix_table.py
----------------------------------------------------------------------
diff --git a/contrib/generate_provider_feature_matrix_table.py b/contrib/generate_provider_feature_matrix_table.py
index d4ac4d4..afdcfb7 100755
--- a/contrib/generate_provider_feature_matrix_table.py
+++ b/contrib/generate_provider_feature_matrix_table.py
@@ -218,8 +218,9 @@ def generate_supported_providers_table(provider_matrix):
     data.append(header)
     for provider, values in provider_matrix.items():
         name_str = '`%s`_' % (values['name'])
+        module_str = ':mod:`%s`' % (values['module'])
         class_str = ':class:`%s`' % (values['class'])
-        row = [name_str, values['constant'], values['module'], class_str]
+        row = [name_str, values['constant'], module_str, class_str]
         data.append(row)
 
     result = generate_rst_table(data)