From dd8108d393e83bd761fe8e4981c20183fb7d8e26 Mon Sep 17 00:00:00 2001 From: yuyang18 Date: Fri, 15 Jun 2018 13:08:32 +0800 Subject: [PATCH] Add example notation --- source/conf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/conf.py b/source/conf.py index b5f5bfa95..52e5ba1b1 100644 --- a/source/conf.py +++ b/source/conf.py @@ -42,6 +42,10 @@ extensions = [ 'sphinx.ext.napoleon', ] +# napoleon configuration +napoleon_use_admonition_for_examples = True + + # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] -- GitLab