Commit 160a4911 authored by Ben Gamari's avatar Ben Gamari 🐢

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.
parent d91a6b6c
......@@ -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] = \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment