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: