Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
[QUIZ] Object Browser (#8)
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Brian Schröder, post: 4450239"] On Wed, 24 Nov 2004 04:26:17 +0900 I use xemacs' htmlize package to convert the ruby-code to html. Then I include a stylesheet. (You can copy that from my page if you want) The important snippets of the Makefile I use: htmlize: $(patsubst %.rb,browse/%-rb.html,$(wildcard *.rb)) browse/%-rb.html: %.rb mkdir -p browse/unsuccessfull xemacs -nw -eval '(htmlize-file "$<" "$@")' -kill && \ mv $@ $@.temp && \ cat $@.temp | ruby -e 'puts $$stdin.read.gsub(/<style type="text\/css">.*<\/style>/m, "<link id=\"css\" href=\"../ruby.css\" rel=\"stylesheet\">")' > $@ && \ rm $@.temp Regards, Brian [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
[QUIZ] Object Browser (#8)
Top