Skip to content

Conversation

@SukkaW
Copy link
Member

@SukkaW SukkaW commented Dec 20, 2019

What does it do?

Add min_depth option.

The unit test for toc() has been refactored as well.

Supersedes and closes #3929

How to test

git clone -b toc_min_depth https://github.com/sukkaw/hexo.git
cd hexo
npm install
npm test

Screenshots

Pull request tasks

  • Add test cases for the changes.
  • Passed the CI test.

@SukkaW SukkaW requested a review from a team December 20, 2019 14:25
@coveralls
Copy link

Coverage Status

Coverage remained the same at 97.103% when pulling 0cfb532 on SukkaW:toc-min-depth into a381dda on hexojs:master.

Copy link
Contributor

@curbengh curbengh left a comment

Choose a reason for hiding this comment

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

tested

@SukkaW SukkaW merged commit a4a3f82 into hexojs:master Dec 21, 2019
@noraj
Copy link
Contributor

noraj commented Feb 23, 2020

Thanks a lot

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.

4 participants