Use config.ent for the Gtk-Doc documentation

This commit is contained in:
Pierre Pronchery 2020-02-13 09:33:43 +01:00
parent b4cd799664
commit 91c2a0aadf
6 changed files with 91 additions and 23 deletions

View File

@ -3,28 +3,35 @@
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
[ [
<!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'"> <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
<!ENTITY server "www.defora.org/doc/gtk-doc/html"> <!ENTITY % gtkdocentities SYSTEM "xml/gtkdocentities.ent">
<!ENTITY title "DeforaOS libApp"> %gtkdocentities;
<!ENTITY version "0.1.5"> <!ENTITY % configentities SYSTEM "config.ent">
%configentities;
]> ]>
<book id="index"> <book id="index" xmlns:xi="http://www.w3.org/2003/XInclude">
<bookinfo> <bookinfo>
<title>libApp Reference Manual</title> <title>&vendor; &package; &title;</title>
<releaseinfo> <releaseinfo>
for libApp &version;. for &vendor; &package; &version;.
The latest version of this documentation can be found on-line at The latest version of this documentation can be found on-line at
<ulink role="online-location" url="http://&server;/libApp/index.html">http://&server;/libApp/</ulink>. <ulink role="online-location" url="https://&server;/&package;/">https://&server;/&package;/</ulink>.
</releaseinfo> </releaseinfo>
</bookinfo> </bookinfo>
<chapter> <chapter>
<title>&title;</title> <title>&vendor; &package;</title>
<xi:include href="xml/app.xml"/>
<xi:include href="xml/appclient.xml"/> <xi:include href="xml/appclient.xml"/>
<xi:include href="xml/appmessage.xml"/> <xi:include href="xml/appmessage.xml"/>
<xi:include href="xml/appserver.xml"/> <xi:include href="xml/appserver.xml"/>
<xi:include href="xml/apptransport.xml"/> <xi:include href="xml/apptransport.xml"/>
</chapter> </chapter>
<!-- enable this when you use gobject types
<chapter id="object-tree">
<title>Object Hierarchy</title>
<xi:include href="xml/tree_index.sgml"/>
</chapter>
-->
<index id="api-index-full"> <index id="api-index-full">
<title>API Index</title> <title>API Index</title>
<xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include> <xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
@ -33,6 +40,7 @@
<title>Index of deprecated API</title> <title>Index of deprecated API</title>
<xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include> <xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include>
</index> </index>
<!-- enable this when you use gobject introspection annotations
<xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include> <xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include>
-->
</book> </book>

View File

@ -0,0 +1,56 @@
<SECTION>
<FILE>App</FILE>
</SECTION>
<SECTION>
<FILE>app</FILE>
AppMessage
</SECTION>
<SECTION>
<FILE>appclient</FILE>
AppClient
appclient_call
appclient_delete
appclient_new
appclient_new_event
</SECTION>
<SECTION>
<FILE>appmessage</FILE>
AppMessageType
appmessage_delete
appmessage_get_method
appmessage_get_type
appmessage_new_call
appmessage_new_deserialize
appmessage_serialize
</SECTION>
<SECTION>
<FILE>appserver</FILE>
APPSERVER_MAX_ARGUMENTS
AppServer
AppServerOptions
appserver_delete
appserver_get_client_id
appserver_loop
appserver_new
appserver_new_event
</SECTION>
<SECTION>
<FILE>apptransport</FILE>
AppTransport
AppTransportClient
AppTransportMode
AppTransportPlugin
AppTransportPluginDefinition
AppTransportStatus
client_delete
client_new
client_receive
status
</SECTION>

View File

@ -1 +1 @@
dist=Makefile,libApp-docs.xml dist=Makefile,libApp-docs.xml,libApp-sections.txt,xml/gtkdocentities.ent

View File

@ -0,0 +1,2 @@
<!ENTITY server "www.defora.org/doc/gtk-doc/html">
<!ENTITY title "Reference Manual">

View File

@ -1,7 +1,8 @@
subdirs=gtkdoc subdirs=gtkdoc
targets=AppBroker.1,AppBroker.html,AppClient.1,AppClient.html,gtkdoc/libApp.types,gtkdoc/tmpl.stamp,gtkdoc/sgml.stamp,gtkdoc/html.stamp targets=AppBroker.1,AppBroker.html,AppClient.1,AppClient.html,gtkdoc/html.stamp,gtkdoc/libApp.types,gtkdoc/tmpl.stamp,gtkdoc/xml.stamp
dist=Makefile,AppBroker.css.xml,AppBroker.xml,AppClient.css.xml,AppClient.xml,docbook.sh,gtkdoc.sh,manual.css.xml dist=Makefile,AppBroker.css.xml,AppBroker.xml,AppClient.css.xml,AppClient.xml,docbook.sh,gtkdoc.sh,manual.css.xml
#targets
[AppBroker.1] [AppBroker.1]
type=script type=script
script=./docbook.sh script=./docbook.sh
@ -26,22 +27,23 @@ script=./docbook.sh
depends=AppClient.css.xml,AppClient.xml,manual.css.xml depends=AppClient.css.xml,AppClient.xml,manual.css.xml
#install= #install=
[gtkdoc/html.stamp]
type=script
script=./gtkdoc.sh
depends=gtkdoc.sh,gtkdoc/libApp-docs.xml,$(OBJDIR)gtkdoc/xml.stamp,gtkdoc/xml/gtkdocentities.ent,../config.ent
install=
[gtkdoc/libApp.types] [gtkdoc/libApp.types]
type=script type=script
script=./gtkdoc.sh script=./gtkdoc.sh
depends=gtkdoc.sh
[gtkdoc/tmpl.stamp] [gtkdoc/tmpl.stamp]
type=script type=script
script=./gtkdoc.sh script=./gtkdoc.sh
depends=$(OBJDIR)gtkdoc/libApp.types depends=gtkdoc.sh,$(OBJDIR)gtkdoc/libApp.types
[gtkdoc/sgml.stamp] [gtkdoc/xml.stamp]
type=script type=script
script=./gtkdoc.sh script=./gtkdoc.sh
depends=$(OBJDIR)gtkdoc/tmpl.stamp depends=gtkdoc.sh,$(OBJDIR)gtkdoc/tmpl.stamp
[gtkdoc/html.stamp]
type=script
script=./gtkdoc.sh
depends=gtkdoc/libApp-docs.xml,$(OBJDIR)gtkdoc/sgml.stamp,$(OBJDIR)gtkdoc/tmpl.stamp
install=

View File

@ -1,7 +1,7 @@
package=libApp package=libApp
version=0.3.2 version=0.3.2
config=h,sh config=ent,h,sh
dist=Makefile,COPYING,README.md,config.h,config.sh dist=Makefile,COPYING,README.md,config.ent,config.h,config.sh
subdirs=data,doc,include,src,src/transport,tools,tests subdirs=data,doc,include,src,src/transport,tools,tests
targets=tests targets=tests