Skip to content

Commit 05cb430

Browse files
committed
incorporated feedback
Signed-off-by: radhikapc <radhika.dwaraka@gmail.com>
1 parent 7ba83e0 commit 05cb430

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

_posts/articles/2022-07-11-sysdig-adopting-docs-as-code.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
layout: post
33
title: "Adopting Docs-as-Code: From Hackathon to Production"
44
excerpt: Sysdig's journey from unstructured to structured, finally to semi-structured authoring and how Sysdig hackathon enabled design their homegrown docs-like-code solution.
5-
last_modified_at:
5+
last_modified_at: Mon Jul 11 17:33:53 CDT 2022
66
categories: articles
7+
canonical_url: "https://sysdig.com/blog/adopting-docs-as-code/"
78
author: radhikapc
89
tags: [cicd, sysdig, docker, docs, Hugo, Go]
910
image:
@@ -13,7 +14,7 @@ comments: false
1314
share: true
1415
---
1516

16-
Originally published in the [Sysdig Blog](https://sysdig.com/blog/adopting-docs-as-code/).
17+
Originally published in the [Sysdig Blog](https://sysdig.com/blog/adopting-docs-as-code/).
1718

1819
Thanks to the yearly Hackathons at Sysdig, we’ve recently democratized documentation creation by embracing the docs-as-code philosophy. Similar to our source code practices, product documentation has been version controlled, subjected to the same gatekeeping systems, and auto-delivered by using the same CI/CD pipeline.
1920

@@ -76,6 +77,9 @@ The result was a Python script to solve this problem and make the conversion aut
7677

7778
We chose [Hugo](https://gohugo.io/) static site generator with [Docsy](https://www.docsy.dev/) theme for building the documentation website for its rich feature set. Hugo is faster, offers a rich feature set for expansion, and has an active community for support. Docsy offers features such as dark theme, RSS feed support, and swagger integration for APIs, which we plan to introduce to the site at some point. [Netlify](https://www.netlify.com/) is faster to launch and easier to integrate with Github repository for hosting preview and production builds. The publishing flow has been designed in such a way that each Pull Request would generate a preview build so reviewers can see the content as it would appear on the website. This mechanism accelerated our documentation publishing pace without sacrificing quality.
7879

80+
![](/images/sysdig/adopting-doc-as-code-01.png)
81+
82+
7983
### From Docs-as-Code to Docs-from-Code
8084

8185
Our move to the docs-as-code scheme of things has not only enabled us to automate doc publishing, but also equipped us to automate doc development. Gaps in documentation mostly occur when modification of source code and documentation are not in sync. Unfortunately, this is typical when different people contribute to the code under a time crunch in project cycles.
@@ -101,4 +105,4 @@ In the new scheme of things, Sysdig documentation is stored and managed in GitHu
101105
| RSS feed | |
102106
| In-house doc infrastructure | |
103107

104-
The switch has witnessed measurable success within a month of rolling out into production: the number of contributors has increased 15 times; the doc deployment time has been reduced to seconds. By eliminating manual review processes and introducing an automated web-based staging environment, doc publishing has been expedited. Docs-as-code also has enabled us to automate repetitive activities associated with documentation development. Above all, we have achieved shared ownership of developing and delivering quality content to help our customers succeed.
108+
The switch has witnessed measurable success within a month of rolling out into production: the number of contributors has increased 15 times; the doc deployment time has been reduced to seconds. By eliminating manual review processes and introducing an automated web-based staging environment, doc publishing has been expedited. Docs-as-code also has enabled us to automate repetitive activities associated with documentation development. Above all, we have achieved shared ownership of developing and delivering quality content to help our customers succeed.
27 KB
Loading

0 commit comments

Comments
 (0)