> > jalapi is the jallib API documentation. You access jalapi from here: > > > * jalapi for unvalidated map > > * jalapi for unvalidated map (available soon) > > > second one should be "validated map". >
Fixed. > > Ex > > cd ..../tools > SAMPLEDIR=../unvalidated/sample python jalapi.py jalapi_html.tmpl mylib.jal > > mylib.html > > > too many dots. > This is "by design". It means: "go to the tools directory, wherever it is". I've change thiis to "path/to/tools" > > Sampledir is an environment variable? > Yes > > What should the command look like? This: > > python jalapi.py jalapi_html.tmpl mylib.jal > mylib.html > > could you junk the .tmpl argument? > I'm not in favor of doing this. jalapi.py parses, extracts and build data structures representing the documentation. On the command line, you select the view, that is, the output format. We may want to generate raw text, or even use a third party program to generate documentation from these data structures. > Also, the path to jalapi.py should be spelled out, right? > I'd say no. > > as in: > > $ python ~/jalv2/jallib/tools/jalapi.py lcd_hd44780_4.jal > > which does not work now. > Try: cd ~/jalv2/jallib/tools # this was the meaning of "....../tools" # then python jalapi.py ... > > > $ python ~/jalv2/jallib/tools/jalapi.py > ~/jalv2/jallib/tools/jalapi_html.tmpl lcd_hd44780_4.jal > > this should work, but doesn't? > > File "/Users/eur/jalv2/jallib/tools/jalapi.py", line 29, in <module> > import wikify > ImportError: No module named wikify > > Yeah, as I said, jalapi has dependencies. This one is *not* a standard lib, but that's the (almost) only one I've found to generate html from GC wiki formatting. That is, you can use simple GC wiki code in your comments, to create bullet lists, tables, etc... See for instance: http://jallib.googlecode.com/svn/trunk/unvalidated/doc/html/pwm_common.html So, how to install it ? Open jalapi.py, there are comments about it, with a link. I let you play with wget... Seb --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jallib?hl=en -~----------~----~----~----~------~----~------~--~---
