DescriptionSee https://hg.adblockplus.org/wwwnew/file/ for the source data this is intended to work on. Currently it can process pages specified in Markdown (slightly extended to allow specifying page-specific parameters) or Jinja2 formats. Unfortunately, Markdown source isn`t very readable with the localizable strings removed. In addition, this will also process static files, both of the localized and unlocalized variety. What`s currently missing is code reuse (includes) which is required to support some of the more complicated pages, especially the home page.
There are two scripts here: generate_static_pages.py converts an entire repository into static files (intended to be run on the server regularly), test_server.py provides a web server for testing that operates on a directory - you can edit the files and see your changes apply immediately.
Patch Set 1 #Patch Set 2 : Various improvements #Patch Set 3 : Completed functionality #
Total comments: 19
Patch Set 4 : Addressed comments and improved localization #Patch Set 5 : Fixed MIME type #
MessagesTotal messages: 12
|