aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-10-06 15:11:45 -0400
committerBen Gamari <ben@smart-cactus.org>2019-10-06 15:12:06 -0400
commita7c42a29f7c33f5fdbb04acc3866ec907c2e00f3 (patch)
tree7c983d590bd052aca690c90e318f09456c58d1c9 /doc
parentefaa748cabd2e7258820084f1c48d49161199e4a (diff)
Fix a few haddock issues
Diffstat (limited to 'doc')
-rw-r--r--doc/invoking.rst2
-rw-r--r--doc/markup.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/invoking.rst b/doc/invoking.rst
index 5397dacf..9fd8f961 100644
--- a/doc/invoking.rst
+++ b/doc/invoking.rst
@@ -548,5 +548,5 @@ Using literate or pre-processed source
Since Haddock uses GHC internally, both plain and literate Haskell
sources are accepted without the need for the user to do anything. To
-use the C pre-processor, however, the user must pass the the :option:`-cpp`
+use the C pre-processor, however, the user must pass the ``-cpp``
option to GHC using :option:`--optghc`.
diff --git a/doc/markup.rst b/doc/markup.rst
index 9fb0209a..8f926961 100644
--- a/doc/markup.rst
+++ b/doc/markup.rst
@@ -8,7 +8,7 @@ will just generate documentation that contains the type signatures, data
type declarations, and class declarations exported by each of the
modules being processed.
-.. _top-level-declaration
+.. _top-level-declaration:
Documenting a Top-Level Declaration
-----------------------------------