mirror of
https://github.com/netfun2000/lcd4linux.git
synced 2026-02-27 09:44:34 +08:00
[lcd4linux @ 2004-06-02 05:27:59 by reinelt]
added documentation tree git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@458 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
This commit is contained in:
50
documentation/lcd4linux/example.xml
Normal file
50
documentation/lcd4linux/example.xml
Normal file
@@ -0,0 +1,50 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||
<?xml-stylesheet type="text/xsl" href="../xsl/doc.xsl"?>
|
||||
<!DOCTYPE doc SYSTEM "../dtd/doc.dtd">
|
||||
<doc>
|
||||
<head>
|
||||
<title>The title of the page The title of the page</title>
|
||||
<version>0.1</version>
|
||||
<ref>doc_example</ref>
|
||||
<links>
|
||||
<link ref="i2c_sensors"/>
|
||||
<link url="http://lcd4linux.sf.net"/>
|
||||
<link url="http://lcd4linux.sf.net">SourceForge</link>
|
||||
</links>
|
||||
<history>
|
||||
<revision version="0.1" by="Xavier">
|
||||
The first, and only version ever ;)
|
||||
</revision>
|
||||
<revision version="0.0" by="Xavier">
|
||||
TEST
|
||||
</revision>
|
||||
</history>
|
||||
<state finished="true" proofread="true"/>
|
||||
</head>
|
||||
<body>
|
||||
<h2>This is the text of the page, we can use xhtml tags here and there are some helpers : </h2>
|
||||
<cmd><cmd> Will be used to indicate <tt>console commands</tt>, or other things</cmd>
|
||||
<conf><conf> Is to format lcd4linux.conf examples</conf>
|
||||
<note><note> Will display a div with the message, to add a tip, or an explanation</note>
|
||||
<warn><warn> Will work just as <note>, but for more important messages</warn>
|
||||
<new date="01/01/01" title="test new"><new> is to display boxes with news, for the main page or, as an example for displays/plugins pages to show news in the features</new> <br />
|
||||
|
||||
<link ref="plugin_i2c_sensors"/>
|
||||
|
||||
There will be other helpers : <image>, <link>, <table> ...<br />
|
||||
|
||||
If you look at the sources of this page, there are a lot of information in the head. They will be used for internal processing, and some will be displayed (for example <links> will define links to be put in a 'See also' box, with links to related articles, websites, ...<br />
|
||||
|
||||
We'll use 'standard' xhtml tags <br /> <b><b></b> <i><i></i> <tt><tt></tt> <small><small></small> <big><big></big> and others, not really proceced by xslt.
|
||||
<h2><h2></h2> <h3><h3></h3> <h4><h4></h4> <h5><h5></h5> <h6><h6></h6>
|
||||
|
||||
<h2>test</h2>
|
||||
<h3>one</h3>
|
||||
<h3>two</h3>
|
||||
<h3>three</h3>
|
||||
<h2>AAAA</h2>
|
||||
<h3>one</h3>
|
||||
<h3>two</h3>
|
||||
<h3>three</h3>
|
||||
</body>
|
||||
</doc>
|
||||
Reference in New Issue
Block a user