summaryrefslogtreecommitdiff
path: root/docs/users_guide/extending_ghc.rst
diff options
context:
space:
mode:
authorSergei Trofimovich <siarheit@google.com>2015-12-03 21:07:19 +0000
committerSergei Trofimovich <siarheit@google.com>2015-12-03 21:11:35 +0000
commita034031a102bc08c76a6cdb104b72922ae22c96b (patch)
tree1f51213e12b3c6a151f6b567d0941cdfbff8c4a3 /docs/users_guide/extending_ghc.rst
parent43a31fe4c0cc0f72dfe9e0c96e1576f5cfba6e19 (diff)
downloadhaskell-a034031a102bc08c76a6cdb104b72922ae22c96b.tar.gz
extending_ghc.rst: fix broken link (Trac #10950)
The error exibits as build failures of two types: 1. extending_ghc.rst:: ERROR: Anonymous hyperlink mismatch: 1 references but 0 targets. See "backrefs" attribute for IDs. 2. reading sources... [ 33%] glasgow_exts Exception occurred: pickle.dump(doctree, f, pickle.HIGHEST_PROTOCOL) RecursionError: maximum recursion depth exceeded while pickling an object Broken link created circular reference and failed to serialize the result. Fixed the problem by pointing to relevant section. Signed-off-by: Sergei Trofimovich <siarheit@google.com>
Diffstat (limited to 'docs/users_guide/extending_ghc.rst')
-rw-r--r--docs/users_guide/extending_ghc.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/users_guide/extending_ghc.rst b/docs/users_guide/extending_ghc.rst
index efe18b0a3f..a0c3bd1665 100644
--- a/docs/users_guide/extending_ghc.rst
+++ b/docs/users_guide/extending_ghc.rst
@@ -58,7 +58,7 @@ A number of restrictions apply to use of annotations:
- The expression you are annotating with must have a type with
``Typeable`` and ``Data`` instances
-- The `Template Haskell staging restrictions <>`__ apply to the
+- The :ref:`Template Haskell staging restrictions <th-usage>` apply to the
expression being annotated with, so for example you cannot run a
function from the module being compiled.