rstacruz / flatdoc

Build sites fast from Markdown
http://ricostacruz.com/flatdoc
2.68k stars 262 forks source link

.md File content not showing up #47

Open gmuse opened 9 years ago

gmuse commented 9 years ago

Flatdoc seems to work fine here: http://openbci.com/index.php/docs

But the content from the Readme file isn't showing up.

Any idea on this?

Also, how do I make a call to other .md files form the flatdoc-menu?

kjprince commented 9 years ago

I converted this to work with WP and I'm having the same problem. I'm calling the fetcher and passing in a URL with a valid .MD file but it's not being parsed and the DOM hasn't been modified.

rstacruz commented 9 years ago

if anyone can help debug the issue it'd be very much appreciated.

if i were to guess it may be a rate limiting thing (github only allows a certain number of calls per hour per user)

andidev commented 9 years ago

Had the same issue, it seems that you have 60 request per hour. And if you have the developer tools open in chrome it will eat them all up quite fast after some browser refreshes. Without opening the developer tools I don't have this problem.

You can check the rate-limit left by running

curl -i https://api.github.com/users/whatever

and then the fourht line of the output will tell you have any remaining rate limit e.g.

X-RateLimit-Remaining: 0

means it's all gone

docs about the rate limit: https://developer.github.com/v3/#rate-limiting