Hey, I'm Wcowin!
- A student 🧑🎓
- Heavy coffee drinker ☕
- Love tossing technology/Math 💻
- Read books;lover of poetry,;like Haruki Murakami 📖
- good at badminton 🏸
|
|
|
Mkdocs-Wcowin Blog Theme | based on Material for MkDocs
Home Page: http://wcowin.work/Mkdocs-Wcowin/
License: MIT License
|
|
|
我尝试给你Pull Request,把友链界面改成软编码,可以省去编码时间,但是报错了预料之外的错误,你有什么头绪吗,我猜测是插件或许有冲突
link.zip
ERROR - Error reading page 'blog/Mkdocs/mkdocs1.md': 'env' is undefined
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\W1ndys\anaconda3\Scripts\mkdocs.exe\__main__.py", line 7, in <module>
File "C:\Users\W1ndys\anaconda3\Lib\site-packages\click\core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\W1ndys\anaconda3\Lib\site-packages\click\core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Users\W1ndys\anaconda3\Lib\site-packages\click\core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\W1ndys\anaconda3\Lib\site-packages\click\core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\W1ndys\anaconda3\Lib\site-packages\click\core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\W1ndys\anaconda3\Lib\site-packages\mkdocs\__main__.py", line 270, in serve_command
serve.serve(**kwargs)
File "C:\Users\W1ndys\anaconda3\Lib\site-packages\mkdocs\commands\serve.py", line 86, in serve
builder(config)
File "C:\Users\W1ndys\anaconda3\Lib\site-packages\mkdocs\commands\serve.py", line 67, in builder
build(config, live_server=None if is_clean else server, dirty=is_dirty)
File "C:\Users\W1ndys\anaconda3\Lib\site-packages\mkdocs\commands\build.py", line 322, in build
_populate_page(file.page, config, files, dirty)
File "C:\Users\W1ndys\anaconda3\Lib\site-packages\mkdocs\commands\build.py", line 171, in _populate_page
page.markdown = config.plugins.on_page_markdown(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\W1ndys\anaconda3\Lib\site-packages\mkdocs\plugins.py", line 575, in on_page_markdown
return self.run_event('page_markdown', markdown, page=page, config=config, files=files)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\W1ndys\anaconda3\Lib\site-packages\mkdocs\plugins.py", line 507, in run_event
result = method(item, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\W1ndys\anaconda3\Lib\site-packages\markdownextradata\plugin.py", line 99, in on_page_markdown
return self.apply_template(markdown)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\W1ndys\anaconda3\Lib\site-packages\markdownextradata\plugin.py", line 111, in apply_template
return md_template.render({**self.mkdocsConfig, **self.mkdocsConfig.get("extra")})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\W1ndys\anaconda3\Lib\site-packages\jinja2\environment.py", line 1301, in render
self.environment.handle_exception()
File "C:\Users\W1ndys\anaconda3\Lib\site-packages\jinja2\environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 115, in top-level template code
File "C:\Users\W1ndys\anaconda3\Lib\site-packages\jinja2\environment.py", line 485, in getattr
return getattr(obj, attribute)
^^^^^^^^^^^^^^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'env' is undefined
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.