Fix regression in html build
This commit fixes a regression in html builds that has been introduced by using a boolean value in index entries.
This commit is contained in:
parent
f81389ef6b
commit
54c11b4357
3 changed files with 9 additions and 4 deletions
|
@ -1,6 +1,11 @@
|
|||
Changes
|
||||
=======
|
||||
|
||||
0.2.3 - to be released
|
||||
----------------------
|
||||
|
||||
* fix regression in HTML builder that has been introduced in 0.2.2
|
||||
|
||||
0.2.2 - 2016-05-05
|
||||
------------------
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ from sphinx.locale import l_
|
|||
from sphinx.roles import XRefRole
|
||||
from sphinx.util.nodes import make_refnode
|
||||
|
||||
__version__ = '0.2.2'
|
||||
__version__ = '0.2.3'
|
||||
|
||||
|
||||
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, False, ''),
|
||||
('single', self.get_index_text(), name, False, '')
|
||||
('single', idx_text, name, '', ''),
|
||||
('single', self.get_index_text(), name, '', '')
|
||||
])
|
||||
|
||||
if self.content:
|
||||
|
|
2
setup.py
2
setup.py
|
@ -2,7 +2,7 @@
|
|||
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
version = '0.2.2'
|
||||
version = '0.2.3'
|
||||
|
||||
with open('README.rst') as readme:
|
||||
description = readme.read() + "\n\n"
|
||||
|
|
Loading…
Reference in a new issue