Publishing models to a web

When you publish model information to a hypertext-linked web of HTML pages, you indicate the scope of data to include, how much about that data to include, and where you want to save the published model.

Each published model is a separate, wholly contained entity with its own root page. When you publish, an overview page is generated and it contains a link to the root page for each included model.

To publish models to a hypertext-linked web of HTML pages:

  1. In the Model Explorer view, select the projects, models, profiles, and packages to publish and click Modeling > Publish > Web.
  2. In the Publish to Web window, select the level of detail:
    • Minimum to show only the documentation associated with the element.
    • Full to also show properties and owned elements.
  3. On the Options pane:
    1. Select Generate diagram image files to generate diagrams. If this is cleared selected, no diagrams will be generated and the publish content will just be text.
    2. If diagrams will be generated, select a diagram image file format:
    • GIF: Graphics Interchange Format.
    • BMP: Bitmap
    • JPEG: Joint Photographic Experts Groups
    • JPG: Joint Photographic Experts Groups (three letter file extension)
  4. If you would like add a link to an external source, select Link to external content and type the text to display on the overview page, and specify the location of the link.
  5. Select Display element icons to include the element icons in the navigation panes and public, protected, or private status icons for the elements. If icons are not displayed, the published content will appear more like Javadoc format and element status will be represented with words.
  6. To display the overview page when publishing is complete, select the Automatically display published output check box.
  7. To delete the old contents of the destination folder before publishing, select the Always clean destination folder without asking check box.
  8. Specify a destination folder in the Select folder to publish to field.
  9. Click OK to publish the models or packages.
The publishing process starts and a progress bar is displayed. When publishing completes, the output folder contains all the published HTML files of the selected elements of the models. If you selected the Automatically display published output check box, the overview page of the published content opens to display a link to each of the models that have been published.
Related concepts
Publishing models overview
Related tasks
Viewing the published web
Canceling model publishing
Related reference
Published web of HTML pages
Image file formats

Related information

Tutorials and sample for publishing models

Terms of use | Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.