doconce icon indicating copy to clipboard operation
doconce copied to clipboard

--html_toc_depth doesn't work

Open ischurov opened this issue 9 years ago • 1 comments

Trying to specify --html_toc_depth=1 during doconce format html, I have the following warning:

*** warning: unrecognized command-line option
    --html_toc_depth=1

It seems that there's no handlers for html_toc_depth at all:

[user@maccie doconce #2152]$ grep "html_toc_depth" **/*.py
build/lib/doconce/misc.py:    bootstrap_options = ' --html_style=bootswatch_readable --html_code_style=inherit --html_pre_style=inherit --html_toc_depth=2 --pygments_html_style=default'
lib/doconce/misc.py:    bootstrap_options = ' --html_style=bootswatch_readable --html_code_style=inherit --html_pre_style=inherit --html_toc_depth=2 --pygments_html_style=default'

And that's all, no other mentions of this options in the sources.

ischurov avatar Jan 23 '16 12:01 ischurov

The option is just called --toc_depth and used by several output formats. (--html_toc_depth is an old option.)

hplgit avatar Jan 23 '16 17:01 hplgit