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']