aragon / aragon-wiki

The Aragon wiki
https://wiki.aragon.org
Creative Commons Zero v1.0 Universal
77 stars 81 forks source link

Unable to serve mkdocs on master branch using the readme.md instructions #419

Closed antonyip closed 5 years ago

antonyip commented 5 years ago

(Env) D:\aragon-wiki>mkdocs serve INFO - Building documentation... INFO - Cleaning site directory WARNING - The page "documentation\multisigs\community.md" contained a hyperlink to "documentation\multisigs\foundation.md" which is not listed in the "pages" configuration. ERROR - Error building page documentation\audits\audit_whg_updated_aragonOS-Apps.pdf Traceback (most recent call last): File "C:\Users\AntonWin10\AppData\Local\Programs\Python\Python35\lib\runpy.py", line 170, in _run_module_as_main "main", mod_spec) File "C:\Users\AntonWin10\AppData\Local\Programs\Python\Python35\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "d:\Env\Scripts\mkdocs.exe__main.py", line 9, in File "d:\env\lib\site-packages\click\core.py", line 764, in call return self.main(args, kwargs) File "d:\env\lib\site-packages\click\core.py", line 717, in main rv = self.invoke(ctx) File "d:\env\lib\site-packages\click\core.py", line 1137, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "d:\env\lib\site-packages\click\core.py", line 956, in invoke return ctx.invoke(self.callback, ctx.params) File "d:\env\lib\site-packages\click\core.py", line 555, in invoke return callback(args, **kwargs) File "d:\env\lib\site-packages\mkdocs\main__.py", line 127, in serve_command livereload=livereload File "d:\env\lib\site-packages\mkdocs\commands\serve.py", line 117, in serve config = builder() File "d:\env\lib\site-packages\mkdocs\commands\serve.py", line 112, in builder build(config, live_server=live_server, dirty=dirty) File "d:\env\lib\site-packages\mkdocs\commands\build.py", line 282, in build build_pages(config, dirty=dirty) File "d:\env\lib\site-packages\mkdocs\commands\build.py", line 242, in build_pages _build_page(page, config, site_navigation, env) File "d:\env\lib\site-packages\mkdocs\commands\build.py", line 130, in _build_page page.read_source(config=config) File "d:\env\lib\site-packages\mkdocs\nav.py", line 252, in read_source source = f.read() File "C:\Users\AntonWin10\AppData\Local\Programs\Python\Python35\lib\codecs.py", line 321, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) File "C:\Users\AntonWin10\AppData\Local\Programs\Python\Python35\lib\encodings\utf_8_sig.py", line 69, in _buffer_decode return codecs.utf_8_decode(input, errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbf in position 10: invalid start byte

(Env) D:\aragon-wiki>mkdocs --version mkdocs, version 0.17.3