Static Site Generators

Slate – beautiful static documentation for your API

Slate helps you create beautiful, intelligent, responsive API documentation.

Slate generates static HTML, JavaScript, and CSS, so it’s easy to host.

This is free and open source software.

Key Features

  • Clean, intuitive design — With Slate, the description of your API is on the left side of your documentation, and all the code examples are on the right side. Inspired by Stripe’s and PayPal’s API docs. Slate is responsive, so it looks great on tablets, phones, and even in print.
  • Everything on a single page — Gone are the days when your users had to search through a million pages to find what they wanted. Slate puts the entire documentation on a single page. As you scroll, your browser’s hash will update to the nearest header, so linking to a particular point in the documentation is still natural and easy.
  • Slate is just Markdown — When you write docs with Slate, you’re just writing Markdown, which makes it simple to edit and understand. Everything is written in Markdown — even the code samples are just Markdown code blocks.
  • Write code samples in multiple languages — If your API has bindings in multiple programming languages, you can easily put in tabs to switch between them. In your document, you’ll distinguish different languages by specifying the language name at the top of each code block, just like with GitHub Flavored Markdown.
  • Out-of-the-box syntax highlighting for over 100 languages, no configuration required.
  • Automatic, smoothly scrolling table of contents on the far left of the page. As you scroll, it displays your current position in the document. It’s fast, too.
  • Let your users update your documentation for you — By default, your Slate-generated documentation is hosted in a public GitHub repository. Not only does this mean you get free hosting for your docs with GitHub Pages, but it also makes it simple for other developers to make pull requests to your docs if they find typos or other problems. Of course, if you don’t want to use GitHub, you’re also welcome to host your docs elsewhere.
  • RTL Support Full right-to-left layout for RTL languages such as Arabic, Persian (Farsi), Hebrew etc.

Website: code.lord.io/slate
Support:
Developer: Slate developers
License: Apache License 2.0

Slate is written in Ruby. Learn Ruby with our recommended free books and free tutorials.


Related Software

Ruby Static Site Generators
JekyllSublime blog-aware static site generator
SlateBeautiful static documentation for your API
NanocPowerful web publishing system
MiddlemanStatic site generator using shortcuts and tools in modern web development
BridgetownWebpack-aware, Ruby-powered static site generator
AwestructFramework for creating static HTML sites
webgenStatic website generation made easy

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments