Re: Makedoc.exw

new topic     » goto parent     » topic index » view thread      » older message » newer message
doncole2009 said...
DerekParnell said...
doncole2009 said...

Hello out there,

Could someone please show me an example of a properly typed command line for Makedoc.exw.

I don't understand:

e:\euphoria\bin\exw.exe e:\euphoria\makedoc\makedoc.exw <source file> [-outpath=<path>][-prefix=<prefix>][-index=<index.htm>].

Is that the same makedoc that is distributed with win32lib or someone elses?

Yes I don't understand 'MAKEDOC Usage'

Am suppose to type something at start/run/cmd or am I supposed to go to a specific folder and then type something?

What should I type?

Don Cole

Don,

If I'm not mistaken, (haven't used or tried to use makedoc for a long time), then:

you have probably set up your computer such that when you click or double click on *.exw source files, the Euphoria interpreter will "run" the clicked on source program; and, if so, you probably clicked on "makedoc.exw", and got the 'MAKEDOC Usage' message,
e:\euphoria\bin\exw.exe e:\euphoria\makedoc\makedoc.exw <source file> [-outpath=<path>][-prefix=<prefix>][-index=<index.htm>].

What that message means is, when you tried to run it by clicking on it, makedoc.exw has looked at your folders structure, and found where you have put the Euphoria interpreter, and where you have (apparently?) put makedoc, and is telling you what you might type in a CMD window, relative to YOUR folders structure, so as to cause the Euphoria interpreter to run "makedoc.exw", and then allow makedoc to then read in the indicated <source> file, and then write out the resulting documentation, either into the same folder as the <source> file, or into another folder as indicated by [-outpath=<path>]. I'm not sure how to use the remaining parameters, though.

An example might be:

e:\euphoria\bin\exw.exe runs the interpreter
e:\euphoria\makedoc\makedoc.exw
runs makedoc
win32lib.ew causes makedoc to make a doc from win32lib

and it would be typed into a CMD window like this:

e:\euphoria\bin\exw.exe e:\euphoria\makedoc\makedoc.exw win32lib.ew

I suspect that if you added -outpath=e:\euphoria\makedoc\
to the end of the above, makedoc.exw would put the resulting index.htm into the same folder as itself (or maybe it would do that anyway, rather than default putting it into the same folder as the source, not sure)

I hope I haven't misunderstood you question, nor insulted your intelligence, nor given you wrong information.

dan

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu