Package: asciidoc
Version: 8.5.2-1
Severity: wishlist

Hi Alex and Fredrik,

I use asciidoc to generate man pages and HTML documentation for git,
generally very happy with how it works.

Glancing at the output today, I noticed it includes a lot of common
boilerplate for all the HTML files.  Factoring this out would make
each HTML file a bit more readable.  In other words, instead of
starting with

| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
|    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>
| <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en">
| <head>
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
| <meta name="generator" content="AsciiDoc 8.5.2" />
| <title>git-archive(1)</title>
| <style type="text/css">
| /* Debug borders */
[...]
| </style>
| <script type="text/javascript">
| /*<![CDATA[*/
| window.onload = function(){asciidoc.footnotes();}
[...]

I wish the output could start with

| <!DOCTYPE html
[...]
| <link rel="stylesheet" href="asciidoc-refentry.css" />
| <script type="text/javascript" src="asciidoc.js" />

What do you think?
Jonathan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to