Output the HTML documentation truly in the fashion of manual pages
This commit is contained in:
parent
99b7ece79e
commit
72ff68354d
2
Makefile
2
Makefile
|
@ -26,7 +26,9 @@ dist:
|
|||
$(PACKAGE)-$(VERSION)/data/project.conf \
|
||||
$(PACKAGE)-$(VERSION)/doc/Makefile \
|
||||
$(PACKAGE)-$(VERSION)/doc/docbook.sh \
|
||||
$(PACKAGE)-$(VERSION)/doc/installer.css.xml \
|
||||
$(PACKAGE)-$(VERSION)/doc/installer.xml \
|
||||
$(PACKAGE)-$(VERSION)/doc/manual.css.xml \
|
||||
$(PACKAGE)-$(VERSION)/doc/project.conf \
|
||||
$(PACKAGE)-$(VERSION)/po/Makefile \
|
||||
$(PACKAGE)-$(VERSION)/po/gettext.sh \
|
||||
|
|
|
@ -12,7 +12,7 @@ all: $(TARGETS)
|
|||
installer.1: installer.xml
|
||||
./docbook.sh -P "$(PREFIX)" -- "installer.1"
|
||||
|
||||
installer.html: installer.xml
|
||||
installer.html: installer.css.xml installer.xml manual.css.xml
|
||||
./docbook.sh -P "$(PREFIX)" -- "installer.html"
|
||||
|
||||
clean:
|
||||
|
|
7
doc/installer.css.xml
Normal file
7
doc/installer.css.xml
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- $Id$ -->
|
||||
<!DOCTYPE style [
|
||||
<!ENTITY manual "manual.css.xml">
|
||||
]>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="&manual;"/>
|
||||
<!-- vim: set noet ts=1 sw=1 sts=1 tw=80: -->
|
33
doc/manual.css.xml
Normal file
33
doc/manual.css.xml
Normal file
|
@ -0,0 +1,33 @@
|
|||
<?xml version="1.0"?>
|
||||
<style><![CDATA[/* $Id$ */
|
||||
|
||||
div.refentry {
|
||||
font-family: monospace;
|
||||
margin-left: 5ex;
|
||||
min-width: 102ex;
|
||||
width: 102ex;
|
||||
}
|
||||
|
||||
div.refentry h1, div.refentry h2, div.refentry h3 {
|
||||
font-size: inherit;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
div.refentry h1, div.refentry h2 {
|
||||
margin-left: -4ex;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
div.refentry h3 {
|
||||
margin-left: -2ex;
|
||||
}
|
||||
|
||||
div.refentry p {
|
||||
margin-top: 0;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
div.refentry blockquote, div.refentry pre {
|
||||
margin-left: 5ex;
|
||||
}
|
||||
]]></style>
|
|
@ -1,5 +1,5 @@
|
|||
targets=installer.1,installer.html
|
||||
dist=Makefile,docbook.sh,installer.xml
|
||||
dist=Makefile,docbook.sh,installer.css.xml,installer.xml,manual.css.xml
|
||||
|
||||
[installer.1]
|
||||
type=script
|
||||
|
@ -11,4 +11,4 @@ depends=installer.xml
|
|||
type=script
|
||||
script=./docbook.sh
|
||||
install=
|
||||
depends=installer.xml
|
||||
depends=installer.css.xml,installer.xml,manual.css.xml
|
||||
|
|
34
doc/style.css.xml
Normal file
34
doc/style.css.xml
Normal file
|
@ -0,0 +1,34 @@
|
|||
<?xml version="1.0"?>
|
||||
<style><![CDATA[/* $Id$ */
|
||||
|
||||
div.refentry {
|
||||
font-family: monospace;
|
||||
margin-left: 5ex;
|
||||
min-width: 102ex;
|
||||
width: 102ex;
|
||||
}
|
||||
|
||||
div.refentry h1, div.refentry h2, div.refentry h3 {
|
||||
font-size: inherit;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
div.refentry h2 {
|
||||
margin-left: -4ex;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
div.refentry h3 {
|
||||
margin-left: -2ex;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
div.refentry p {
|
||||
margin-top: 0;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
div.refentry blockquote, div.refentry pre {
|
||||
margin-left: 5ex;
|
||||
}
|
||||
]]></style>
|
Loading…
Reference in New Issue
Block a user