diff --git a/Documentation/conf.py b/Documentation/conf.py index 2186b6da923529f7401dc55f2f0d56ac2f871422..10886a9fb03ead2822cafc09b08c717c2cc23b84 100644 --- a/Documentation/conf.py +++ b/Documentation/conf.py @@ -15,6 +15,14 @@ sys.path.insert(0, os.path.abspath("./")) logger = sphinx.util.logging.getLogger("card10/conf.py") +# Hawkmoth does not yet support Sphinx 3 +# +# See https://github.com/jnikula/hawkmoth/issues/17 +if sphinx.version_info[0] > 2: + logger.warning( + "Sphinx versions >= 3 are not yet working properly with hawkmoth. Documentation of C items will probably be broken ..." + ) + # -- Project information -----------------------------------------------------