/usr/share/doc/rest2web/html/test_site/section5/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 56 57 58 59 60 61 62 63 64 65 | restindex
crumb: Section 5
file-extension: shtml
include: No
file: index.txt
file: ../template.txt
/restindex
===========================
The Incredible Section 5
===========================
.. class:: intro
Welcome to section five. As you might have gathered, this section is built -
but not included in the indexes. This little intro section is written in
`reST <http://docutils.sf.net>`_. It uses the ``.. class::`` directive to apply
a style to the paragraph.
.. class:: index-table
+-----------------------+--------------------+
| A Table of Resources |
+=======================+====================+
| `Text Source`_ | `Template Source`_ |
+-----------------------+--------------------+
| | |
+-----------------------+--------------------+
A table, drawn in reStructured Text. The text files are copied across using
the ``file`` keyword - in the restindex.
.. _Text Source: index.txt
.. _Template Source: template.txt
.. class:: indexblock
This is another paragraph with a style applied. I happen to think it's very stylish indeed.
I stole the {acro;CSS} for this from a nice chap called `Ian Bicking <http://colorstudy.com>`_.
You can visit my subsection if you want :
.. raw:: html
<blockquote>
<#
import urllib
pageblock = '''\
<a href="%s">%s</a>
<p>%s</p>
'''
pages = sections[None]['pages'] # everything in default section in this index
thepages = []
for page in pages:
ref = pageblock % (urllib.quote(page['target']), page['link-title'], page['page-description'])
thepages.append(ref)
print '\n'.join(thepages)
#>
</blockquote>
|