Skip to content

Theme support #24

@zzart

Description

@zzart

Hi @tomchristie , by the way thanks for lib!
Im having a wierd issue with serving anything but a default theme:

If I change config to

mkdocs.yml
site_name: 'Test doc'
theme: 'readthedocs'
#theme_dir: '/usr/lib64/python2.7/site-packages/mkdocs/themes' / tried but not working
pages:
- ['index.md', 'Home']


$mkdocs build
#OK , docs been build and correct theme is there 
$mkdocs serve
Traceback (most recent call last):
  File "/usr/bin/mkdocs", line 4, in <module>
    from mkdocs.build import build
ImportError: No module named mkdocs.build

This works with default theme.
Doesn't help if i make the change in mkdocs/config.py theme setting file or if i set it in mkdocs.yml . Anything but default theme throws ImportError.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions