Home / Companies / GitLab / Blog / Post Details
Content Deep Dive

Building a new GitLab Docs site with Nanoc, GitLab CI, and GitLab Pages

Blog post from GitLab

Post Details
Company
Date Published
Author
Connor Shea
Word Count
3,568
Company Posts That Month
14
Language
English
Hacker News Points
-
Post removed?
No
Summary

GitLab recently overhauled its documentation website, transitioning from a basic Ruby script to a sophisticated static site generator using Nanoc, which provides improved flexibility, readability, and maintenance. This transformation allows for better integration with GitLab Pages, offering syntax highlighting, breadcrumbs, and an enhanced mobile design. The site consolidates documentation from multiple repositories, such as Community Edition, Enterprise Edition, Omnibus GitLab, and GitLab Runner, and is built and deployed using GitLab CI, Review Apps, and GitLab Pages. The process involves cloning repositories, compiling Markdown files with Nanoc, and deploying the static site to GitLab Pages, with specific CI/CD configurations ensuring successful build and deployment while maintaining uniform styles and validating internal links. GitLab Pages facilitates automatic deployment on successful commits, utilizing Docker-based shared Runners and custom configurations to manage review apps and production environments, highlighting GitLab's comprehensive integration capabilities.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.