Menu

How to use index file

2016-02-29
2016-03-10
  • Anirudha Gandhe

    Anirudha Gandhe - 2016-02-29

    Hi,
    Can you share sample index file or provide some information on how index file should look like?

    Thanks,
    Anirudha

     
  • vdnn

    vdnn - 2016-03-10

    An index file is a regular html (xhtml) file containing links to other html (xhtml) files. For example, if you have a collection of documentation files named 001.html, 002.html, 003.html, an index file might look like:

    <html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>Documentation start page</title>
    </head>
    <body>
        <p><a href="001.html">Chapter 1</a></p>
        <p><a href="002.html">Chapter 2</a></p>
        <p><a href="003.html">Chapter 3</a></p>
    </body>
    </html>

    If an index file is provided, html-merge will process this file first and then proceed with the linked files in the order of their reference from the index.

     

    Last edit: vdnn 2016-03-10

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.