[REBOL] Re: ANN: make-doc-pro-104 released
From: anton:lexicon at: 1-Aug-2002 5:21
Hooray! Halt is now conditional on debug_mode ! :)
But, you are keeping the same version number, 1.0.4, why?
A quick test seems to work well.
Robert, you could maybe include a link to a xhtml validator
at the bottom of the generated page, if that's possible.
Maybe you can POST it? I might have a look tomorrow.
See code below for an example of how I create a source
file for documents. Just do the file, the html is regenerated
and browsed to automatically (very useful while writing docs):
And you can copy the code into each new document you create
without changes. Just remember to keep File in the header
the same as the filename.
You can also see a system I thought of recently for helping to
ensure that external code remains working in the future;
that is, putting a copy of other people's code in the "freezer".
I created a directory on my rebsite, %freezer/, where I put
a copy of code that is being updated frequently by the author
(in this case, Robert). It's like a "mirror", except it does not
aim to stay up to date with the latest file. It is simply there,
, so I've got control over when it changes.
That way, I can be sure that my docs & code that use it will
continue to work.
It's maybe not such a problem for more "dynamic" programmers than
me, with code floating around the swirling vortex of high-action
speed-programming, but I like everything to have its proper
> Hi, a new version of make-doc-pro is available from my homepage or thru
> my rebsite. The biggest change is that MDP will now emit XHTML
> Trainsitional. A lof of bugs fixed that have been reported to me. Thanks
> again to all who helped to make MDP better.
> I hope you like it and let me know if there are problems.
> Robert M. Münch
----------- begin file %make-doc-pro-example.r ---------------
An example of how to automate MakeDocPro.
Hello, here is some code
; create + view html
do/args path-thru http://www.robertmuench.de/make-doc-pro.r (clean-path
;read-thru mdp: http://www.lexicon.net/anton/rebol/freezer/make-doc-pro.r ;
get it into the cache
;do/args path-thru mdp (clean-path system/script/header/file)
file.html: head change find/last copy system/script/header/file ".r"
browse join file.html "" ;"#sect3"
---------------- end file ----------------------------