DITA: File and folder organization
- The DITA Map file might have trouble loading topics in higher level folders. DITA Map files are like kings. They want all the other files to sit below them either in the same folder or in subfolders. Oxygen has a special parameter override you can set if you're referencing topics in higher folders than the map.
- References to a file will be more likely to break if you use subfolders. For example, suppose you put all your configuration topics into a folder called "configuration". References to a topic there will look like this: configuration/sample_config.dita. Suppose you decide to move sample_config.dita into another folder. All your links will break. (To change folder paths, I believe you use the refactoring options, but honestly I haven't quite figured them out.)
- I do put images and glossary items in their own subfolders.
- I always name my ditamap docmap.ditamap.
About Tom Johnson
I'm an API technical writer based in the Seattle area. On this blog, I write about topics related to technical writing and communication — such as software documentation, API documentation, AI, information architecture, content strategy, writing processes, plain language, tech comm careers, and more. Check out my API documentation course if you're looking for more info about documenting APIs. Or see my posts on AI and AI course section for more on the latest in AI and tech comm.
If you're a technical writer and want to keep on top of the latest trends in the tech comm, be sure to subscribe to email updates below. You can also learn more about me or contact me. Finally, note that the opinions I express on my blog are my own points of view, not that of my employer.