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

Spread function: Hexo#_generate() #3359

Merged

Conversation

segayuu
Copy link
Contributor

@segayuu segayuu commented Nov 16, 2018

Even if the current Hexo#_generate() is divisible as an internal API, it still is big and feels chaotic.
This PR aims to divide _generate() and make the behavior clearer.

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

@segayuu segayuu requested a review from a team November 16, 2018 04:29
@coveralls
Copy link

Coverage Status

Coverage increased (+0.004%) to 97.259% when pulling e97ce48 on segayuu:Spread-function-generate-Hexo-internal-method into 6411abf on hexojs:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+0.004%) to 97.259% when pulling e97ce48 on segayuu:Spread-function-generate-Hexo-internal-method into 6411abf on hexojs:master.

@segayuu segayuu merged commit eacf0a1 into hexojs:master Nov 16, 2018
@segayuu segayuu deleted the Spread-function-generate-Hexo-internal-method branch November 16, 2018 06:36
yoshinorin added a commit to yoshinorin/hexo that referenced this pull request Nov 16, 2018
* Locals.prototype.site is deleted in (hexojs#3359)
@yoshinorin
Copy link
Member

@segayuu
This change has error. Please see (#3360) PR.

yoshinorin added a commit that referenced this pull request Nov 16, 2018
* Locals.prototype.site is deleted in (#3359)
thom4parisot pushed a commit to thom4parisot/hexo that referenced this pull request Jan 17, 2020
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