From: Timo Mueller <timo.muel...@bmw-carit.de>

Adds yocto specific eclipse help to the plugin. The help is currently
empty but will contain the official yocto documentation later.
---
 .../META-INF/MANIFEST.MF                           |    3 ++-
 .../org.yocto.sdk.ide.doc.user/build.properties    |    7 +++++--
 plugins/org.yocto.sdk.ide.doc.user/html/book.css   |    1 +
 plugins/org.yocto.sdk.ide.doc.user/plugin.xml      |    7 +++++++
 plugins/org.yocto.sdk.ide.doc.user/toc.xml         |    3 +++
 5 files changed, 18 insertions(+), 3 deletions(-)
 create mode 100644 plugins/org.yocto.sdk.ide.doc.user/html/book.css
 create mode 100644 plugins/org.yocto.sdk.ide.doc.user/toc.xml

diff --git a/plugins/org.yocto.sdk.ide.doc.user/META-INF/MANIFEST.MF 
b/plugins/org.yocto.sdk.ide.doc.user/META-INF/MANIFEST.MF
index 87079ce..a93601e 100644
--- a/plugins/org.yocto.sdk.ide.doc.user/META-INF/MANIFEST.MF
+++ b/plugins/org.yocto.sdk.ide.doc.user/META-INF/MANIFEST.MF
@@ -5,4 +5,5 @@ Bundle-SymbolicName: org.yocto.sdk.ide.doc.user;singleton:=true
 Bundle-Version: 1.2.0.qualifier
 Bundle-Vendor: %Bundle-Vendor
 Bundle-RequiredExecutionEnvironment: JavaSE-1.6
-Require-Bundle: org.eclipse.ui.cheatsheets
+Require-Bundle: org.eclipse.ui.cheatsheets,
+ org.eclipse.help
diff --git a/plugins/org.yocto.sdk.ide.doc.user/build.properties 
b/plugins/org.yocto.sdk.ide.doc.user/build.properties
index caf850b..6d00e58 100644
--- a/plugins/org.yocto.sdk.ide.doc.user/build.properties
+++ b/plugins/org.yocto.sdk.ide.doc.user/build.properties
@@ -2,5 +2,8 @@ bin.includes = plugin.xml,\
                .,\
                META-INF/,\
                OSGI-INF/,\
-               cheatsheets/
-src.includes = cheatsheets/
+               cheatsheets/,\
+               html/,\
+               toc.xml
+src.includes = cheatsheets/,\
+               html/
diff --git a/plugins/org.yocto.sdk.ide.doc.user/html/book.css 
b/plugins/org.yocto.sdk.ide.doc.user/html/book.css
new file mode 100644
index 0000000..e248f5a
--- /dev/null
+++ b/plugins/org.yocto.sdk.ide.doc.user/html/book.css
@@ -0,0 +1 @@
+@import "PLUGINS_ROOT/PRODUCT_PLUGIN/book.css";
diff --git a/plugins/org.yocto.sdk.ide.doc.user/plugin.xml 
b/plugins/org.yocto.sdk.ide.doc.user/plugin.xml
index 24c539d..59ae9d1 100644
--- a/plugins/org.yocto.sdk.ide.doc.user/plugin.xml
+++ b/plugins/org.yocto.sdk.ide.doc.user/plugin.xml
@@ -10,4 +10,11 @@
                        name="%cheatsheet.name">
                </cheatsheet>
        </extension>
+ <extension
+       point="org.eclipse.help.toc">
+    <toc
+          file="toc.xml"
+          primary="true">
+    </toc>
+ </extension>
 </plugin>
diff --git a/plugins/org.yocto.sdk.ide.doc.user/toc.xml 
b/plugins/org.yocto.sdk.ide.doc.user/toc.xml
new file mode 100644
index 0000000..e110a54
--- /dev/null
+++ b/plugins/org.yocto.sdk.ide.doc.user/toc.xml
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="UTF-8"?>
+ <toc label="The Yocto Project Documentation">
+ </toc>
-- 
1.7.7.6

_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to