Skip to content

Theme refactor - #1201

Merged
waylan merged 2 commits into
mkdocs:1.0.devfrom
waylan:themes
Apr 13, 2017
Merged

waylan merged 2 commits into
mkdocs:1.0.devfrom
waylan:themes

Conversation

@waylan

@waylan waylan commented Apr 6, 2017 •

Copy link
Copy Markdown
Contributor

Themes now have theme objects, and theme specific configs.
Themes can inherit from other themes. Users (and theme authors)
can define custom static templates and variables.

Note that the theme_dir config option is being deprecated in favor of a nested custom_dir option.

This fixes #1164.

Themes now have `theme` objects, and theme specific configs.
Themes can inherit from other themes. Users (and theme authors)
can define custom static templates and variables.
@waylan

waylan commented Apr 6, 2017

Copy link
Copy Markdown
Contributor Author

In #1164 I also proposed a way for templates to specify which version(s) of Mkdocs they work with. I have not yet implemented that. I think I'll leave this open to add that later. In the meantime, feedback from others (especially third party theme authors) would be welcome.

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.

1 participant