Flare and Docs-as-Code
Posted: Thu Jun 02, 2022 1:39 pm
Hello all.
It seems that a lot of writers now take a docs-as-code approach where they write the docs in a text editor, compile using a static site generator (like Jekyll) and publish to a company server. I'm wondering is anyone has experience implementing the docs-as-code concept and how Flare supports this concept or not. As a long-time Flare user with all of my documentation in Flare projects, I'm not sure how to completely adopt the docs-as-code concept.
Currently, I generate my Help system locally and store all all my source files and outputs in Git. I commit, push, and then submit a PR to have our internal test site is updated with the latest Help. A developer approves my PR, deploys, and updates the Help on test site. My updates could take hours or days to appear on the test site, depending on a developer's availability. This workflow involves Git so it's sort of docs-as-code.
Ideal workflow: When I make updates as soon as I push any commits Git regenerates the Help via a static site generator like Jekyll and automatically posts the latest Help on the internal test site, all without involving a developer. When I've made all the commits for a release branch, I submit a PR. The commits on the branch are pulled to the main code branch in the Git repo. When the main branch is deployed, the Help updates are live for customers.
But I'm not sure how to get to my ideal workflow with Flare. Most static site generators support plan text source files like markdown files. Flare doesn't seem to allow export of clean markdown files.
Any suggestions?
It seems that a lot of writers now take a docs-as-code approach where they write the docs in a text editor, compile using a static site generator (like Jekyll) and publish to a company server. I'm wondering is anyone has experience implementing the docs-as-code concept and how Flare supports this concept or not. As a long-time Flare user with all of my documentation in Flare projects, I'm not sure how to completely adopt the docs-as-code concept.
Currently, I generate my Help system locally and store all all my source files and outputs in Git. I commit, push, and then submit a PR to have our internal test site is updated with the latest Help. A developer approves my PR, deploys, and updates the Help on test site. My updates could take hours or days to appear on the test site, depending on a developer's availability. This workflow involves Git so it's sort of docs-as-code.
Ideal workflow: When I make updates as soon as I push any commits Git regenerates the Help via a static site generator like Jekyll and automatically posts the latest Help on the internal test site, all without involving a developer. When I've made all the commits for a release branch, I submit a PR. The commits on the branch are pulled to the main code branch in the Git repo. When the main branch is deployed, the Help updates are live for customers.
But I'm not sure how to get to my ideal workflow with Flare. Most static site generators support plan text source files like markdown files. Flare doesn't seem to allow export of clean markdown files.
Any suggestions?