欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Webgen
来自开放百科 - 灰狐
webgen is a free (GPL-licensed) command line application for generating static websites. You could write a static website by hand, of course. But by using webgen you have several advantages:
- The page layout is separated from the content: if you change the layout, all pages that use that layout are automatically updated.
- The content files can be written in a markup language like Markdown or Textile.
- webgen can automatically generate, for example, menus and breadcrumb trails for you.
- Dynamic content can easily be added to content files.
- webgen websites are self contained since all generated links are relative ones.
Install
gem install webgen or get package from http://rubyforge.org/frs/?group_id=296 ruby setup.rb config ruby setup.rb setup ruby setup.rb install
Tutorial
webgen create sample_site cd sample_site config.yaml ext Rakefile README src
Links
分享您的观点