Murray,

Try this: 

0       Install PanDoc.
1       Reboot so that PanDoc is added to PATH.
2       Run the example at the bottom of the joxegen wiki page to make sure
it all works.
3       modify makedoc.ijs so FILES contains your script filenames (see my
makedocs.ijs below).


NB.%makedocs.ijs - Make documentation files for Vexilla scripts
NB. Modified: 2014-10-17

require 'docs/joxygen'

NB. source directory (used to find source files,
NB. but not used in the html docs)
Source=: '~Projects/vexilla'
NB. target directory
Target=: Source,'/Docs'

NB. source files under the source directory
NB. (may be more than one level down)
Files=: cutopen 0 : 0
downloadvx.ijs
primesupdown.ijs
scorecard.ijs
scorecardreports.ijs
processnew.ijs
statsoncsv.ijs
report.ijs
run.ijs
)


NB. header for main page index.htm
IndexHdr=: 0 : 0
Documentation files for Vexilla scripts.
)

NB. ensure the Target directory is created
mkdir_j_ Target

NB. copy the css file to the Target directory
(Target,'/joxygen.css') fcopynew '~addons/docs/joxygen/joxygen.css'

NB. make the docs
makedocs''

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Murray
Eisenberg
Sent: Saturday, November 22, 2014 10:15
To: [email protected]
Subject: Re: [Jprogramming] Where is scriptdoc / scripdoc?

I read the fired documentation page for joxygen, but I still don't have a
clue from it how to run oxygen to get documentation on any given script.

What package does one load? What is the syntax of the verb to run?

On 21 Nov 2014 08:39:43 -0600, "tom arneson" <[email protected]> wrote:

> 
> See: http://www.jsoftware.com/jwiki/Addons/docs/joxygen
> 
> I've made some use of this for my scripts. Note that you must install 
> PanDoc
> (See: http://johnmacfarlane.net/pandoc/)
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Murray 
> Eisenberg
> Sent: Friday, November 21, 2014 08:32
> To: [email protected]
> Subject: [Jprogramming] Where is scriptdoc / scripdoc?
> 
> I seem to recall a verb named either scriptdoc or scripdoc, in some 
> distributed script, for displaying documentation in the script one 
> provides as its argument.
> 
> Where is that verb now, in J802 (or J803)? 
> 
> I tried to use Find in Files (in jqt), but alas that didn't give me a 
> choice to search in the system or add ons directories -- just Demos, 
> Projects, or User.

---
Murray Eisenberg                [email protected]
503 King Farm Blvd #101         Home (240)-246-7240
Rockville, MD 20850-6667        Mobile (413)-427-5334





----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to