Development

Why I am moving to Eleventy for my site and documentation projects

Leaving Ruby and Jekyll behind for Eleventy (11ty): 100% control over final HTML, CSS and JavaScript, fast builds, custom documentation sites, and proud hosting on GitHub Pages.

For almost six years Jekyll did a great job powering my personal site. Lately though, dealing with Ruby versions, Bundler errors and slow local rebuilds started getting in the way, especially when I wanted to build more customized layouts.

I looked at newer tools like Gatsby too, since everyone in the front-end world talks about them right now. The problem is that I do not want to ship a heavy React bundle and GraphQL layer to the browser just to render a portfolio, a blog or a documentation page.

That is why I started adopting Eleventy (11ty), created by Zach Leatherman, not only for my own personal website but also for several documentation projects that need deep customization.

100% control over the final HTML, CSS and JavaScript

The main reason Eleventy clicked for me right away is simple: it stays completely out of your output.

Eleventy runs on Node.js, compiles your templates at build time, and writes plain static files. It does not inject a single line of client-side JavaScript, no hydration scripts, no weird wrapper <div> elements, and no forced CSS framework. Every byte of HTML, CSS and JS that reaches the browser is 100% what I wrote.

That total control pays off directly in performance. When your pages are pure pre-rendered HTML with a small stylesheet and minimal JavaScript, load times are near instant even on slow mobile connections, and keeping accessibility and semantics clean is straightforward.

Configuration is just a small .eleventy.js file:

module.exports = function(eleventyConfig) {
  eleventyConfig.addPassthroughCopy('src/static');

  return {
    dir: {
      input: 'src',
      output: 'dist'
    }
  };
};

You can mix Nunjucks, Liquid, Markdown and plain HTML in the same project, and builds finish in a fraction of a second.

Why it works so well for custom documentation sites

Beyond my personal site, Eleventy has become my favorite tool for building technical and design system documentation.

Off-the-shelf documentation generators work fine until a team needs something outside their default sidebar theme: custom live component previews, structured design token tables generated from JSON, multi-level navigation or tailored page layouts. Fighting a rigid documentation theme usually takes longer than building it properly from scratch.

With Eleventy, content authors still write clean Markdown files, while _data/ JSON and JavaScript files feed structured data directly into Nunjucks templates and custom collections. You get complete freedom over the design, the markup and the interactive examples, without giving up a simple editorial workflow.

Still proudly hosted on GitHub Pages

Just like my old Jekyll setup, everything I build with Eleventy still deploys straight to GitHub Pages.

With GitHub Actions now handling the build step automatically on every push and free HTTPS working automatically on custom domains, hosting static sites on GitHub Pages is even better than it was in 2014. There is no server to patch, no monthly hosting fee for static content, and the entire source lives cleanly in one Git repository.

Moving from Jekyll to Eleventy feels like keeping everything I loved about static sites while dropping the Ruby friction and gaining full flexibility. Whether it is my own site or a heavily customized documentation portal, having 100% control over the final code and shipping fast static HTML is the best setup I have used.

Get in touch

If you want to chat about Embedded Development, Design Systems, or just say hello, feel free to reach out. I speak English, Italian, Ukrainian, and Russian, and I'm always open to a conversation.

E-mail LinkedIn