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

Allow to specify the ToC depth of the sidebar #741

Closed
wants to merge 5 commits into from

Conversation

pat-s
Copy link
Contributor

@pat-s pat-s commented Jun 21, 2018

fixes #732

relates to mlr-org/mlr#2236

Merge remote-tracking branch 'upstream/master' into toc_depth

# Conflicts:
#	R/build.r
#	man/build_site.Rd
@pat-s
Copy link
Contributor Author

pat-s commented Jun 29, 2018

@hadley @jayhesselberth
Any feedback on this? :)

R/build.r Outdated
build_articles(pkg, lazy = lazy, override = override, preview = FALSE)
build_tutorials(pkg, override = override, preview = FALSE)
build_articles(pkg, lazy = lazy, override = override, preview = FALSE,
toc_depth = toc_depth)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean for the build_tutorials call to disappear?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah no, ofc not, this was by accident. Thanks for catching this!

@jayhesselberth
Copy link
Collaborator

LGTM. I will let @hadley comment too.

@hadley
Copy link
Member

hadley commented Sep 13, 2018

Wouldn't it be better to specify this in the yaml?

jayhesselberth added a commit that referenced this pull request Oct 2, 2018
jayhesselberth added a commit that referenced this pull request Oct 2, 2018
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

Successfully merging this pull request may close these issues.

ToC depth of sidebar
3 participants