From 6a3c0166cfe9072a78305ca0187606b0edcd7dbc Mon Sep 17 00:00:00 2001 From: "Christopher K. Long" Date: Thu, 27 Mar 2025 10:55:38 +0100 Subject: [PATCH] Added line numbers to documentation --- docs/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/conf.py b/docs/conf.py index e6a1f93..b809fcc 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -26,6 +26,7 @@ # autodoc_inherit_docstrings = True napoleon_include_init_with_doc = True napoleon_numpy_docstring = True +viewcode_line_numbers = True myst_heading_anchors = 5 suppress_warnings = ["myst.header"]