From aca0e70d599534692ae94767d973f0b7b85db83b Mon Sep 17 00:00:00 2001 From: kenho811 <57944769+kenho811@users.noreply.github.com> Date: Wed, 22 Jun 2022 17:59:18 +0800 Subject: [PATCH] Update conf.py --- docs/conf.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index a32b953..ad62835 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -59,6 +59,7 @@ # ones. extensions = ['sphinx.ext.graphviz', 'sphinx.ext.autodoc', + 'sphinx.ext.viewcode', ] @@ -90,6 +91,13 @@ 'css/custom.css', ] +# -- Options for sphinx.ext.viewcode ------------------------------------------- +# See: https://www.sphinx-doc.org/es/master/usage/extensions/viewcode.html + +# If this is True, viewcode extension will emit viewcode-follow-imported event to resolve the name of +# the module by other extensions. The default is True. +viewcode_follow_imported_members = True + ## Github Action - Readthedocs Integration # The name of your GitHub repository if not is_local: