help.html: adding links to github source files.

db4
John Benediktsson 2012-07-22 22:12:19 -07:00
parent 7dc8b2ef1f
commit 504bb901cf
1 changed files with 6 additions and 0 deletions

View File

@ -60,6 +60,12 @@ M: f topic>filename* drop \ f topic>filename* ;
M: topic url-of topic>filename ;
M: pathname url-of
string>> "resource:" ?head [
"https://github.com/slavapestov/factor/blob/master/"
prepend
] [ drop f ] if ;
: help-stylesheet ( -- xml )
"vocab:help/html/stylesheet.css" ascii file-contents
[XML <style><-></style> XML] ;