Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] New HTML Doc generator and recursing with refinements?

From: chris:starforge:demon at: 30-Oct-2000 20:20

Hi, Rishi Oswal suggested that I make my HTML document generator automatically generate the docs for "imported" scripts. It now does this and the HTML includes a list of links to the docs for the scripts a script imports. Get the latest beta version from I think I've had to do something hacky though - my reboldoc function has two refinements - /history and /listwords. I need to be able to pass these through to the recursive call but I've no real idea how to do it. I've implemented a quick and dirty method: either listwords [ either history [ reboldoc/listwords/history sourcefile/2 ][ reboldoc/listwords sourcefile/2 ] ][ either history [ reboldoc/history sourcefile/2 ][ reboldoc sourcefile/2 ] ] Is this how it should be done? If not, how? Chris -- New sig in the works Explorer 2260, Designer and Coder -- He's the kind of guy, that, well, if you were ever in a jam he'd be there ... with two slices of bread and some chunky peanut butter.