nanoc 3

nanoc is a simple but very flexible static site generator written in Ruby. It operates on local files, and therefore does not run on the server. nanoc “compiles” the local source files into HTML (usually), by evaluating eRuby, Markdown, etc.

Note: This documentation looks best with Yardoc, not RDoc.

Resources

The nanoc web site contains a few useful resources to help you get started with nanoc:

If you need assistance, the following places will help you out:

Source Code Documentation

The source code is located in lib/nanoc3 and is structured in a few directories:

The namespaces (modules) are organised like this:

The central class in nanoc is Nanoc3::Site, so you should start there if you want to explore nanoc from a technical perspective.

Dependencies

nanoc has few dependencies. It is possible to use nanoc programmatically without any dependencies at all, but if you want to use nanoc in a proper way, you’ll likely need some dependencies:

If you’re developing for nanoc, such as writing custom filters or helpers, you may be interested in the development dependencies:

Contributors

(In alphabetical order)

Special thanks to Ale Muñoz.

Contact

You can reach me at denis.defreyne@stoneship.org.