[Git][ghc/ghc][master] fix(documentation): Fix the RST links to GHC.Prim

Marge Bot gitlab at gitlab.haskell.org
Thu May 14 00:05:40 UTC 2020



 Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
b17574f7 by Hécate at 2020-05-13T20:05:28-04:00
fix(documentation): Fix the RST links to GHC.Prim

- - - - -


3 changed files:

- docs/users_guide/editing-guide.rst
- docs/users_guide/exts/ffi.rst
- docs/users_guide/exts/primitives.rst


Changes:

=====================================
docs/users_guide/editing-guide.rst
=====================================
@@ -228,7 +228,7 @@ For instance,
 
 .. code-block:: rest
 
-    See the documentation for :base-ref:`Control.Applicative <Control-Applicative.html>`
+    See the documentation for :base-ref:`Control.Applicative.`
     for details.
 
 Math


=====================================
docs/users_guide/exts/ffi.rst
=====================================
@@ -1027,7 +1027,7 @@ Pinned Byte Arrays
 A pinned byte array is one that the garbage collector is not allowed
 to move. Consequently, it has a stable address that can be safely
 requested with ``byteArrayContents#``. There are a handful of
-primitive functions in :ghc-prim-ref:`GHC.Prim <GHC-Prim.html>`
+primitive functions in :ghc-prim-ref:`GHC.Prim.`
 used to enforce or check for pinnedness: ``isByteArrayPinned#``,
 ``isMutableByteArrayPinned#``, and ``newPinnedByteArray#``. A
 byte array can be pinned as a result of three possible causes:


=====================================
docs/users_guide/exts/primitives.rst
=====================================
@@ -12,9 +12,8 @@ you write will be optimised to the efficient unboxed version in any
 case. And if it isn't, we'd like to know about it.
 
 All these primitive data types and operations are exported by the
-library ``GHC.Prim``, for which there is
-:ghc-prim-ref:`detailed online documentation <GHC.Prim.>`. (This
-documentation is generated from the file ``compiler/GHC/Builtin/primops.txt.pp``.)
+library :ghc-prim-ref:`GHC.Prim.`. (This documentation is generated from
+the file ``compiler/GHC/Builtin/primops.txt.pp``.)
 
 If you want to mention any of the primitive data types or operations in
 your program, you must first import ``GHC.Prim`` to bring them into



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b17574f74173d0fa83b0def070dcba51b710be2e

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b17574f74173d0fa83b0def070dcba51b710be2e
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200513/6c504bf6/attachment-0001.html>


More information about the ghc-commits mailing list