Changes between Initial Version and Version 1 of ChimeraSrc2html


Ignore:
Timestamp:
Oct 14, 2010, 10:26:18 AM (16 years ago)
Author:
Darren Weber
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ChimeraSrc2html

    v1 v1  
     1
     2== Converting Chimera Python Code to HTML ==
     3
     4The python source code can be converted to appealing HTML using [http://pygments.org/ pygments].  For example:
     5
     6{{{
     7export CHIMERASRC=/data/src/chimera-svn
     8export MODULE=StructMeasure
     9cd ${CHIMERASRC}/libs/${MODULE}
     10for py in *.py; do
     11    html=$(echo $py | sed s/.py$/.html/)
     12    pygmentize -f html -O full,style=colorful,linenos=1 -o $html $py
     13done
     14}}}
     15