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

Missing theme configuration file #519

Closed
facelessuser opened this issue Oct 20, 2017 · 5 comments
Closed

Missing theme configuration file #519

facelessuser opened this issue Oct 20, 2017 · 5 comments
Assignees
Labels
bug Issue reports a bug resolved Issue is resolved, yet unreleased if open

Comments

@facelessuser
Copy link
Contributor

Description

Mkdocs material does not have a mkdocs_theme.yml. I run my mkdocs build with strict in Travis to catch whether my mkdocs environment has warnings etc. It is currently failing because of this. This is due to the mkdocs 0.17 release.

WARNING - The theme 'material' does not appear to have a configuration file. Please upgrade to a current version of the theme.

An example theme config: https://github.com/mkdocs/mkdocs/blob/master/mkdocs/themes/mkdocs/mkdocs_theme.yml

Not sure if any options need to be specified in it. Probably more that it is missing, but maybe we need to specify something in it. Not sure yet.

It's not a critical issue, but it should probably get added for correctness.

Expected behavior

Material should not generate warnings.

Actual behavior

Is generating the warning that the config file is not found.

Steps to reproduce the bug

  1. Build with strict: mkdocs build --clean --verbose --strict

Package versions

  • Python: Any
  • MkDocs: 0.17
  • Material: Any

Project configuration

NA

System information

  • OS: ANY
  • Browser: NA
@squidfunk
Copy link
Owner

Thanks for reporting. 0.17 also broke the search. Will provide a configuration file asap.

@squidfunk squidfunk self-assigned this Oct 21, 2017
@squidfunk squidfunk added the bug Issue reports a bug label Oct 21, 2017
@squidfunk
Copy link
Owner

Should be fixed in master. Can you verify please? I've some problems with getting 0.17 to work locally, probably messed up my Python installation.

@squidfunk squidfunk added the resolved Issue is resolved, yet unreleased if open label Oct 22, 2017
@squidfunk
Copy link
Owner

There are some fundamental changes with 0.17. Hope we'll get everything to work, but I will probably do 2.0.0 with breaking changes.

@facelessuser
Copy link
Contributor Author

Sounds good! I expect some breaking changes as we approach mkdocs 1.0.

@squidfunk
Copy link
Owner

Released with 1.12.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue reports a bug resolved Issue is resolved, yet unreleased if open
Projects
None yet
Development

No branches or pull requests

2 participants