Message49185
Fredrik Lundh suggested a simple markup to let people
publish examples on their own sites and have the
examples get linked into the Library Reference. I
wrote a simple parser for the markup and checked it in
as sandbox/seealso.
The attached patch adds a Makefile target, 'examples',
that downloads feeds listed in a file and generates a
directory of *.tex files that can be included. The
patch also modifies one file, libzlib.tex, to include
the generated examples; all of the modules would need
to be modified.
The patch currently assumes that you've checked out the
sandbox in the same directory as your Python tree. If
accepted, the seealso scripts would move into Doc/tools/.
The Makefile patch makes lib/ always trigger the
examples target. Alternatively it could be left as a
separate target; as long as the release process
includes "make examples", it would be fine. (I can't
figure out the shell-script hackery to only update the
examples every 24 hours. The Python scripts could be
modified to do this.)
Running "make examples" requires a file called
Doc/example-feeds. Currently my copy contains a single
line: 'file:../../sandbox/seealso/seealso.xml'.
|
|
Date |
User |
Action |
Args |
2007-08-23 15:44:56 | admin | link | issue1376361 messages |
2007-08-23 15:44:56 | admin | create | |
|