From 6a3e141147cc0da7019e5f44cc693bdbb3b2e98d Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Thu, 6 Jul 2023 23:05:46 +0200 Subject: [PATCH] MAINT: relink intersphinx objects after `TYPE_CHECKING` insertion --- docs/_relink_references.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/_relink_references.py b/docs/_relink_references.py index 4f36408b..98fe0dc3 100644 --- a/docs/_relink_references.py +++ b/docs/_relink_references.py @@ -19,10 +19,14 @@ from sphinx.environment import BuildEnvironment __TARGET_SUBSTITUTIONS = { + "Literal[(-1, 1)]": "typing.Literal", "Literal[- 1, 1]": "typing.Literal", "Literal[-1, 1]": "typing.Literal", "OuterStates": "ampform_dpd.decay.OuterStates", + "ParameterValue": "tensorwaves.interface.ParameterValue", + "ParametrizedBackendFunction": "tensorwaves.function.ParametrizedBackendFunction", "PoolSum": "ampform.sympy.PoolSum", + "PositionalArgumentFunction": "tensorwaves.function.PositionalArgumentFunction", "sp.Expr": "sympy.core.expr.Expr", "sp.Indexed": "sympy.tensor.indexed.Indexed", "sp.Rational": "sympy.core.numbers.Rational", @@ -32,6 +36,7 @@ } __REF_TYPE_SUBSTITUTIONS = { "ampform_dpd.decay.OuterStates": "obj", + "tensorwaves.interface.ParameterValue": "obj", }