The DevXops community site is hosted on GitHub pages and developed using Jekyll static site generator such that contributers only need to focus on writing markdown files. The primary consideration for using Jekyll instead of other SSG like NextJS or Gatsby, is the integration with GitHub pages. Jekyll does have good a ecosystem of themes, including the Doc theme that we are using.
We are looking for content writers for our community site for writing blog post and also contribute to our documents. In order to contribute, you will need a GitHub account and be able to run Jekyll locally to test how your article looks liking before sending in your pull request.
- Pre-requisites:
- you will need a GitHub account.
- Jeyll requires Ruby. Install Ruby.
- Cloud the repo:
$ git clone https://github.com/htxsg/htxsg.github.io.git
- Install Dependancies with Bundler:
$ cd htxsg.github.io/docs
$ bundle install
- Generate the site with the following command:
$ bundle exec jekyll serve
- The site is now running locally on your computer. Navigate to http://127.0.0.1:4000/.
- Go to the authors section in
_config.yml
to insert your record. The key will be the short name for examplepanyong
.
panyong:
name: Ng Pan Yong
title: The Cloud Guy
avatar: avatar-py.jpg
- Place your avatar in the directory
/htxsg.github.io/docs/uploads/
.
-
Blog should be written in markdown format.
-
Name your file yyyy-mm-dd-<name>.md
-
Add Front matter to the start fo your markdown file. Here's an example:
---
title: Developer Machine
author: panyong
categories: [news, updates]
tags: featured
---
- Place your markdown file in the directory
/htxsg.github.io/docs/_posts/
.
-
Doc should be written in markdown format.
-
Add Front matter to the start fo your markdown file. Here's an example:
---
title: AKS Provisioning Error due to NSG
subtitle: Issues encountered during the setup AKS in Level 4 using CAF codes.
author: panyong
tags: [AKS, Troubleshoot]
---
-
Place your markdown file in the directory
/htxsg.github.io/docs/_docs/
. -
Edit the YAML file
/htxsg.github.io/docs/_data/navigation_docs.yml
to reference new file in the side navigation bar.
- title: Azure Troubleshooting Guides
docs:
- AKS-Error-NSG
Sign Up and we will get back to you.