From 7df00fb1c879bac1e07cc8fa1d9be94cc287638e Mon Sep 17 00:00:00 2001 From: Andrew Hutchings Date: Thu, 25 Oct 2012 14:43:47 +0100 Subject: [PATCH] More Mac fixes --- doc/conf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/conf.py b/doc/conf.py index b7514dd4..3ffd15e6 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -13,6 +13,7 @@ # serve to show the default. import datetime +import sys # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -26,7 +27,8 @@ import datetime # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = ['rst2pdf.pdfbuilder'] +if sys.platform is not 'darwin': + extensions = ['rst2pdf.pdfbuilder'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates']