direct generation of help plugin

This commit is contained in:
Eyck Jentzsch 2022-01-08 17:36:52 +01:00
parent 5f84194145
commit 8119c1a4f3
10 changed files with 29 additions and 72 deletions

View File

@ -17,7 +17,7 @@
<asciidoctorj.pdf.version>1.5.0-alpha.16</asciidoctorj.pdf.version>
<asciidoctorj.version>1.5.6</asciidoctorj.version>
<jruby.version>1.7.26</jruby.version>
<help.plugin.target.dir>target/eclipse</help.plugin.target.dir>
<help.plugin.target.dir>../../plugins/com.minres.scviewer.e4.application.help</help.plugin.target.dir>
</properties>
<build>

View File

@ -1 +1,4 @@
/target/
/css/
/images/
/*.html

View File

@ -3,5 +3,8 @@ output.. = bin/
bin.includes = plugin.xml,\
META-INF/,\
.,\
html/,\
*.xml
images/,\
css/,\
*.html,\
*.xml,\
OSGI-INF/

View File

@ -1,13 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Main Topic</title>
</head>
<body>
<h1>Main Topic</h1>
Please enter your text here.
</body>
</html>

View File

@ -1,13 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Sub Topic</title>
</head>
<body>
<h1>Sub Topic</h1>
Please enter your text here.
</body>
</html>

View File

@ -1,13 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Table of Contents</title>
</head>
<body>
<h1>Table of Contents</h1>
Please enter your text here.
</body>
</html>

View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<index/>

View File

@ -1,16 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.help.toc">
<toc
file="toc.xml">
</toc>
<toc
file="testToc.xml"
primary="true">
</toc>
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<plugin name="DocBook Online Help Sample" id="com.minres.scviewer.doc" version="1.0" provider-name="Example provider">
<extension point="org.eclipse.help.toc">
<toc file="toc.xml" primary="true"/>
</extension>
</plugin>
<extension point="org.eclipse.help.index">
<index file="index.xml"/>
</extension>
</plugin>

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<?NLS TYPE="org.eclipse.help.toc"?>
<toc label="Test TOC" topic="html/toc.html">
<link toc="toc.xml" />
</toc>

View File

@ -1,9 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<?NLS TYPE="org.eclipse.help.toc"?>
<toc label="Sample Table of Contents">
<topic label="Main Topic" href="html/maintopic.html">
<topic label="Sub Topic" href="html/subtopic.html"/>
</topic>
<topic label="Main Topic 2"/>
</toc>
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<toc label="SCViewer User Guide" topic="SCViewerHelp.html">
<topic label="Introduction" href="ch01.html">
<topic label="SCViewer overview" href="ch01.html#_overview"/>
<topic label="SCViewer features" href="ch01s02.html"/>
</topic>
<topic label="Reference" href="ch02.html">
<topic label="Key Shortcuts" href="ch02.html#_keybindings"/>
</topic>
</toc>