Custom rename for index.html in WebHelp?

Oxygen general issues.
mstockman
Posts: 7
Joined: Mon Jan 08, 2018 9:39 pm

Custom rename for index.html in WebHelp?

Post by mstockman »

Hi, is there any way to generate WebHelp Classic output with a different main filename? We'd like index.html to be named something else as an easy (well, easier) way to ensure backward compatibility with a prior help system.

I've found where index appears to be hard-coded in your createMainFiles.xsl files and there doesn't seem to be an easy way to customize this that will work throughout the WebHelp system, but I'm hoping you can provide an alternative.

Thanks.
Costin
Posts: 833
Joined: Mon Dec 05, 2011 6:04 pm

Re: Custom rename for index.html in WebHelp?

Post by Costin »

Hello,

There is no parameter that could be used in the transformation scenario to rename the "index.html" file to something else.
You could most probably achieve this through your own script which you should develop to perform this and which you could then use in a custom Ant build file for the WebHelp Classic transformation scenario.
However, by default, there is no support in the transformation scenario to rename the generated index.html, so you should do that either manually, or by using a build file with your ant script.

Best Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
Post Reply