Advice on most efficient approach
I have a dream re-use scenario to work with at the moment. I can see several ways to approach it, and wanted to check in with anyone who's done this before for advice.
I am putting together a user guide and release notes for an adapter product. The product connects system A, B, or C to system 1, 2, 3, or 4. A customer only needs info the systems they are connecting between. This results in 12 user guides and 12 release notes (for system A-1, A-2... ...C-3, C-4)
Current approach:
The content has been created as DITA concepts, tasks, and references, and with separate versions of each DITA file for each relevant system. Common content is reused via conrefs to shared files.
12 ditamaps connect these files as needed to create each variation of the user guide.
This works, but I don't want to have to go through the publish process manually 12 times each time we do a software update. The process involves:
- Open ditamap
- Generate composite book with components
- Add in an fm file for revision history
- Import variables to all files in the book to update version number, release date etc
- Regenerate page numbers & TOC (they changed because of inserting the revision history table)
- Save as PDF and check everything is fine.
How much of this can I automate with a script?
Or, is it better to use 1 ditamap and combine my dita topics so they contain info for all relevant system types identified by (e.g.) the product parameter and use a ditaval on publish to generate whatever variation is needed? Would this be easier to automate despite the greater complexity in the source files?
Thanks in advance!
Kat
