This is an automated email from the ASF dual-hosted git repository. wave pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/petri-site.git
The following commit(s) were added to refs/heads/master by this push: new 6c2110a Show tree 6c2110a is described below commit 6c2110aabde74919bab8a3b615692bf4b58a03ff Author: Dave Fisher <dave2w...@comcast.net> AuthorDate: Wed Apr 14 08:37:20 2021 -0700 Show tree --- theme/plugins/toc2.py | 1 + 1 file changed, 1 insertion(+) diff --git a/theme/plugins/toc2.py b/theme/plugins/toc2.py index d19d6db..489bc49 100644 --- a/theme/plugins/toc2.py +++ b/theme/plugins/toc2.py @@ -140,6 +140,7 @@ def generate_toc(content): if settoc: print("Generating ToC for %s" % content.slug) tree_string = '{}'.format(tree) + print("ToC: %s" % tree_string) tree_soup = BeautifulSoup(tree_string, 'html.parser') content.toc = tree_soup.decode(formatter='html') itoc = soup.find('p', text='[TOC]')