From f1cf9483566ae719d605df7754630e68fdb6f77f Mon Sep 17 00:00:00 2001 From: Sajith Sasidharan <sajith@hcoop.net> Date: Fri, 8 Jan 2021 13:45:16 -0500 Subject: [PATCH] Enable markdown support in Sphinx configuration The upstream Contributor Covenant is a markdown document. Since we prefer to keep things close to the original, enabling markdown support to render that document seems like a good idea. --- docs/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 34ddd1bd4..612c324a3 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -28,7 +28,7 @@ import os # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. -extensions = [] +extensions = ['recommonmark'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -36,7 +36,7 @@ templates_path = ['_templates'] # The suffix(es) of source filenames. # You can specify multiple suffix as a list of string: # source_suffix = ['.rst', '.md'] -source_suffix = '.rst' +source_suffix = ['.rst', '.md'] # The encoding of source files. #source_encoding = 'utf-8-sig'