diff --git a/README.rst b/README.rst index d2f696b..7591baf 100644 --- a/README.rst +++ b/README.rst @@ -28,6 +28,11 @@ Contributors Changes ======= +0.2.2 - to be released +---------------------- + +* fix index entries that broke the latex builder + 0.2.1 - 2016-05-05 ------------------ diff --git a/jandd/sphinxext/ip.py b/jandd/sphinxext/ip.py index fe25208..95cde86 100644 --- a/jandd/sphinxext/ip.py +++ b/jandd/sphinxext/ip.py @@ -23,7 +23,7 @@ from sphinx.locale import l_ from sphinx.roles import XRefRole from sphinx.util.nodes import make_refnode -__version__ = '0.2.1' +__version__ = '0.2.2' def ip_object_anchor(typ, path): @@ -120,8 +120,8 @@ class IPRange(Directive): doctitle = self.state.document.traverse(nodes.title)[0].astext() idx_text = "%s; %s" % (self.rangespec, doctitle) self.indexnode = addnodes.index(entries=[ - ('single', idx_text, name, ''), - ('single', self.get_index_text(), name, '') + ('single', idx_text, name, False, ''), + ('single', self.get_index_text(), name, False, '') ]) if self.content: diff --git a/setup.py b/setup.py index 4a22ff9..350756f 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages -version = '0.2.1' +version = '0.2.2' with open('README.rst') as readme: description = readme.read() + "\n\n"