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.pdf.version>1.5.0-alpha.16</asciidoctorj.pdf.version>
<asciidoctorj.version>1.5.6</asciidoctorj.version> <asciidoctorj.version>1.5.6</asciidoctorj.version>
<jruby.version>1.7.26</jruby.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> </properties>
<build> <build>

View File

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

View File

@ -3,5 +3,8 @@ output.. = bin/
bin.includes = plugin.xml,\ bin.includes = plugin.xml,\
META-INF/,\ META-INF/,\
.,\ .,\
html/,\ images/,\
*.xml 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"?> <?xml version="1.0" encoding="utf-8" standalone="no"?>
<?eclipse version="3.4"?> <plugin name="DocBook Online Help Sample" id="com.minres.scviewer.doc" version="1.0" provider-name="Example provider">
<plugin> <extension point="org.eclipse.help.toc">
<toc file="toc.xml" primary="true"/>
<extension </extension>
point="org.eclipse.help.toc"> <extension point="org.eclipse.help.index">
<toc <index file="index.xml"/>
file="toc.xml">
</toc>
<toc
file="testToc.xml"
primary="true">
</toc>
</extension> </extension>
</plugin> </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"?> <?xml version="1.0" encoding="utf-8" standalone="no"?>
<?NLS TYPE="org.eclipse.help.toc"?> <toc label="SCViewer User Guide" topic="SCViewerHelp.html">
<topic label="Introduction" href="ch01.html">
<toc label="Sample Table of Contents"> <topic label="SCViewer overview" href="ch01.html#_overview"/>
<topic label="Main Topic" href="html/maintopic.html"> <topic label="SCViewer features" href="ch01s02.html"/>
<topic label="Sub Topic" href="html/subtopic.html"/> </topic>
<topic label="Reference" href="ch02.html">
<topic label="Key Shortcuts" href="ch02.html#_keybindings"/>
</topic> </topic>
<topic label="Main Topic 2"/>
</toc> </toc>