[commit: ghc] master: users-guide: Disable index node generation (160a491)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 05:32:21 UTC 2017


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/160a4911f8a90e0f54d13b2aa0f6f70ebdfd1020/ghc

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

commit 160a4911f8a90e0f54d13b2aa0f6f70ebdfd1020
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Thu Oct 26 19:11:58 2017 -0400

    users-guide: Disable index node generation
    
    This is breaking the build on some platforms. It's unclear exactly why but I
    don't have time to investigate at the moment.


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

160a4911f8a90e0f54d13b2aa0f6f70ebdfd1020
 docs/users_guide/flags.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/docs/users_guide/flags.py b/docs/users_guide/flags.py
index 6e8788d..66b0e92 100644
--- a/docs/users_guide/flags.py
+++ b/docs/users_guide/flags.py
@@ -259,9 +259,10 @@ class LanguageExtension(GenericFlag):
 
         targetname = '%s-%s' % (self.objtype, name)
 
+        # FIXME: This causes some Sphinx versions to fail
         # Add index entries for the -XFoo flag
-        self.indexnode['entries'].append(('pair', '-X%s; GHC option' % name,
-                                          targetname, '', None))
+        #self.indexnode['entries'].append(('pair', '-X%s; GHC option' % name,
+        #                                  targetname, '', None))
 
         # Make this also addressable using :ghc-flag:-XFoo
         self.env.domaindata['std']['objects']['ghc-flag', '-X%s' % name] = \



More information about the ghc-commits mailing list