diff --git a/CHANGES.rst b/CHANGES.rst new file mode 100644 index 0000000..3f2d891 --- /dev/null +++ b/CHANGES.rst @@ -0,0 +1,19 @@ +Changes +======= + +0.2.2 - 2016-05-05 +------------------ + +* fix index entries that broke the latex builder + +0.2.1 - 2016-05-05 +------------------ + +* fix handling of invalid IP address/range values +* implement a proper clear_doc method for the ip domain + +0.2.0 - 2016-05-04 +------------------ + +* display IP address lists as tables +* sort IP address lists numericaly diff --git a/README.rst b/README.rst index d2f696b..522567b 100644 --- a/README.rst +++ b/README.rst @@ -24,18 +24,3 @@ Contributors * `Jan Dittberner`_ .. _Jan Dittberner: https://jan.dittberner.info/ - -Changes -======= - -0.2.1 - 2016-05-05 ------------------- - -* fix handling of invalid IP address/range values -* implement a proper clear_doc method for the ip domain - -0.2.0 - 2016-05-04 ------------------- - -* display IP address lists as tables -* sort IP address lists numericaly 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..827a99d 100644 --- a/setup.py +++ b/setup.py @@ -2,11 +2,14 @@ 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" +with open('CHANGES.rst') as changes: + description += changes.read() + requires = ['Sphinx>=1.4', 'ipcalc>=1.99'] tests_requires = ['path.py>=8.2.1']