mirror of
https://github.com/mkdocs/mkdocs.git
synced 2026-03-27 09:58:31 +07:00
@@ -56,7 +56,8 @@ your global navigation uses more than one level, things will likely be broken.
|
||||
|
||||
### Other Changes and Additions to Version 1.1
|
||||
|
||||
* Bugfix: Exclude Markdown files and READMEs from theme. (#1766).
|
||||
* Bugfix: Properly build `ValidationError` message for `custom_dir` (#1849).
|
||||
* Bugfix: Exclude Markdown files and READMEs from theme (#1766).
|
||||
* Bugfix: Account for encoded URLs (#1670).
|
||||
* Bugfix: Ensure theme files do not override `docs_dir` files (#1671).
|
||||
* Bugfix: Do not normalize URL fragments (#1655).
|
||||
|
||||
@@ -456,7 +456,7 @@ class Theme(BaseConfigOption):
|
||||
|
||||
if 'custom_dir' in theme_config and not os.path.isdir(theme_config['custom_dir']):
|
||||
raise ValidationError("The path set in {name}.custom_dir ('{path}') does not exist.".
|
||||
format(path=theme_config['custom_dir'], name=self.name))
|
||||
format(path=theme_config['custom_dir'], name=key_name))
|
||||
|
||||
config[key_name] = theme.Theme(**theme_config)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user