To use the documentation variables, you specify them in the mgc_doc_options.ini and mgc_viewer_config.ini files. You must create these files and place them in specific locations.
Located at the top of the docs, doc, or shared directory in the installed software tree, the mgc_doc_options.ini file specifies where to find the documentation and which PDF and HTML viewer to use. This file is optional, and any of the three variables is optional. The file uses the following format:
# Comment line.
MGC_ALT_DOC_PATH=”alternate_path”
MGC_HTML_BROWSER=”browser_executable_path”
MGC_PDF_READER=”viewer_executable_path”Located in C:\users\<username>\AppData\Local\MentorGraphics\, the mgc_viewer_config.ini file defines only the PDF and HTML viewers that the software uses. This file enables you to specify different viewers from those defined for an entire organization in the mgc_doc_options.ini file that is located in the software tree. The viewers that you specify in the mgc_viewer_config.ini file also override the viewers that your system uses for .pdf and .html file-type associations.
This file cannot specify where the software finds an alternative documentation tree. You define that location in the mgc_doc_options.ini file.
The mgc_viewer_config.ini file uses the following format:
# Comment line.
MGC_HTML_BROWSER=”browser_executable_path”
MGC_PDF_READER=”viewer_executable_path”For more information, refer to “Documentation Options” in the Mentor Documentation System manual.