You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrade to mkdocs 1.1, I'm getting following error when building docs:
$ mkdocs build
Traceback (most recent call last):
File "c:\users\luke\appdata\local\programs\python\python37\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:\users\luke\appdata\local\programs\python\python37\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\Luke\AppData\Local\Programs\Python\Python37\Scripts\mkdocs.exe\__main__.py", line 7, in <module>
File "c:\users\luke\appdata\local\programs\python\python37\lib\site-packages\click\core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "c:\users\luke\appdata\local\programs\python\python37\lib\site-packages\click\core.py", line 717, in main
rv = self.invoke(ctx)
File "c:\users\luke\appdata\local\programs\python\python37\lib\site-packages\click\core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "c:\users\luke\appdata\local\programs\python\python37\lib\site-packages\click\core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\users\luke\appdata\local\programs\python\python37\lib\site-packages\click\core.py", line 555, in invoke
return callback(*args, **kwargs)
File "c:\users\luke\appdata\local\programs\python\python37\lib\site-packages\mkdocs\__main__.py", line 159, in build_command
build.build(config.load_config(**kwargs), dirty=not clean)
File "c:\users\luke\appdata\local\programs\python\python37\lib\site-packages\mkdocs\config\base.py", line 197, in load_config
errors, warnings = cfg.validate()
File "c:\users\luke\appdata\local\programs\python\python37\lib\site-packages\mkdocs\config\base.py", line 107, in validate
run_failed, run_warnings = self._validate()
File "c:\users\luke\appdata\local\programs\python\python37\lib\site-packages\mkdocs\config\base.py", line 62, in _validate
self[key] = config_option.validate(value)
File "c:\users\luke\appdata\local\programs\python\python37\lib\site-packages\mkdocs\config\config_options.py", line 130, in validate
return self.run_validation(value)
File "c:\users\luke\appdata\local\programs\python\python37\lib\site-packages\mkdocs\config\config_options.py", line 591, in run_validation
plgins[item] = self.load_plugin(item, cfg)
File "c:\users\luke\appdata\local\programs\python\python37\lib\site-packages\mkdocs\config\config_options.py", line 599, in load_plugin
Plugin = self.installed_plugins[name].load()
File "c:\users\luke\appdata\local\programs\python\python37\lib\site-packages\pkg_resources\__init__.py", line 2445, in load
return self.resolve()
File "c:\users\luke\appdata\local\programs\python\python37\lib\site-packages\pkg_resources\__init__.py", line 2451, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "c:\users\luke\appdata\local\programs\python\python37\lib\site-packages\mkdocs_localsearch_plugin\__init__.py", line 37, in <module>
class SearchPlugin(BasePlugin):
File "c:\users\luke\appdata\local\programs\python\python37\lib\site-packages\mkdocs_localsearch_plugin\__init__.py", line 42, in SearchPlugin
('separator', config_options.Type(utils.string_types, default=r'[\s\-]+')),
AttributeError: module 'mkdocs.utils' has no attribute 'string_types'
The text was updated successfully, but these errors were encountered:
After upgrade to mkdocs 1.1, I'm getting following error when building docs:
The text was updated successfully, but these errors were encountered: