forked from intel/thermal_daemon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Add D-Bus API reference generation
Closes: intel#244
- Loading branch information
Showing
7 changed files
with
154 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,3 +38,4 @@ thd_dbus_interface.h | |
.project | ||
*thermald.service | ||
.dirstamp | ||
version.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
include $(GLIB_MAKEFILE) | ||
|
||
SUBDIRS = data | ||
SUBDIRS = . docs data | ||
|
||
ACLOCAL_AMFLAGS = | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
NULL = | ||
|
||
AUTOMAKE_OPTIONS = 1.7 | ||
|
||
# The name of the module. | ||
DOC_MODULE=thermal_daemon | ||
|
||
# The top-level SGML file. | ||
DOC_MAIN_SGML_FILE=thermal_daemon-docs.xml | ||
|
||
# Extra options to supply to gtkdoc-scan | ||
SCAN_OPTIONS= \ | ||
--ignore-headers="config.h thd*.h thermald.h acpi_*.h" \ | ||
--rebuild-sections --rebuild-types | ||
|
||
# The directory containing the source code. Relative to $(srcdir) | ||
DOC_SOURCE_DIR= | ||
|
||
# Used for dependencies | ||
HFILE_GLOB= | ||
CFILE_GLOB= | ||
|
||
# Headers to ignore | ||
IGNORE_HFILES= \ | ||
$(NULL) | ||
|
||
GTKDOC_LIBS = | ||
|
||
# Extra options to supply to gtkdoc-mkdb | ||
MKDB_OPTIONS=--sgml-mode --output-format=xml | ||
|
||
docs-thd_dbus_interface.xml: $(top_srcdir)/src/thd_dbus_interface.xml | ||
$(AM_V_GEN)$(GDBUS_CODEGEN) --generate-docbook=docs $< | ||
|
||
# Non-autogenerated SGML files to be included in $(DOC_MAIN_SGML_FILE) | ||
content_files = \ | ||
version.xml \ | ||
docs-thd_dbus_interface.xml \ | ||
$(NULL) | ||
|
||
# FIXME | ||
MAINTAINERCLEANFILES = \ | ||
*~ \ | ||
Makefile.in \ | ||
thermal_daemon.types \ | ||
thermal_daemon-*.txt \ | ||
$(NULL) | ||
|
||
include $(top_srcdir)/gtk-doc.make | ||
|
||
EXTRA_DIST = thermal_daemon-docs.xml | ||
|
||
CLEANFILES += \ | ||
docs-thermal_daemon.xml \ | ||
$(NULL) | ||
|
||
# Version information for marking the documentation | ||
EXTRA_DIST += version.xml.in | ||
|
||
-include $(top_srcdir)/git.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" | ||
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [ | ||
<!ENTITY version SYSTEM "version.xml"> | ||
]> | ||
<book id="index" xmlns:xi="http://www.w3.org/2003/XInclude"> | ||
<bookinfo> | ||
<title>Thermal Daemon Reference Manual</title> | ||
<releaseinfo>Version &version;</releaseinfo> | ||
<authorgroup> | ||
<author> | ||
<firstname>Bastien</firstname> | ||
<surname>Nocera</surname> | ||
<affiliation> | ||
<address> | ||
<email>[email protected]</email> | ||
</address> | ||
</affiliation> | ||
</author> | ||
</authorgroup> | ||
|
||
<copyright> | ||
<year>2020</year> | ||
<holder>Red Hat, Inc.</holder> | ||
</copyright> | ||
|
||
<legalnotice> | ||
<para> | ||
Permission is granted to copy, distribute and/or modify this | ||
document under the terms of the <citetitle>GNU Free | ||
Documentation License</citetitle>, Version 1.1 or any later | ||
version published by the Free Software Foundation with no | ||
Invariant Sections, no Front-Cover Texts, and no Back-Cover | ||
Texts. You may obtain a copy of the <citetitle>GNU Free | ||
Documentation License</citetitle> from the Free Software | ||
Foundation by visiting <ulink type="http" | ||
url="http://www.fsf.org">their Web site</ulink> or by writing | ||
to: | ||
|
||
<address> | ||
The Free Software Foundation, Inc., | ||
<street>59 Temple Place</street> - Suite 330, | ||
<city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode>, | ||
<country>USA</country> | ||
</address> | ||
</para> | ||
|
||
<para> | ||
Many of the names used by companies to distinguish their | ||
products and services are claimed as trademarks. Where those | ||
names appear in any GNOME documentation, and those trademarks | ||
are made aware to the members of the GNOME Documentation | ||
Project, the names have been printed in caps or initial caps. | ||
</para> | ||
</legalnotice> | ||
</bookinfo> | ||
|
||
<reference id="ref-dbus"> | ||
<title>D-Bus API Reference</title> | ||
<partintro> | ||
<para> | ||
This part documents the D-Bus interface used to access the | ||
Thermal Daemon service. | ||
</para> | ||
</partintro> | ||
<xi:include href="docs-org.freedesktop.thermald.xml"/> | ||
</reference> | ||
|
||
<index> | ||
<title>Index</title> | ||
</index> | ||
|
||
<!-- License --> | ||
|
||
<appendix id="license"> | ||
<title>License</title> | ||
<para> | ||
<programlisting><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../COPYING" parse="text"><xi:fallback>FIXME: MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting> | ||
</para> | ||
</appendix> | ||
</book> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
@VERSION@ |