documentation generator emits configurable html for code listings

This commit is contained in:
Araq 2015-07-14 01:36:49 +02:00
commit f7bdc205c7
3 changed files with 17 additions and 6 deletions

View file

@ -86,6 +86,9 @@ $moduledesc
$content
"""
doc.listing_start = "<pre class = \"listing\">"
doc.listing_end = "</pre>"
# * $analytics: Google analytics location, includes <script> tags
doc.file = """<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"