Using the new CSS for manual pages
This commit is contained in:
parent
1d4022720d
commit
7827411b43
3
Makefile
3
Makefile
|
@ -28,10 +28,13 @@ dist:
|
|||
$(PACKAGE)-$(VERSION)/data/pkgconfig.sh \
|
||||
$(PACKAGE)-$(VERSION)/data/project.conf \
|
||||
$(PACKAGE)-$(VERSION)/doc/Makefile \
|
||||
$(PACKAGE)-$(VERSION)/doc/AppBroker.css.xml \
|
||||
$(PACKAGE)-$(VERSION)/doc/AppBroker.xml \
|
||||
$(PACKAGE)-$(VERSION)/doc/AppClient.css.xml \
|
||||
$(PACKAGE)-$(VERSION)/doc/AppClient.xml \
|
||||
$(PACKAGE)-$(VERSION)/doc/docbook.sh \
|
||||
$(PACKAGE)-$(VERSION)/doc/gtkdoc.sh \
|
||||
$(PACKAGE)-$(VERSION)/doc/manual.css.xml \
|
||||
$(PACKAGE)-$(VERSION)/doc/project.conf \
|
||||
$(PACKAGE)-$(VERSION)/doc/gtkdoc/Makefile \
|
||||
$(PACKAGE)-$(VERSION)/doc/gtkdoc/libApp-docs.xml \
|
||||
|
|
7
doc/AppBroker.css.xml
Normal file
7
doc/AppBroker.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: -->
|
7
doc/AppClient.css.xml
Normal file
7
doc/AppClient.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: -->
|
|
@ -16,13 +16,13 @@ subdirs:
|
|||
AppBroker.1: AppBroker.xml
|
||||
./docbook.sh -P "$(PREFIX)" -- "AppBroker.1"
|
||||
|
||||
AppBroker.html: AppBroker.xml
|
||||
AppBroker.html: AppBroker.css.xml AppBroker.xml manual.css.xml
|
||||
./docbook.sh -P "$(PREFIX)" -- "AppBroker.html"
|
||||
|
||||
AppClient.1: AppClient.xml
|
||||
./docbook.sh -P "$(PREFIX)" -- "AppClient.1"
|
||||
|
||||
AppClient.html: AppClient.xml
|
||||
AppClient.html: AppClient.css.xml AppClient.xml manual.css.xml
|
||||
./docbook.sh -P "$(PREFIX)" -- "AppClient.html"
|
||||
|
||||
gtkdoc/libApp.types:
|
||||
|
|
|
@ -58,6 +58,7 @@ _docbook()
|
|||
html)
|
||||
XSL="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"
|
||||
[ -f "${target%.*}.xsl" ] && XSL="${target%.*}.xsl"
|
||||
[ -f "${target%.*}.css.xml" ] && XSLTPROC="$XSLTPROC --param custom.css.source \"${target%.*}.css.xml\" --param generate.css.header 1"
|
||||
$DEBUG $XSLTPROC -o "$target" "$XSL" "$source"
|
||||
;;
|
||||
pdf)
|
||||
|
|
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,6 +1,6 @@
|
|||
subdirs=gtkdoc
|
||||
targets=AppBroker.1,AppBroker.html,AppClient.1,AppClient.html,gtkdoc/libApp.types,gtkdoc/tmpl.stamp,gtkdoc/sgml.stamp,gtkdoc/html.stamp
|
||||
dist=Makefile,AppBroker.xml,AppClient.xml,docbook.sh,gtkdoc.sh
|
||||
dist=Makefile,AppBroker.css.xml,AppBroker.xml,AppClient.css.xml,AppClient.xml,docbook.sh,gtkdoc.sh,manual.css.xml
|
||||
|
||||
[AppBroker.1]
|
||||
type=script
|
||||
|
@ -11,7 +11,7 @@ install=
|
|||
[AppBroker.html]
|
||||
type=script
|
||||
script=./docbook.sh
|
||||
depends=AppBroker.xml
|
||||
depends=AppBroker.css.xml,AppBroker.xml,manual.css.xml
|
||||
install=
|
||||
|
||||
[AppClient.1]
|
||||
|
@ -23,7 +23,7 @@ depends=AppClient.xml
|
|||
[AppClient.html]
|
||||
type=script
|
||||
script=./docbook.sh
|
||||
depends=AppClient.xml
|
||||
depends=AppClient.css.xml,AppClient.xml,manual.css.xml
|
||||
#install=
|
||||
|
||||
[gtkdoc/libApp.types]
|
||||
|
|
Loading…
Reference in New Issue
Block a user