On Sun, Jun 17, 2012 at 6:20 PM, Billy Earney <billy.ear...@gmail.com> wrote:
>
> Sorry guys, for posting these past two or three inquiries,  I found the link
> to request a commit into the pyjs:master code base.

bleh, bad timing :-(

i actually removed this file just last night --
build.sh/buildall.*/index.html have not been used for a *very* long
time.  i wrote the automagic __main__.py method in October of 2010 ...
so nearly two years ago.  in the coming days i will remove all build*
shell/python scripts and update any dangling documentation i can find.

... to build all examples, run `python2 examples/__main__.py`
... to build an example, run `python2 examples/{some-example}/__main__.py`

the current examples system uses an auto-generated index.html, and
since last night, all examples are output to examples/__output__; this
works around an extremely annoying bug that cannot be fixed for
several more months.  however, thanks to this change (primarily, the
use of --dynamic-link and --enable-preserve-libs), the output size of
the examples reduced by an order of magnitude: 600+MiB -> ~60MiB.  no,
that's not a typo ... the complete examples previously output over
half a gig, and this was absolutely unacceptable for pushing to the
website.

anyways, the work you've done looks fine to me, and is certainly an
improvement ... if you can rebase your work on top of:

examples/_examples/template/index.html.tpl
examples/_examples/util.py (see the INDEX identifier)

... i would be happy to merge it.  note: this index page will soon be
integrated into the main website, instead of including <html>, <body>,
etc, maybe put everything into a top-level <div> (any browser will
still display it locally).  in short, i either need the generated
index file to exclude html/head/body/etc, or i must be able to easily
extract the whole thing for embedding, and still have it work.  if you
can put everything inside <body>, i can extract that into a <div> ...
i'm open to other ideas as well -- if simpler -- should it produce the
same end result.

lmk if you have questions and sorry for the confusion; while i can't
pull it as-is, it shouldn't take too much shuffling to get it ready
for merge.

-- 

C Anthony

Reply via email to