Mercurial > hg-website
view README @ 479:4b88b3c4fc80
downloads: initialize downloader from sources.js earlier
c65b81353b8f inadvertently broke the /downloads page by moving the call
to Downloader.init(sources) later in the rendering process, after the
downloads list has already been written. As a stopgap, we introduce an
earlier call to initialize the versions before attempting to render the
list. Future changes will move this inline script into an onload
function.
author | Kevin Bullock <kbullock+mercurial@ringworld.org> |
---|---|
date | Sun, 14 May 2017 21:47:27 -0500 |
parents | 9681da59a95b |
children |
line wrap: on
line source
-*- markdown -*- hg-website ========== This is the Mercurial website. It uses the microframework flask to serve jinja2 templates. Setup ----- To use this version of hg-website you need to install flask. pip install flask Usage ----- To have flask serve the page, use: python hgwebsite.py You can then visit [http://localhost:5000](http://localhost:5000) to view the site.