hplgit / doconce

Lightweight markup language - document once, include anywhere
http://hplgit.github.io/doconce/doc/web/index.html
Other
311 stars 60 forks source link

--html_toc_depth doesn't work #62

Open ischurov opened 8 years ago

ischurov commented 8 years ago

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.

hplgit commented 8 years ago

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