nanoc is a tool that runs on your local computer and compiles documents written in formats such as Markdown, Textile, Haml,… into a static web site consisting of simple HTML files, ready for uploading to any web server.
Installation Start by installing the following dependencies
# apt-get install ruby-dev zlib1g-dev libglib2.0-dev Continue on with all the required Gems.
% gem install nanoc % gem install adsf # A Dead Simple Fileserver % gem install fssm # File System State Monitor % gem install kramdown # Markdown parser % gem install haml # HTML Abstraction Markup Language % gem install less # Invoke the Less CSS compiler from Ruby % gem install pygments.rb # Exposes the pygments syntax highlighter to Ruby % gem install coderay # Another Syntax Highlightter % gem install coderay_bash # Plugin to process Bash % gem install stringex # useful extensions to Ruby's String class % gem install nokogiri # Parser used by `nanoc validate-links` % gem install rainpress # A CSS compressor % gem install therubyracer # Call javascript code and manipulate javascript objects from ruby. % gem install rpeg-multimarkdown # MultiMarkdown processing used in a new Filter. (req. libgtk2.0-dev.) % gem install nanoc-guard # now replace nanoc watch command [see [docs](https://github.com/guard/guard-nanoc)] Create a web site create yet subdirectory with a blank web site
...