website statistics

Using reloadmypage.com with SphinxΒΆ

reloadmypage.com is a simple scheme for reloading web pages. It uses a small fragment of Javascript on the page itself, and a URL that causes a page refresh when fetched.

To use it, embed a block in your .rst source like this:

.. raw:: html

    <script type="text/javascript" src="http://reloadmypage.com/static/js/reloadmypage.js"></script>
    <script type="text/javascript">reloadmypage("339776");</script>

and append something like this to your Makefile, or other build script:

curl http://reloadmypage.com/wake/339776

Now every time you build, the browser will refresh.