The easiest way to create a custom framework (document type) is by extending an existing built-in
framework, such as DITA or DocBook, and then making modifications to it. You can then easily
share the custom framework
with your team.
To create a custom
framework by extending an existing one, follow these steps:
- In a location where you have full write access, create a folder structure similar to
this: custom_frameworks/dita-extension.
- Open the
Preferences dialog box and go to . Add the path to your custom_frameworks
folder in the Additional frameworks directories list and click
OK or Apply to save your changes.
-
Go to the Document Type
Association preferences page and
select an existing framework configuration (for example, DITA) and
use the Extend button to create an extension for it.
Step Result: This opens the Document Type Configuration dialog box where you can
define the set of rules and settings for your custom framework.
- Give the extension an appropriate name, select External for the
Storage option, click the browsing button (
) to specify the location of the custom
directory you created in step 1.
- Continue to configure the extension using the tabs on the bottom half of the dialog box.
For details about each of those tabs, see the child topics in the Document Type Configuration
dialog box section. For even more information about customizing the extended
framework, see the various topics and tutorials in the Creating and Configuring Custom Frameworks section. Make sure that you save any resources
you reference in your framework configuration (CSS files, new document templates, schemas
used for validation, catalogs, etc.) in your custom framework directory you created in
step 1.
-
Click OK to close the configuration dialog box and then
OK or Apply to save your changes.
Results: You now have a fully functional framework that can be
shared with
others.