From 79ce3fe6b736c5b96cf3db685db6d809776d6499 Mon Sep 17 00:00:00 2001 From: Jake Leahy Date: Sat, 26 Oct 2024 19:24:15 +1100 Subject: [PATCH] Fix links for succ/pred/inc/dec in system docs (#24363) Links for succ/pred/inc/dec were incorrect since they link to a symbol with `int` as their second type. Uses local referencing instead so that it links to the correct symbol. Doesn't change the other links since they worked and doing the same local referencing for `high`/`low` would've make them link to the group of procs instead of the specific ones for ordinals --- lib/system_overview.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/system_overview.rst b/lib/system_overview.rst index 50046b9e33..0250f5e20c 100644 --- a/lib/system_overview.rst +++ b/lib/system_overview.rst @@ -144,10 +144,10 @@ types, as well as their subtypes. ===================== ======================================= Proc Usage ===================== ======================================= -`succ<#succ,T,int>`_ Successor of the value -`pred<#pred,T,int>`_ Predecessor of the value -`inc<#inc,T,int>`_ Increment the ordinal -`dec<#dec,T,int>`_ Decrement the ordinal +succ_ Successor of the value +pred_ Predecessor of the value +inc_ Increment the ordinal +dec_ Decrement the ordinal `high<#high,T>`_ Return the highest possible value `low<#low,T>`_ Return the lowest possible value `ord<#ord,T>`_ Return `int` value of an ordinal value