summaryrefslogtreecommitdiffstats
path: root/documentation/olinkdb
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/olinkdb')
-rwxr-xr-xdocumentation/olinkdb/make-master-olinkdb-from-template.sh49
-rw-r--r--documentation/olinkdb/olink-targetdb-master-eclipse.db52
-rw-r--r--documentation/olinkdb/olink-targetdb-master-html.db50
-rw-r--r--documentation/olinkdb/olink-targetdb-master-pdf.db40
-rw-r--r--documentation/olinkdb/olink-targetdb-master-template.xml40
5 files changed, 231 insertions, 0 deletions
diff --git a/documentation/olinkdb/make-master-olinkdb-from-template.sh b/documentation/olinkdb/make-master-olinkdb-from-template.sh
new file mode 100755
index 0000000..1840595
--- /dev/null
+++ b/documentation/olinkdb/make-master-olinkdb-from-template.sh
@@ -0,0 +1,49 @@
1#!/bin/sh
2VER="R1.10"
3
4OLINKDB_BASEDIR=`dirname $0`
5
6MASTER=${OLINKDB_BASEDIR}/olink-targetdb-master
7MASTERTEMPLATE=${MASTER}-template.xml
8echo "Outgoing from template: $MASTERTEMPLATE"
9
10#---------------------------
11FORMAT=pdf
12MASTERFILE=${MASTER}-${FORMAT}.db
13echo "Create $MASTERFILE"
14cat ${MASTERTEMPLATE} | sed 's/MASTERVAR_BOOKFORMAT/pdf/;s/MASTERVAR_BOOKNAME/pdf/' >${MASTERFILE}
15
16#---------------------------
17FORMAT=eclipse
18MASTERFILE=${MASTER}-${FORMAT}.db
19echo "Create $MASTERFILE"
20cat ${MASTERTEMPLATE} | sed 's/MASTERVAR_BOOKFORMAT/eclipse/' | \
21 sed '/<dir name="eclipse">/a\
22 <dir name="plugins">' | \
23 sed 's/<document baseuri="\(book[a-zA-Z\_\-]*[0-9a-zA-Z\_\-]*\)\.MASTERVAR_BOOKNAME"/ <dir name="com.enea.doc.\1">\n <document/' | \
24 sed 's/<\/document>/ <\/document>\n <\/dir>/' |\
25 sed 's/<\/sitemap>/<\/dir>\n<\/sitemap>/' | \
26 sed 's/<div href="#[^"]*"/<div href="index.html"/' >${MASTERFILE}
27
28#---------------------------
29FORMAT=html
30MASTERFILE=${MASTER}-${FORMAT}.db
31echo "Create $MASTERFILE"
32cat ${MASTERTEMPLATE} | sed 's/MASTERVAR_BOOKFORMAT/html/' | \
33 sed 's/<document baseuri="\(book[a-zA-Z\_\-]*[0-9a-zA-Z\_\-]*\)\.MASTERVAR_BOOKNAME"/ <dir name="\1">\n <document baseuri="index.html" /' | \
34 sed 's/<\/document>/ <\/document>\n <\/dir>/' >${MASTERFILE}
35#---------------------------
36
37echo " Now: a) Should test if all databases referred to from these files exist."
38echo " Easiest way is to use XMLmind to open the created .db files"
39echo " XMLmind shall be able to open the file, and will show the contents"
40echo " of all database files."
41echo " Do not add ENTITY lines to new book until the databases are created"
42echo " It is still OK that XMLmind says that it is invalid, because it does"
43echo " not understand the xreftext contents!"
44echo " It is also OK with the comments which XMLmind shows in yellow."
45echo " (Keep xreftext anyhow. Actually I think we even could remove"
46echo " all xreftext fields, which I don't think we ever use, because we"
47echo " always provide the display string in olink elements)"
48echo ""
49echo " b) Merge the .db files"
diff --git a/documentation/olinkdb/olink-targetdb-master-eclipse.db b/documentation/olinkdb/olink-targetdb-master-eclipse.db
new file mode 100644
index 0000000..2c2a316
--- /dev/null
+++ b/documentation/olinkdb/olink-targetdb-master-eclipse.db
@@ -0,0 +1,52 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE targetset PUBLIC "-//ENEA//DTD OSE TargetSet XML V1.0//EN"
3"http://docbook.sourceforge.net/release/xsl/current/common/targetdatabase.dtd" [
4]>
5<targetset>
6 <targetsetinfo>Enea Linux olink master target database - eclipse</targetsetinfo>
7 <!-- In EclipseHelp it is the plugin ID that shall be given, not the folder name, even though they are similar -->
8 <!-- In PDF baseuri must be file:filename, not file://filename and not just filename -->
9
10 <sitemap>
11 <dir name="UserDocOSE5eclipse">
12 <dir name="doc">
13 <dir name="eclipse">
14 <dir name="plugins">
15
16 <!-- Enea Linux -->
17 <dir name="com.enea.doc.book-enea-linux-release-info">
18 <document targetdoc="book_enea_linux_release_info">
19 <div href="index.html" targetptr="book_enea_linux_release_info"></div>
20 <!-- Manual mini target db. Link TO book, but not inside -->
21 </document>
22 </dir>
23 <dir name="com.enea.doc.book-enea-linux-users-guide">
24 <document targetdoc="book_enea_linux_users_guide">
25 <div href="index.html" targetptr="book_enea_linux_users_guide"></div>
26 <!-- Manual mini target db. Link TO book, but not inside -->
27 </document>
28 </dir>
29 <dir name="com.enea.doc.book-enea-linux-realtime-guide">
30 <document targetdoc="book_enea_linux_realtime_guide">
31 <div href="index.html" targetptr="book_enea_linux_realtime_guide"></div>
32 <!-- Manual mini target db. Link TO book, but not inside -->
33 </document>
34 </dir>
35 <dir name="com.enea.doc.book-enea-linux-open-source">
36 <document targetdoc="book_enea_linux_open_source">
37 <div href="index.html" targetptr="book_enea_linux_open_source"></div>
38 <!-- Manual mini target db. Link TO book, but not inside -->
39 </document>
40 </dir>
41 <dir name="com.enea.doc.book-enea-linux-eclipse-open-source">
42 <document targetdoc="book_enea_linux_eclipse_open_source">
43 <div href="index.html" targetptr="book_enea_linux_eclipse_open_source"></div>
44 <!-- Manual mini target db. Link TO book, but not inside -->
45 </document>
46 </dir>
47 </dir>
48 </dir>
49 </dir>
50 </dir>
51</sitemap>
52</targetset>
diff --git a/documentation/olinkdb/olink-targetdb-master-html.db b/documentation/olinkdb/olink-targetdb-master-html.db
new file mode 100644
index 0000000..0be7e2b
--- /dev/null
+++ b/documentation/olinkdb/olink-targetdb-master-html.db
@@ -0,0 +1,50 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE targetset PUBLIC "-//ENEA//DTD OSE TargetSet XML V1.0//EN"
3"http://docbook.sourceforge.net/release/xsl/current/common/targetdatabase.dtd" [
4]>
5<targetset>
6 <targetsetinfo>Enea Linux olink master target database - html</targetsetinfo>
7 <!-- In EclipseHelp it is the plugin ID that shall be given, not the folder name, even though they are similar -->
8 <!-- In PDF baseuri must be file:filename, not file://filename and not just filename -->
9
10 <sitemap>
11 <dir name="UserDocOSE5html">
12 <dir name="doc">
13 <dir name="html">
14
15 <!-- Enea Linux -->
16 <dir name="book-enea-linux-release-info">
17 <document baseuri="index.html" targetdoc="book_enea_linux_release_info">
18 <div href="#book_enea_linux_release_info" targetptr="book_enea_linux_release_info"></div>
19 <!-- Manual mini target db. Link TO book, but not inside -->
20 </document>
21 </dir>
22 <dir name="book-enea-linux-users-guide">
23 <document baseuri="index.html" targetdoc="book_enea_linux_users_guide">
24 <div href="#book_enea_linux_users_guide" targetptr="book_enea_linux_users_guide"></div>
25 <!-- Manual mini target db. Link TO book, but not inside -->
26 </document>
27 </dir>
28 <dir name="book-enea-linux-realtime-guide">
29 <document baseuri="index.html" targetdoc="book_enea_linux_realtime_guide">
30 <div href="#book_enea_linux_realtime_guide" targetptr="book_enea_linux_realtime_guide"></div>
31 <!-- Manual mini target db. Link TO book, but not inside -->
32 </document>
33 </dir>
34 <dir name="book-enea-linux-open-source">
35 <document baseuri="index.html" targetdoc="book_enea_linux_open_source">
36 <div href="#book_enea_linux_open_source" targetptr="book_enea_linux_open_source"></div>
37 <!-- Manual mini target db. Link TO book, but not inside -->
38 </document>
39 </dir>
40 <dir name="book-enea-linux-eclipse-open-source">
41 <document baseuri="index.html" targetdoc="book_enea_linux_eclipse_open_source">
42 <div href="#book_enea_linux_eclipse_open_source" targetptr="book_enea_linux_eclipse_open_source"></div>
43 <!-- Manual mini target db. Link TO book, but not inside -->
44 </document>
45 </dir>
46 </dir>
47 </dir>
48 </dir>
49 </sitemap>
50</targetset>
diff --git a/documentation/olinkdb/olink-targetdb-master-pdf.db b/documentation/olinkdb/olink-targetdb-master-pdf.db
new file mode 100644
index 0000000..d18e790
--- /dev/null
+++ b/documentation/olinkdb/olink-targetdb-master-pdf.db
@@ -0,0 +1,40 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE targetset PUBLIC "-//ENEA//DTD OSE TargetSet XML V1.0//EN"
3"http://docbook.sourceforge.net/release/xsl/current/common/targetdatabase.dtd" [
4]>
5<targetset>
6 <targetsetinfo>Enea Linux olink master target database - pdf</targetsetinfo>
7 <!-- In EclipseHelp it is the plugin ID that shall be given, not the folder name, even though they are similar -->
8 <!-- In PDF baseuri must be file:filename, not file://filename and not just filename -->
9
10 <sitemap>
11 <dir name="UserDocOSE5pdf">
12 <dir name="doc">
13 <dir name="pdf">
14
15 <!-- Enea Linux -->
16 <document baseuri="book-enea-linux-release-info.pdf" targetdoc="book_enea_linux_release_info">
17 <div href="#book_enea_linux_release_info" targetptr="book_enea_linux_release_info"></div>
18 <!-- Manual mini target db. Link TO book, but not inside -->
19 </document>
20 <document baseuri="book-enea-linux-users-guide.pdf" targetdoc="book_enea_linux_users_guide">
21 <div href="#book_enea_linux_users_guide" targetptr="book_enea_linux_users_guide"></div>
22 <!-- Manual mini target db. Link TO book, but not inside -->
23 </document>
24 <document baseuri="book-enea-linux-realtime-guide.pdf" targetdoc="book_enea_linux_realtime_guide">
25 <div href="#book_enea_linux_realtime_guide" targetptr="book_enea_linux_realtime_guide"></div>
26 <!-- Manual mini target db. Link TO book, but not inside -->
27 </document>
28 <document baseuri="book-enea-linux-open-source.pdf" targetdoc="book_enea_linux_open_source">
29 <div href="#book_enea_linux_open_source" targetptr="book_enea_linux_open_source"></div>
30 <!-- Manual mini target db. Link TO book, but not inside -->
31 </document>
32 <document baseuri="book-enea-linux-eclipse-open-source.pdf" targetdoc="book_enea_linux_eclipse_open_source">
33 <div href="#book_enea_linux_eclipse_open_source" targetptr="book_enea_linux_eclipse_open_source"></div>
34 <!-- Manual mini target db. Link TO book, but not inside -->
35 </document>
36 </dir>
37 </dir>
38 </dir>
39 </sitemap>
40</targetset>
diff --git a/documentation/olinkdb/olink-targetdb-master-template.xml b/documentation/olinkdb/olink-targetdb-master-template.xml
new file mode 100644
index 0000000..a722cff
--- /dev/null
+++ b/documentation/olinkdb/olink-targetdb-master-template.xml
@@ -0,0 +1,40 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE targetset PUBLIC "-//ENEA//DTD OSE TargetSet XML V1.0//EN"
3"http://docbook.sourceforge.net/release/xsl/current/common/targetdatabase.dtd" [
4]>
5<targetset>
6 <targetsetinfo>Enea Linux olink master target database - MASTERVAR_BOOKFORMAT</targetsetinfo>
7 <!-- In EclipseHelp it is the plugin ID that shall be given, not the folder name, even though they are similar -->
8 <!-- In PDF baseuri must be file:filename, not file://filename and not just filename -->
9
10 <sitemap>
11 <dir name="UserDocOSE5MASTERVAR_BOOKFORMAT">
12 <dir name="doc">
13 <dir name="MASTERVAR_BOOKFORMAT">
14
15 <!-- Enea Linux -->
16 <document baseuri="book-enea-linux-release-info.MASTERVAR_BOOKNAME" targetdoc="book_enea_linux_release_info">
17 <div href="#book_enea_linux_release_info" targetptr="book_enea_linux_release_info"></div>
18 <!-- Manual mini target db. Link TO book, but not inside -->
19 </document>
20 <document baseuri="book-enea-linux-users-guide.MASTERVAR_BOOKNAME" targetdoc="book_enea_linux_users_guide">
21 <div href="#book_enea_linux_users_guide" targetptr="book_enea_linux_users_guide"></div>
22 <!-- Manual mini target db. Link TO book, but not inside -->
23 </document>
24 <document baseuri="book-enea-linux-realtime-guide.MASTERVAR_BOOKNAME" targetdoc="book_enea_linux_realtime_guide">
25 <div href="#book_enea_linux_realtime_guide" targetptr="book_enea_linux_realtime_guide"></div>
26 <!-- Manual mini target db. Link TO book, but not inside -->
27 </document>
28 <document baseuri="book-enea-linux-open-source.MASTERVAR_BOOKNAME" targetdoc="book_enea_linux_open_source">
29 <div href="#book_enea_linux_open_source" targetptr="book_enea_linux_open_source"></div>
30 <!-- Manual mini target db. Link TO book, but not inside -->
31 </document>
32 <document baseuri="book-enea-linux-eclipse-open-source.MASTERVAR_BOOKNAME" targetdoc="book_enea_linux_eclipse_open_source">
33 <div href="#book_enea_linux_eclipse_open_source" targetptr="book_enea_linux_eclipse_open_source"></div>
34 <!-- Manual mini target db. Link TO book, but not inside -->
35 </document>
36 </dir>
37 </dir>
38 </dir>
39 </sitemap>
40</targetset>