manual: Start with a skeleton of a usermanual
This is a DocBook skeleton that should morph into a proper usermanual for the SIMtrace.
This commit is contained in:
parent
666f9db529
commit
0729969530
|
@ -0,0 +1,4 @@
|
|||
*.texi
|
||||
usermanual.txt
|
||||
usermanual.pdf
|
||||
*.sw?
|
|
@ -0,0 +1,42 @@
|
|||
# XSL stylesheets downloaded from http://docbook.sourceforge.net/release/xsl/current/html/
|
||||
# Makefile from BitBake/OpenEmbedded manuals
|
||||
|
||||
topdir = .
|
||||
manual = $(topdir)/usermanual.xml
|
||||
# types = pdf txt rtf ps xhtml html man tex texi dvi
|
||||
# types = pdf txt
|
||||
types = $(docbooktotypes)
|
||||
docbooktotypes = pdf txt
|
||||
# htmlcssfile =
|
||||
# htmlcss =
|
||||
cleanfiles = $(foreach i,$(types),$(topdir)/$(i))
|
||||
|
||||
ifdef DEBUG
|
||||
define command
|
||||
$(1)
|
||||
endef
|
||||
else
|
||||
define command
|
||||
@echo $(2) $(3) $(4)
|
||||
@$(1)
|
||||
endef
|
||||
endif
|
||||
|
||||
all: $(types)
|
||||
|
||||
lint: $(manual) FORCE
|
||||
$(call command,xmllint --xinclude --postvalid --noout $(manual),XMLLINT $(manual))
|
||||
|
||||
$(types): lint FORCE
|
||||
|
||||
|
||||
$(docbooktotypes): $(manual)
|
||||
$(call command,docbook2$@ $(manual),DOCBOOK2 $@ $(manual))
|
||||
|
||||
clean:
|
||||
rm -rf $(cleanfiles)
|
||||
|
||||
$(foreach i,$(types) $(foreach type,$(htmltypes),$(type)-nochunks),clean-$(i)):
|
||||
rm -rf $(patsubst clean-%,%,$@)
|
||||
|
||||
FORCE:
|
|
@ -0,0 +1,9 @@
|
|||
This should be our user manual, it is created using docbook and
|
||||
can be compiled by either. Patches for additional sections are
|
||||
more than welcome.
|
||||
|
||||
$ make
|
||||
|
||||
or
|
||||
|
||||
$ dblatex usermanual.tex
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
<appendix id="appendix_sql_v09">
|
||||
<title>SQL Tabellen v0.9</title>
|
||||
<programlisting>
|
||||
<inlinemediaobject><imageobject><imagedata format="linespecific" fileref="file" /></imageobject></inlinemediaobject>
|
||||
</programlisting>
|
||||
</appendix>
|
||||
-->
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<chapter id="chapter_building">
|
||||
<title>Getting and Building the Software</title>
|
||||
<section id="building_dependencies">
|
||||
<title>Installing Dependencies</title>
|
||||
<para></para>
|
||||
</section>
|
||||
</chapter>
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<chapter id="chapter_introduction">
|
||||
<title>Introduction</title>
|
||||
<section id="intro_overview">
|
||||
<title>Overview</title>
|
||||
<para></para>
|
||||
</section>
|
||||
</chapter>
|
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<chapter id="chapter_using">
|
||||
<title>Sniffing your SIM</title>
|
||||
|
||||
<section id="launching_simtrace">
|
||||
<title>Launching SIMtrace</title>
|
||||
<para></para>
|
||||
<screen>
|
||||
$ <command>simtrace</command>
|
||||
</screen>
|
||||
</section>
|
||||
|
||||
<section id="launching_wireshark">
|
||||
<title>Launching Wireshark</title>
|
||||
<para></para>
|
||||
<screen>
|
||||
$ <command>wireshark</command>
|
||||
</screen>
|
||||
</section>
|
||||
</chapter>
|
|
@ -0,0 +1,46 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
ex:ts=4:sw=4:sts=4:et
|
||||
-*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
|
||||
-->
|
||||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
|
||||
<!ENTITY chapter-introduction SYSTEM "chapters/introduction.xml">
|
||||
<!ENTITY chapter-using SYSTEM "chapters/using.xml">
|
||||
<!ENTITY chapter-building SYSTEM "chapters/building.xml">
|
||||
<!ENTITY chapter-appendix SYSTEM "chapters/appendix.xml">
|
||||
]>
|
||||
|
||||
<book>
|
||||
<bookinfo>
|
||||
<revhistory>
|
||||
<revision>
|
||||
<revnumber>0.0.1</revnumber>
|
||||
<date>12 July 2011</date>
|
||||
<authorinitials>z</authorinitials>
|
||||
<revremark>Initial</revremark>
|
||||
</revision>
|
||||
</revhistory>
|
||||
|
||||
<title>SIMtrace Usermanual</title>
|
||||
|
||||
<copyright>
|
||||
<year>2011</year>
|
||||
</copyright>
|
||||
|
||||
<legalnotice>
|
||||
<para>This work is licensed under a Creative Commons Attribution 3.0
|
||||
Unported License. To view a copy of this license, visit <ulink
|
||||
url="http://creativecommons.org/licenses/by-sa/3.0/">http://creativecommons.org/licenses/by-sa/3.0/</ulink>
|
||||
or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford,
|
||||
California 94305, USA.</para>
|
||||
</legalnotice>
|
||||
</bookinfo>
|
||||
|
||||
<!-- Main chapters-->
|
||||
&chapter-introduction;
|
||||
&chapter-using;
|
||||
&chapter-building;
|
||||
|
||||
&chapter-appendix;
|
||||
</book>
|
Loading…
Reference in New Issue