DeepBlueCLtd / Fi3ldMan

Field Service Manual with advanced data exploitation
https://deepbluecltd.github.io/Fi3ldMan/
Apache License 2.0
1 stars 1 forks source link

Add Oxygen DITA-OT framework to repo #94

Closed frank-zimmermann closed 1 year ago

frank-zimmermann commented 1 year ago

Oxygen uses the Built-in DITA publishing engine. It's a folder located in the frameworks directory of the installed Oxygen instance. Regarding changes in the transformation, the DITA-OT folder should be copied into the repository. The folder to the new location needs to be changed in the file LegacyMan_DITA.xpr.

image

This is necessary to handle changes in the transformation as dynamic as possible, adapting/reformatting the transformation templates (xsl) as needed.

An example is adding header and footer information, see https://github.com/DeepBlueCLtd/Fi3ldMan/issues/88

IanMayo commented 1 year ago

Sure, please create a PR for it.

frank-zimmermann commented 1 year ago

@IanMayo, a new branch was created. The DITA-OT folder also contains a folder lib (necessary for transformation) How do you handle adding .jar files? Adding this folder locally or modifying the .gitignore file? lib is currently ignored globally.

IanMayo commented 1 year ago

I'm happy to include it, if it's part of the original DITA-OT distribution.

Are all lib folders ignored, or just at the top level? (Update: it looks like the .gitignore just ignores a top-level lib folder, so the one in DITA-OT should get picked up.

frank-zimmermann commented 1 year ago

No, lib/ means all folders. I would add !DITA-OT/lib/ to not ignore exactly this folder. (Works for me, now I can add it)

IanMayo commented 1 year ago

Yes - that sounds fine Frank.

IanMayo commented 1 year ago

We'll close this issue for now, since we're going to try resolving it by just modifying the Oxygen transformation scenario.