Automatically refresh documentation when using `mkdocs serve` #163
Comments
sphinx-autobuild does this with websockets. It's pretty nifty. On Fri, Oct 17, 2014 at 3:45 AM, Dougal Matthews notifications@github.com
Eric Holscher |
looks like sphinx-autobuild uses python-livereload, which in turn relies on livereload. |
The author of |
BTW. python-livereload has a built-in static server. It would be a little off topic, maybe you will be interested in https://github.com/lepture/mistune. It is the fastest markdown parser in pure Python. |
Intresting, I'll check out livereload but I really don't like the idea of requiring a plugin. I can't see why that is needed? @lepture thanks, speed isn't an issue for us at the moment. It is interesting to know alternatives are available. Thankfully docs building doesn't need to scale far ;) |
@d0ugal You don't need a plugin. This python-livereload will inject the javascript automatically. |
Oh, sorry, I must have totally missread something. I can't even see where I got that from :) So yeah, we should totally look into trying that out. I'll have a go with it. Thanks. |
Use python-livereload to automatically refresh your browser. Closes mkdocs#163
Use python-livereload to automatically refresh your browser. Closes mkdocs#163
Use python-livereload to automatically refresh your browser. Closes mkdocs#163
Use python-livereload to automatically refresh your browser. Closes mkdocs#163
Use python-livereload to automatically refresh your browser. Closes mkdocs#163
Use python-livereload to automatically refresh your browser. Closes mkdocs#163
Use python-livereload to automatically refresh your browser. Closes mkdocs#163
Use python-livereload to automatically refresh your browser. Closes mkdocs#163
Use python-livereload to automatically refresh your browser. Closes mkdocs#163
This would make the eediting experience really neat. @ericholscher had an idea for a GUI app that could do this, but this approach might be enough.
One possible approach - inject some JavaScript that either polls or uses web sockets to be notified of an update.
The text was updated successfully, but these errors were encountered: