Mkdocs警告:404 GET require.js

时间:2018-06-12 01:55:13

标签: markdown mkdocs

之前我使用过Mkdocs但是当我升级/重新安装Python,Pip和Mkdocs时,通过Markdown制作的任何内容都没有显示;构建成功并通过localhost显示我的网页,但不输出Markdown的内容。相反,在我的VSCode终端上显示的警告似乎需要一个&require; js'文件 - 我错过了一个文件吗?


    [I 180612 09:20:16 server:292] Serving on http://127.0.0.1:8000  
    [I 180612 09:20:16 handlers:59] Start watching changes  
    [I 180612 09:20:16 handlers:61] Start detecting changes  
    [W 180612 09:20:23 web:2064] 404 GET /mkdocs/js/require.js (127.0.0.1) 2.30ms  
    [W 180612 09:20:24 web:2064] 404 GET /mkdocs/js/require.js (127.0.0.1)
    0.00ms  
    [I 180612 09:21:07 handlers:132] Browser Connected: http://127.0.0.1:8000/3-product-setup/product-messages-about/

还检查了我的mkdocs安装:


    PS C:\xampp\htdocs\surefiresystems-help\rms-user-docs> pip show mkdocs  
    Name: mkdocs  
    Version: 0.17.4  
    Summary: Project documentation with Markdown.  
    Home-page: http://www.mkdocs.org  
    Author: Tom Christie  
    Author-email: tom@tomchristie.com  
    License: BSD  
    Location: c:\users\surefire\appdata\local\programs\python\python35-32\lib\site-packages  
    Requires: Markdown, click, tornado, livereload, PyYAML, Jinja2  
    Required-by:


以下是我的Python和PIP版本:

 

    PS C:\xampp\htdocs\surefiresystems-help\rms-user-docs> python --version  
    Python 3.5.0  
    PS C:\xampp\htdocs\surefiresystems-help\rms-user-docs> pip --version  
    pip 10.0.1 from c:\users\surefire\appdata\local\programs\python\python35-32\lib\site-packages\pip (python 3.5) 


我还在环境变量上添加了建议的路径(成功安装mkdocs)。

谢谢

0 个答案:

没有答案