Skip to content

Commit

Permalink
Tweak TOC section formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
Garth Minette committed Mar 3, 2021
1 parent 8dd4c71 commit 4015003
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions openscad_docsgen/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from setuptools import setup

VERSION = "1.1.7"
VERSION = "1.1.8"


with open('README.rst') as f:
Expand Down

0 comments on commit 4015003

Please sign in to comment.