Giter VIP home page Giter VIP logo

docsify-ssr-demo's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docsify-ssr-demo's Issues

使用服务器端渲染问题

1、当我配置basePath为当前目录路径时无法加载到README.md文件内容。_coverpage.md是ok的。很奇怪(必须要渲染其他域名下的文档吗?);
2、停掉服务时,应该是进程没有完全关闭。再一次启动服务会报错。重启或者找到相关进程关闭后,才可重启服务。

Cannot read property 'indexOf' of undefined

Hi,

I run 'npm i, npm start' and got the error :

TypeError: Cannot read property 'indexOf' of undefined
at AbstractHistory.parse (D:\docsify-ssr-demo-master (1)\docsify-ssr-demo-master\node_modules\docsify-server-renderer\build.js:266:27)
at Compiler.compile (D:\docsify-ssr-demo-master (1)\docsify-ssr-demo-master\node_modules\docsify-server-renderer\build.js:771:37)
at Renderer. (D:\docsify-ssr-demo-master (1)\docsify-ssr-demo-master\node_modules\docsify-server-renderer\build.js:1270:28)
at Generator.next ()
at c (D:\docsify-ssr-demo-master (1)\docsify-ssr-demo-master\node_modules\docsify-server-renderer\build.js:15:99)
at processTicksAndRejections (internal/process/task_queues.js:94:5)

Could you help me to deal with it?

Thanks

Docsify cli version: 4.1.7

No Content-Type header?

It seems that the Content-Type header is absent.

http --headers https://docsify.now.sh/
HTTP/1.1 200 OK
Accept-Ranges: bytes
Connection: keep-alive
Content-Length: 6768
Date: Fri, 22 Nov 2019 15:56:55 GMT
X-Now-Instance: 1225455044
cache-control: s-maxage=0
server: now
strict-transport-security: max-age=63072000
x-now-id: tpe1:gxhtn-1574438215153-518509923d3f
x-now-trace: tpe1,sfo1

This causes w3m to display the plain HTML source without rendering it.

Site is offline

This site https://docsify.now.sh/ is offline

Screen Shot 2020-09-02 at 12 35 39 pm

It this being discontinued? Or moved to vercel.app with the now.sh rebrand?

It is still showing up in search engine results. I'd prefer to for docsify.js.org pages to come up than this offline site.
And presumably linked from Docsify docs.

示例不能访问且demo在无法运行,https://docsify.now.sh/

启动项目后续显示正常,访问http://localhost:4000后,控制台就报错。

D:\workspace\ssrDemo>npm start

[email protected] start D:\workspace\ssrDemo
docsify start . -c ssr.config.js

[SSR] Serving . now.
Listening at http://localhost:4000

TypeError: Cannot read property 'indexOf' of undefined
at AbstractHistory.parse (D:\workspace\ssrDemo\node_modules\docsify-server-renderer\build.js:267:27)
at Compiler.compile (D:\workspace\ssrDemo\node_modules\docsify-server-renderer\build.js:813:37)
at Renderer. (D:\workspace\ssrDemo\node_modules\docsify-server-renderer\build.js:1384:28)
at Generator.next ()
at c (D:\workspace\ssrDemo\node_modules\docsify-server-renderer\build.js:16:99)
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.