diff --git a/openscad_docsgen/blocks.py b/openscad_docsgen/blocks.py index 0276437..6a92b50 100644 --- a/openscad_docsgen/blocks.py +++ b/openscad_docsgen/blocks.py @@ -891,8 +891,8 @@ def write_toc_file(self): sect for sect in fblock.children if isinstance(sect, SectionBlock) ] - for snum, sect in enumerate(sects): - out.append(" {}. {}".format(snum+1, sect.get_link(label=sect.subtitle, literalize=False))) + for sect in sects: + out.append(" - {}:".format(sect.get_link(label=sect.subtitle, literalize=False))) items = [ item for item in sect.children if isinstance(sect, SectionBlock) diff --git a/setup.py b/setup.py index 2420742..354b37e 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup -VERSION = "1.1.7" +VERSION = "1.1.8" with open('README.rst') as f: