doloremipsum wrote:Or of course you can always just remove the old Home Page from your project and just file it somewhere else! That would actually have an added bonus: if that Home Page is being secretly linked somewhere in your project, removing it should create an error in the build log which might help you track down the offending link.
I think the issue with condition tags in this situation is that you would need to go through and tag every individual topic file with a tag for each target that it is included in - which would be an absolute pain! If topics are reused a lot between different targets in the same project it isn't always practical to just tag the folder, because topics in one folder may end up being used elsewhere.
The weird part is that looking at the Link Viewer for that old home page, it didn't have any links to or from any files that would have been in any of the target outputs, but listing all of the targets themselves in the top pane was weird. I did not understand this at all, and the help helped not. I did copy that and the target out of the project and the product target outputs improved marginally.
What I ended up doing, and I still need to review the resulting outputs a bit more deeply, was to apply conditions. But not to topics.
I have my content arranged in sub-folders by product, plus a Common folder for topics that are re-used in multiple products. So I tried applying conditions to the folders themselves. I assumed that the condition would cascade down to all of the folder's ancestors. And while this did not appear visually, the target output did seem to include only the folders for the target's product, plus the Common folder.
Still, the existing setting, in that it states "linked directly and indirectly," does not engender confidence, at least not in my use case where I'm using TOCs to define outputs. I'd love to see an added setting something along the lines of "Under no circumstances include topics in this target output any topics other than those specifically in the target's TOC, plus any related resources."