aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
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 12a127f0..4e4b8764 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 56238855..08510804 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
-----------------------------------