You can create personalized SKILL GUI objects (forms and windows) to work with Cadence tools. To include the related help documents for such GUI objects in Doc Assistant:
- Set an application name and a tag name for the GUI object: The Cadence tool passes these names to the Doc Assistant. These names are used to look up for the document to be opened.
Examples:
The SKILL code for a graphics window is:hiCreateWindow(’default "graphics" "myApp" "myWindowTag")
Here,myAppis the application name andmyWindowTagis the tag name for this window.
The SKILL code for a form is:hiCreateAppForm( ?help ’("myApp" "myFormTag")...)
Here,myAppis the application name andmyFormTagis the tag name for this form. - Create a local document directory
install_dir/local/doc: This directory holds the document files. Here,install_diris the directory where you installed the Cadence software.
Doc Assistant searches for the required documents ininstall_dir/local/docfollowed byinstall_dir/doc, where the Cadence user manuals are installed. - Create the required HTML documentation files and save them to the
install_dir/local/doc directory: For example, you can createlocal/doc/myDocument/myDocument.html. To open an HTML document from a specific location, place a<a name="anchorname"> </a>anchor in the HTML code at that location.
If a document resides inlocal/doc, you can add tags to the HTML document so that it appears in the documentation browser. - Create a directory in
local/docthat matches the tool application name. For example, you can create the directorylocal/doc/myApp. - Create a tag file: In the
local/doc/application_namedirectory, create anapplication_name.tgffile. This is a simple ASCII file.
For example, you can create an ASCII filelocal/doc/myApp/myApp.tgf. - Add a list of pointers to the tag file: In the tag file, include a list of pointers to each function tag name and the path to the HTML file to be opened when the user clicks Help.
Entries in each line of the tag must be in the following format:tagname path_to_document optional_anchorname filetype
Examples:
Include the following inmyApp.tgf:myWindowTag $myDocument/myDocument.html "" HTML
Here, Doc Assistant first looks in the standard document directories for a directory namedmyDocument. "" indicates that there is no<a name="anchorName"></a>to jump withinmyDocument.html.
To anchor a point<a name="myFormAnchor"></a>in your document, include the following inmyApp.tgf:myFormTag $myDocument/myDocument.html "myFormAnchor" HTML
If you have placed your documentation in a directory outside the Cadence hierarchy, you must enter the complete path name to the directory or a path name relative to the install_dir/doc directory. If the document is located in /usr1/customDocs/myDocument, the tag entry includes:myFormTag /usr1/customDocs/myDocument/myDocument.html "myFormAnchor" HTML
The previous steps outline the procedure to create a document in install_dir/local/doc that is readable to all users who use your Cadence installation.
To ensure that a document is visible only to you, create it either in your $HOME directory (on LINUX) or in the %userprofile%\doc directory (on Windows), rather than in local/doc. The argument used to point to this directory in the tag $dirname is the same in either case.
Related Topics
How to use CSF search mechanism
