|
Re: How to group books in InfoCenter? [message #666533 is a reply to message #666257] |
Wed, 20 April 2011 18:33 |
Jennifer Skiendzielewski Messages: 35 Registered: January 2010 Location: Boulder, CO |
Member |
|
|
The only way I know to do this (and this is in a very old version of eclipse) is to create a "navigation plugin," which contains links to the top-level TOC file for each of my sub-books.
The plugin.xml for the navigation plugin looks like this:
<?xml version="1.0" encoding="utf-8" ?>
<?eclipse version="3.0"?>
<plugin name="Product name" id="com.company.product" version="2.1" provider="Company">
<extension id="helpProduct" point="org.eclipse.core.runtime.products">
<product name="Product name" application="" />
</extension>
<extension point="org.eclipse.help.toc">
<toc file="aiwnav.xml" primary="true" />
</extension>
</plugin>
And the aiwnav.xml file looks like this:
<?xml version="1.0" encoding="utf-8" ?>
<?NLS TYPE="org.eclipse.help.toc"?>
<toc label="Product Name" topic="welcome.html">
<link toc="../com.company.book1/toc.xml" />
<link toc="../com.company.book2/toc.xml" />
<link toc="../com.company.book3/toc.xml" />
</toc>
Each of those books has a plugin.xml file, which declares its toc file as "primary=true", but somehow they only show up in the TOC as children of the navigation plugin.
This might be a deprecated method-- like I said, we're only using it in an old version of eclipse. And someone else implemented it; I'm just keeping it going. But maybe it's enough to get you started.
[Updated on: Wed, 20 April 2011 18:34] Report message to a moderator
|
|
|
|
|
|
Re: How to group books in InfoCenter? [message #667265 is a reply to message #666257] |
Wed, 27 April 2011 18:00 |
Robert.Pearson Messages: 8 Registered: March 2011 |
Junior Member |
|
|
What I have been doing for making my groups--since I generate my JAR files with WebWorks--is group them in the WebWorks project. I have several Framemaker books inside one project, and the "books" within the top-level book are each a Frame book with the style designer used to sort out how page breaks and TOC are managed.
Of course this only helps if you're using Framemaker.
|
|
|
Powered by
FUDForum. Page generated in 0.03767 seconds