From 19eb6907c679e7717050bcba5160d378f0dc9bb0 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Thu, 31 Jan 2013 17:57:56 +0000 Subject: [PATCH] trying to fix doc 2 --- GPy/kern/Matern32.py | 2 +- doc/conf.py | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/GPy/kern/Matern32.py b/GPy/kern/Matern32.py index 87f402f2..a5d70a62 100644 --- a/GPy/kern/Matern32.py +++ b/GPy/kern/Matern32.py @@ -14,7 +14,7 @@ class Matern32(kernpart): .. math:: - k(r) = \\sigma^2 (1 + \\sqrt{3} r) \exp(- \sqrt{3} r) \\ \\ \\ \\ \\ \\text{ where } r = \sqrt{\sum_{i=1}^D \\frac{(x_i-y_i)^2}{\ell_i^2} } + k(r) = \\sigma^2 (1 + \\sqrt{3} r) \exp(- \sqrt{3} r) \\ aa \\ \\ \\ \\text{ where } r = \sqrt{\sum_{i=1}^D \\frac{(x_i-y_i)^2}{\ell_i^2} } :param D: the number of input dimensions :type D: int diff --git a/doc/conf.py b/doc/conf.py index 2a02e18d..693a3197 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -59,7 +59,7 @@ import sys, os #return 1 #__len__ = __int__ = __long__ = __index__ = __hash__ - + #def __oct__(self): #return '01' @@ -116,9 +116,10 @@ print "Adding path" # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. print "Importing extensions" - + extensions = [#'ipython_directive', - 'sphinx.ext.autodoc', 'sphinx.ext.viewcode' + 'sphinx.ext.autodoc', 'sphinx.ext.viewcode', + 'sphinx.ext.pngmath' #'matplotlib.sphinxext.mathmpl', #'matplotlib.sphinxext.only_directives', #'matplotlib.sphinxext.plot_directive', @@ -127,7 +128,7 @@ extensions = [#'ipython_directive', #'sphinx.ext.doctest', #'ipython_console_highlighting', #'inheritance_diagram', - #'numpydoc'] + #'numpydoc'] print "finished importing" ############################################################################## @@ -443,5 +444,3 @@ epub_copyright = u'2013, Author' #def setup(app): #app.connect("autodoc-skip-member", skip) - -