Skip to content

How To Customize The TOC

Anne Gentle edited this page Apr 11, 2019 · 3 revisions

The lab-id.json file configures the text displayed in the table of contents in the left-hand side of the Learning Lab display.

You want to ensure the JSON file contains both a reference to the file name as well as the title you want to be displayed in the TOC.

Here is an example for a table of contents with both title and file reference, within the "files" section.

"files": [
    {"title": "Introduction",
    "file": "intro.md"},
    {"title": "Step 1: Windows Specific Preparation",
    "file": "1-win-specific.md"},
    {"title": "Step 2: Source Control Systems",
    "file": "2-sourcecntl.md"},
    {"title": "Step 3: Terminals and Shells",
    "file": "3-shell.md"},
    {"title": "Step 4: Programming Languages",
    "file": "4-languages.md"},
    {"title": "Step 5: Text Editors and IDE",
    "file": "5-ide.md"},
    {"title": "Step 6: Development Tools and Clients",
    "file": "6-tools.md"},
    {"title": "Step 7: Application Container Engine",
    "file": "7-container.md"},
    {"title": "Summary",
    "file": "summary.md"}
  ],