Skip to content

Commit

Permalink
MAINT: relink intersphinx objects after TYPE_CHECKING insertion
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Jul 6, 2023
1 parent 0480af4 commit 6a3e141
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/_relink_references.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -32,6 +36,7 @@
}
__REF_TYPE_SUBSTITUTIONS = {
"ampform_dpd.decay.OuterStates": "obj",
"tensorwaves.interface.ParameterValue": "obj",
}


Expand Down

0 comments on commit 6a3e141

Please sign in to comment.