[Rest2web-develop] Nailed the File Keyword Bug
Brought to you by:
mjfoord
From: Michael F. <fuz...@vo...> - 2006-04-09 17:48:10
|
Hello all, I think I've finally nailed the file keyword bug. The fix is now in subversion. I've tested this with normal pages, index pages, and an index page using the 'index-file' keyword. For each of these I tested with a normal file (in the same directory) and using an absolute file location. I would appreciate a test on Linux. I would also appreciate testing of the new verbosity settings - I'm sure they work, so perhaps feedback is a better word than testing. (Are the levels right - or would something between ``-v`` and ``-a`` be useful ?) Testing with rest2web is a *pain*. I didn't design it with testing in mind, so there is no real way to leave regression tests in place. rest2web is also hard to maintain as there is some complicated logic in. Perhaps if I had built it from the ground up with tests in place the structure might be easier to maintain ! All this is just my excuse for not introducing tests now - but I realise this is a failing. I'm not about to refactor the whole program though I'm afraid. rest2web currently does everything I need, *but* one of the improvements down the line will make rest2web better for building project documentation. This is a feature I *will* use. :-) Fuzzyman http://www.voidspace.org.uk/python/index.shtml |