rstacruz / flatdoc

Build sites fast from Markdown

Home Page:http://ricostacruz.com/flatdoc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.md File content not showing up

gmuse opened this issue · comments

commented

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?

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.

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)

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