From 6483218cb5aca5eca1909ab6792c441c0bf0389b Mon Sep 17 00:00:00 2001 From: Bret Curtis Date: Mon, 13 Feb 2017 10:48:37 +0100 Subject: [PATCH] create warnings for missing libs --- docs/source/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 20eb12786..8d193f1d4 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -51,7 +51,7 @@ try: "mwbase/windowmanager.hpp", "mwbase/world.hpp"]) } except ImportError: - pass + print("WARNING: Unable to import breathe, code documentation won't be generated.") # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -86,6 +86,7 @@ try: int(cmake_data[26][1][1].contents)) except ImportError: release = "UNRELEASED" + print("WARNING: Unable to import parse_cmake, version will be set to: {0}.".format(release)) # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.