mkdocs / mkdocs-bootswatch

MkDocs Bootswatch Themes
http://mkdocs.github.io/mkdocs-bootswatch
BSD 2-Clause "Simplified" License
144 stars 60 forks source link

Can't use themes, occurs configuration file warning. #44

Closed aewshyae closed 6 years ago

aewshyae commented 6 years ago

what i did

$ pip install git+https://github.com/mkdocs/mkdocs-bootswatch.git@master
  # edit mkdocs.yml to use 'yeti' theme
$ mkdocs serve -a localhost:8009
INFO    -  Building documentation... 
WARNING -  The theme 'yeti' does not appear to have a configuration file. Please upgrade to a current version of the theme. 
INFO    -  Cleaning site directory 
[I 180227 13:17:31 server:283] Serving on http://localhost:8009
[I 180227 13:17:31 handlers:60] Start watching changes
[I 180227 13:17:31 handlers:62] Start detecting changes

what i expected

what i tried

$ pip install mkdocs-bootswatch
$ pip install mkdocs-bootswatch==0.5
$ pip install git+https://github.com/mkdocs/mkdocs-bootswatch.git@master

Any of above can't get mkdocs serve works without warning .

$ vim ~/.pyenv/versions/3.6.0/lib/python3.6/site-packages/mkdocs_bootswatch/yeti/mkdocs_theme.yml
 # copy from https://github.com/mkdocs/mkdocs-bootswatch/blob/master/mkdocs_bootswatch/yeti/mkdocs_theme.yml

it avoids the warning, but still 'yeti' theme is not applied.

environments

Any ideas are appriciated!

waylan commented 6 years ago

This was fixed in #36.