Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--html_toc_depth doesn't work #62

Open
ischurov opened this issue Jan 23, 2016 · 1 comment
Open

--html_toc_depth doesn't work #62

ischurov opened this issue Jan 23, 2016 · 1 comment

Comments

@ischurov
Copy link
Contributor

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
Copy link
Owner

hplgit commented Jan 23, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants