From 3adc21d906a4fbd289aa532ba0db6366c319b2ed Mon Sep 17 00:00:00 2001
From: Oscar Gustafsson <oscar.gustafsson@gmail.com>
Date: Mon, 13 Feb 2023 12:12:53 +0100
Subject: [PATCH] Fix NumPy crosslinks

---
 b_asic/signal_generator.py | 4 ++--
 docs_sphinx/conf.py        | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/b_asic/signal_generator.py b/b_asic/signal_generator.py
index fce18c42..786b88bf 100644
--- a/b_asic/signal_generator.py
+++ b/b_asic/signal_generator.py
@@ -193,7 +193,7 @@ class Gaussian(SignalGenerator):
     """
     Signal generator with Gaussian noise.
 
-    See :class:`numpy.random.Generator.normal` for further details.
+    See :py:meth:`numpy.random.Generator.normal` for further details.
 
     Parameters
     ----------
@@ -232,7 +232,7 @@ class Uniform(SignalGenerator):
     """
     Signal generator with uniform noise.
 
-    See :class:`numpy.random.Generator.normal` for further details.
+    See :py:meth:`numpy.random.Generator.normal` for further details.
 
 
     Parameters
diff --git a/docs_sphinx/conf.py b/docs_sphinx/conf.py
index f49a852c..c0ac067d 100644
--- a/docs_sphinx/conf.py
+++ b/docs_sphinx/conf.py
@@ -8,7 +8,7 @@
 import shutil
 
 project = 'B-ASIC'
-copyright = '2020-2022, Oscar Gustafsson et al'
+copyright = '2020-2023, Oscar Gustafsson et al'
 author = 'Oscar Gustafsson et al'
 html_logo = "../logo_tiny.png"
 
@@ -37,6 +37,7 @@ intersphinx_mapping = {
     'python': ('https://docs.python.org/3/', None),
     'graphviz': ('https://graphviz.readthedocs.io/en/stable/', None),
     'matplotlib': ('https://matplotlib.org/stable/', None),
+    'numpy': ('https://numpy.org/doc/stable/', None),
     'PyQt5': ("https://www.riverbankcomputing.com/static/Docs/PyQt5", None),
 }
 
-- 
GitLab