/usr/share/doc/rest2web/html/test_site/uservalues/page.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 | restindex
page-title: Test of Uservalues
crumb: Uservalues
/restindex
uservalues
test1: """A value in *ReST*."""
test2: A value in <em>HTML</em>
test3: Never inserted.
/uservalues
==========================
Testing Uservalues Again
==========================
.. contents::
This is a test of uservalues. It tests the two different templating styles for
inserting uservalues into a page.
You can insert single values, or multiple blocks of code.
Testing Single Values
=====================
This is a test of uservalues. The following paragraph is in ReStructuredText.
<* test1 *>
The next one is in HTML :
{esc;test2}
I wonder if it works. {sm;:-)}
This one will be escaped by ``docutils``, and so not executed.
<% test3 %>
Testing Multiple Code Blocks
============================
<$
print 'A comment in **ReST**.'
$>
<$
print
try:
print uservalue1
print
print uservalue2 + '. {:-)}'
except NameError:
print 'Failed to find the uservalues. {sm;:-(}'
$>
|