This file is indexed.

/usr/share/doc/rest2web/html/test_site/section2/index.txt is in rest2web-doc 0.5.2~alpha+svn-r248-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
restindex          
    format: html
    page-title: Section 2  
/restindex

<div class="title">
    <h1>An Index Page for Section 2</h1>
</div>


<div class="intro">
    <p>Welcome to something.</p> 
</div>


    <div class="indexblock">
    <h2>These Are the Articles</h2>
    <p>So enjoy....</p>


<#
    import urllib
    pagelist = '''\    
        <ul>
        %s
        </ul>
        </div>
    '''
    
    pageblock = '''\
            <li><a href="%s">%s</a>
                <p>%s</p>
            </li>    
    '''
    
    pages = sections[None]['pages']  # everything in default section in this index
    
    thepages = []
    for page in pages:
        a_page = pageblock % (page['target'], page['link-title'], page['page-description'])
        if type(a_page) is unicode:
            a_page = a_page.encode('utf8')
        thepages.append(a_page)   
    
    thepages = '\n'.join(thepages)
    
    this_sect = pagelist % thepages
    print this_sect

#>

    <div class="indexblock">
    <h2>Find the hidden page.</h2>
    <p>Here is a <a href="hidden.html">link to a page</a> that isn't included in the index.</p>
    </div>