~azzar1/unity/add-show-desktop-key

  • Committer: stevenbird
  • Date: 2008-02-20 11:50:03 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:523
Adding ReStructured Text preprocessing of exercise descriptions,
so that the markup for exercises is the same as for the tutorials.

www/apps/tutorial/rst.py
* cut down version of NLTK rst.py, which extends docutils
  with colourised python codeblocks
* modified to work with strings rather than files

www/apps/tutorial/__init__.py
* call rst() main function on exercise description once
  it is extracted from the source XML file

www/apps/tutorialservice/test/TestFramework.py
* clean up docstring

www/apps/tutorialservice/test/parse_exercise.py
* remove backwards compatibility for desc attribute
  (now authors must provide both pass and fail strings)

Filename Latest Rev Last Changed Committer Comment Size
..
all_input.py 270 17 years ago dilshan_a Initial check in for test framework, and example p 210 bytes Diff Download File
all_input_text.xml 513 17 years ago stevenbird test/test_framework/*, exercises/sample/* * change 2.2 KB Diff Download File
fib.py 270 17 years ago dilshan_a Initial check in for test framework, and example p 102 bytes Diff Download File
fib_text.xml 513 17 years ago stevenbird test/test_framework/*, exercises/sample/* * change 1 KB Diff Download File
file_test.py 278 17 years ago dilshan_a Added README files to explain the test framework a 2.1 KB Diff Download File
filespace_test.py 278 17 years ago dilshan_a Added README files to explain the test framework a 372 bytes Diff Download File
filesum.py 295 17 years ago dilshan_a Added a filesum problem. Updated paths in test.py 53 bytes Diff Download File
filesum_text.xml 513 17 years ago stevenbird test/test_framework/*, exercises/sample/* * change 1.1 KB Diff Download File
hack_1.py 270 17 years ago dilshan_a Initial check in for test framework, and example p 123 bytes Diff Download File
hello.py 357 17 years ago stevenbird fixed syntax error 20 bytes Diff Download File
hello_text.xml 513 17 years ago stevenbird test/test_framework/*, exercises/sample/* * change 1.4 KB Diff Download File
problem.dtd 368 17 years ago stevenbird First version of a DTD for XML problem files 583 bytes Diff Download File
README-examples 511 17 years ago stevenbird README-examples: * documented new functionality fo 1.6 KB Diff Download File
test.py 513 17 years ago stevenbird test/test_framework/*, exercises/sample/* * change 1.1 KB Diff Download File
test_framework_tests.py 513 17 years ago stevenbird test/test_framework/*, exercises/sample/* * change 515 bytes Diff Download File
test_json.py 513 17 years ago stevenbird test/test_framework/*, exercises/sample/* * change 429 bytes Diff Download File
tests.py 513 17 years ago stevenbird test/test_framework/*, exercises/sample/* * change 1.3 KB Diff Download File
tute_doc.tex 283 17 years ago dilshan_a Fixed a bug where variables were persistent across 16.5 KB Diff Download File