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

POC 2 for in-page TOC #1474

Merged
merged 2 commits into from
Feb 2, 2017
Merged

POC 2 for in-page TOC #1474

merged 2 commits into from
Feb 2, 2017

Conversation

mdlinville
Copy link

@mdlinville mdlinville commented Feb 2, 2017

Proposed changes

This approach is fully liquid. You can configure with:

  • no_toc: true
  • toc_min: 2
  • toc_max: 6

The site defaults are 2 and 3 for the min and max.

This retains the Edit / Request / Support links on the side, as well.

Copy link
Contributor

@londoncalling londoncalling left a comment

Choose a reason for hiding this comment

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

I like it.

@mdlinville
Copy link
Author

Had to give up on that last commit for now. At least the JS is getting an overhaul!

@mdlinville
Copy link
Author

This is ready to merge! Thanks @allejo for all of the help in the implementation!

@mdlinville mdlinville merged commit 2a88caa into docker:master Feb 2, 2017
@mdlinville mdlinville deleted the auto_toc_inpage2 branch February 2, 2017 05:21
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.

None yet

2 participants