Customizing the documentation

You can customize the documentation by adding your own documentation to the structure.

Important: Complete all the tasks that this page discusses in the order listed.

This task shows you how to:

Prepare the customization

Your documentation must comply with Dassault Systèmes documentation prerequisites before you integrated them to the table of content.

  1. Create your own HTML pages taking into account the following prerequisites:

    Make sure you have these elements:

    • an anchor such as <a name = "hj-top"> </a>
      Important: only the two above elements are used for display. Other elements are ignored.
    • a <table> element with the following class and id attributes such as <table class = "table1" id = "table11">
      • Add the title of the page in the first element of the <table> with class = "DocHeader1".
    • If needed, the “See Also” frame is built with the content of the first element of the <table> with class = "TopicsTitle".

    Example:

    <?xml version='1.0' encoding='UTF-8' ?>
    <!DOCTYPE html SYSTEM "about:legacy-compat">
    <html xmlns:mml = "http://www.w3.org/1998/Math/MathML" lang = "en">
    <head>
    <meta charset = "UTF-8"/>
    <meta name = "copyright" content = "(C) Copyright 2020"/>
    </head>
    <body id = "exp3-GS-m-HelpCloud-sb">
    <a name = "hj-top"> </a>
    <table class = "table1" id = "table11">
    <tr>
    	<td>
    		<table class = "DocHeader">
    			<tr>
    				<td class = "DocHeader1" colspan = "2">
    				<h1>Getting Help</h1>
    				</td>
    			</tr>
    			<tr>
    				<td class = "DocHeader4" colspan = "2"/>
    			</tr>
    			<tr>
    				<td class = "DocHeader3" colspan = "2">
    				<table class = "DocThemeIntro" id = "table12">
    					<tr>
    						<td class = "Intro1">
    							<p class = "header"><p class = "abstract"><span class = "shortdesc">If you have questions or need to resolve issues while you are using the <span class = "ph"><span class = "tm-3D">3D</span>EXPERIENCE platform</span>, there are a number of places where you can find help. You can consult the embedded documentation and access different types of information, from basic to more detailed one, as you wish. You can also access the default online user assistance portal on help.3ds.com or the user assistance portal you or your administrator installed on your systems. The user assistance portal is designed so that users of any <span class = "ph">Dassault Systèmes</span> apps can access and search all guides from one location.</span></p></p>
    							<hr class = "header"/>
    						</td>
    					</tr>
    					<tr>
    						<td class = "Intro2">
    							<span class = "run-in">In this section:</span><br/>
    							<ul class = "ulthemes">
    							<li><a title = "If you have questions while you use the 3DEXPERIENCE platform, you can find answers in several ways. In particular, you can access the web-based help." href = "exp3-GS-c-help.htm">Getting Help</a></li>
    							<li><a title = "You can display the coachmark at any time during your session." href = "Help-t-Coachmark.htm">Getting Started</a></li>
    							<li><a title = "You can get help on a command by pointing to its icon." href = "Help-t-TooltipLongHelp.htm">Displaying Tooltips and Long Help Messages</a></li>
    							</ul>
    						</td>
    					</tr>
    				</table>
    				</td>
    			</tr>
    		</table>
    	</td>
    </tr>
    </table>
    </html>
    

  2. For each guide you need, create a documentation guide folder to host your pages. For example, C:\Program Files\Dassault Systemes\B428doc\English\MyGuide (Windows) or /usr/DassaultSystemes/B428doc/English/MyGuide (Linux)
  3. In each folder, create a structure.xml file. For example, C:\Program Files\Dassault Systemes\B428doc\English\MyGuide\structure.xml (Windows) or /usr/DassaultSystemes/B428doc/English/MyGuide/structure.xml (Linux)

    The structure.xml has a <root> element that contains <item> elements.

    For example:

    <?xml version='1.0' encoding='UTF-8' ?>
    <Root>
     <ITEM href = "exp3-GS-t-3dexperienceSetUp.htm" title = "Setting Up Your 3DEXPERIENCE Platform" />
     <ITEM href = "exp3-GS-t-Loginonthcloud.htm" title = "Starting the 3DEXPERIENCE Platform" />
     <ITEM href = "exp3-GS-m-HelpCloud-sb.htm" title = "Getting Help">
       <ITEM href = "exp3-GS-c-help.htm" title = "Getting Help">
       <ITEM href = "Help-t-Coachmark.htm" title = "Getting Started" />
     </ITEM>
    </Root>
    

Add your guides in the Table of Content

You can include the guides you created in the official table of content.

  1. Open the Custom_TOC.xml file. For example, C:\Program Files\Dassault Systemes\B428doc\English\Custom_TOC.xml (Windows) or /usr/DassaultSystemes/B428doc/English/Custom_TOC.xml (Linux).
  2. For each guide you want to include, add <ditem> elements to the <root> with the following attributes:

    • name: node text in the table of content
    • childtoc: relative path (from <language> folder) to XML file that include its content details (the structure.xml file described above)
    • href: relative path (from <language> folder) to an html page associated with this node
    • icon: (optional) relative path (from <language> folder) for node icon
    • myapps_visible=yes: to display the guide when My Apps option is set
    Example:
    <DITEM name="My Company App1" childtoc="MyCompanyApp1Guide/structure.xml" href="MyCompanyApp1Guide/mycompanyapp1-c-ov.htm" icon="MyCompanyIcons/MyCompanyApp1_AppIcon.png" myapps_visible=yes />

  3. In the language folder, open the InstalledList.txt file. For example, C:\Program Files\Dassault Systemes\B428doc\English\InstalledList.txt (Windows) or /usr/DassaultSystemes/B428doc/English/InstalledList.txt (Linux)

    This file lists all the folders.

  4. At the beginning of the InstalledList.txt, add the names of the new guides folders (one per line as for the official guides).
  5. Create a custom_InstalledList.txt file then copy and paste the lines you added in InstalledList.txt.

Index guides and HTML files

  1. Index the guides:
    1. Open the custom_module_idx.xml file. For example, C:\Program Files\Dassault Systemes\B428doc\English\custom_module_idx.xml (Windows) or /usr/DassaultSystemes/B428doc/English/custom_module_idx.xml (Linux)
    2. For each guide, add the <module> in the <content with the following attributes:

      • id: module folder name for the guide
      • guidename: guide name (to use Guide facet in the Search output filter)
      • brand: (optional) brand to use Brand facet in the Search output filter. If not set, General brand is used.
      • domain: (optional) domain to use Domain facet in the Search output filter. If not set, General domain is used).
      • appname: app name (to use App facet in the Search output filter)
      Example:
      <module id="MyCompanyApp1Guide" guidename="My Company App1 User's Guide" brand="My Company" domain="My Domain" appname="My Company App1" </module>

  2. Index the HTML files:
    1. Open the terminal and run custom_index.bat (or custom_index.sh on Linux).

      • Windows: C:\Program Files\Dassault Systemes\B428doc\English: custom_index.bat
      • Linux: /usr/DassaultSystemes/B428doc/English>./custom_index.sh

      This generates the custom_doc_idx.xml and custom_multimedia_idx.xml files.
  3. Declare theses files in the java search server.

    Add the following parameters in the SearchParameters.txt file.

    IDX_custom_module_path=custom_module_idx.xml
    IDX_custom_doc_path=custom_doc_idx.xml
    IDX_custom_multimedia_path=custom_multimedia_idx.xml
    

What's Next
  • Restart Node.js on Linux.
  • Restart the service on Windows.