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

Dump config with --dump-config #1632

Closed
leesei opened this issue Dec 8, 2015 · 6 comments
Closed

Dump config with --dump-config #1632

leesei opened this issue Dec 8, 2015 · 6 comments
Labels
enhancement New feature or request

Comments

@leesei
Copy link
Member

leesei commented Dec 8, 2015

Dump hexo.config and theme.config.
Allows us to check how Hexo interprets their config.

@leesei leesei added the enhancement New feature or request label Dec 8, 2015
@leesei
Copy link
Member Author

leesei commented Dec 8, 2015

Note:
Take a look at overriding theme config while we're at it.
#1330 (comment)

@Xuanwo
Copy link
Contributor

Xuanwo commented Dec 8, 2015

I remember there is a commit that change the way into merge: 61941e7

And I used to see there is a way to add info brfore someone want to Open a new issue, but I don't know how to setup it, do you have any idea?

@Xuanwo
Copy link
Contributor

Xuanwo commented Dec 8, 2015

Well ,I got it, we can modify this file: https://github.com/hexojs/hexo/blob/master/CONTRIBUTING.md

But I'm afraid it meaningless for new user of github.

@leesei
Copy link
Member Author

leesei commented Dec 8, 2015

Ha, even I didn't read the CONTRIBUTING document myself.

The error prompt I mentioned is this one:
https://github.com/hexojs/hexo/blob/master/lib/hexo/index.js#L417-L423
Users do often see this prompt and check the troubleshooting page.

@leesei leesei changed the title Dump config in --debug Dump config in --config Dec 15, 2015
@leesei leesei changed the title Dump config in --config Dump config with --dump-config Dec 15, 2015
@leesei
Copy link
Member Author

leesei commented Apr 18, 2016

hexo config landed since 3.0
d5de106

But theme config was not handled.

@stevenjoezhang
Copy link
Member

But theme config was not handled

theme_config made it possible

hexo config theme_config.scheme Muse

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

No branches or pull requests

3 participants