Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Commit a860518

Browse files
tcNickolasvxfield
andauthored
Fix capitalization in xref links (#902)
xref links in https://docs.microsoft.com/en-us/qsharp/api/qsharp/microsoft.quantum.diagnostics.assertqubitwithintolerance and https://docs.microsoft.com/en-us/qsharp/api/qsharp/microsoft.quantum.diagnostics.assertqubit don't render as links. I believe docgen doesn't recognize API links if they are given in lowercase, it needs proper capitalization in xref. Co-authored-by: XField <58103249+vxfield@users.noreply.github.com>
1 parent 0c0e65d commit a860518

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Simulation/QSharpFoundation/Diagnostics/AssertQubit.qs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace Microsoft.Quantum.Diagnostics {
1919
/// - AssertQubitIsInStateWithinTolerance
2020
///
2121
/// # Remarks
22-
/// <xref:microsoft.quantum.diagnostics.assertqubitisinstatewithintolerance> allows for asserting
22+
/// <xref:Microsoft.Quantum.Diagnostics.AssertQubitIsInStateWithinTolerance> allows for asserting
2323
/// arbitrary qubit states rather than only $Z$ eigenstates.
2424
///
2525
/// Note that the Adjoint and Controlled versions of this operation will not
@@ -47,7 +47,7 @@ namespace Microsoft.Quantum.Diagnostics {
4747
/// - AssertQubitIsInStateWithinTolerance
4848
///
4949
/// # Remarks
50-
/// <xref:microsoft.quantum.diagnostics.assertqubitisinstatewithintolerance> allows for asserting
50+
/// <xref:Microsoft.Quantum.Diagnostics.AssertQubitIsInStateWithinTolerance> allows for asserting
5151
/// arbitrary qubit states rather than only $Z$ eigenstates.
5252
///
5353
/// Note that the Adjoint and Controlled versions of this operation will not

0 commit comments

Comments
 (0)