[commit: ghc] master: Fix broken links in documentation (50d1c72)

git at git.haskell.org git at git.haskell.org
Fri Sep 11 16:17:31 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/50d1c72588aefd79dcf5c81f56add41d81beb12f/ghc

>---------------------------------------------------------------

commit 50d1c72588aefd79dcf5c81f56add41d81beb12f
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Fri Sep 11 17:01:33 2015 +0100

    Fix broken links in documentation


>---------------------------------------------------------------

50d1c72588aefd79dcf5c81f56add41d81beb12f
 docs/users_guide/7.12.1-notes.xml | 2 +-
 docs/users_guide/safe_haskell.xml | 2 +-
 docs/users_guide/using.xml        | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/users_guide/7.12.1-notes.xml b/docs/users_guide/7.12.1-notes.xml
index bc5c7af..d131086 100644
--- a/docs/users_guide/7.12.1-notes.xml
+++ b/docs/users_guide/7.12.1-notes.xml
@@ -222,7 +222,7 @@
                      groups, unlike splices of the form
                      <literal>$(...)</literal>. This behavior has been
                      preserved under the new implementation, and is now
-                     recognized and documented in <xref linked="th-syntax"/>.
+                     recognized and documented in <xref linkend="th-syntax"/>.
                 </para>
             </listitem>
        </itemizedlist>
diff --git a/docs/users_guide/safe_haskell.xml b/docs/users_guide/safe_haskell.xml
index f9bcf54..02182d3 100644
--- a/docs/users_guide/safe_haskell.xml
+++ b/docs/users_guide/safe_haskell.xml
@@ -947,7 +947,7 @@
     </para>
 
     <para>
-    Additionally, the use of <link linkend="annotations">annotations</link>
+    Additionally, the use of <link linkend="annotation-pragmas">annotations</link>
     is forbidden, as that would allow bypassing Safe Haskell restrictions.
     See <ulink url="https://ghc.haskell.org/trac/ghc/ticket/10826">ticket #10826</ulink>.
     </para>
diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml
index 71d3467..797e784 100644
--- a/docs/users_guide/using.xml
+++ b/docs/users_guide/using.xml
@@ -3043,7 +3043,7 @@ foldl f z (Stream step s _) = foldl_loop SPEC z s
           </term>
           <listitem>
             <para><emphasis>On by default.</emphasis>
-            Specialise <literal>INLINABLE</literal> (<xreg linked="inlinable-pragma"/>)
+            Specialise <literal>INLINABLE</literal> (<xref linkend="inlinable-pragma"/>)
             type-class-overloaded functions imported from other modules for the
             types at which they are called in this module. Note that specialisation must
             be enabled (by <literal>-fspecialise</literal>) for this to have any effect.



More information about the ghc-commits mailing list