Skip to content

htxsg/htxsg.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Contributing to DevXOps

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.

Using Jekyll Locally

  1. Pre-requisites:
  • you will need a GitHub account.
  • Jeyll requires Ruby. Install Ruby.
  1. Cloud the repo:
$ git clone https://github.com/htxsg/htxsg.github.io.git
  1. Install Dependancies with Bundler:
$ cd htxsg.github.io/docs
$ bundle install
  1. Generate the site with the following command:
$ bundle exec jekyll serve
  1. The site is now running locally on your computer. Navigate to http://127.0.0.1:4000/.

Registering as a contributor

  1. Go to the authors section in _config.yml to insert your record. The key will be the short name for example panyong.
    panyong:
      name:         Ng Pan Yong
      title:        The Cloud Guy    
      avatar:       avatar-py.jpg
  1. Place your avatar in the directory /htxsg.github.io/docs/uploads/.

Writing a Blog Post

  1. Blog should be written in markdown format.

  2. Name your file yyyy-mm-dd-<name>.md

  3. Add Front matter to the start fo your markdown file. Here's an example:

---
title: Developer Machine
author: panyong
categories: [news, updates]
tags: featured
---
  1. Place your markdown file in the directory /htxsg.github.io/docs/_posts/.

Contributing to Documentation

  1. Doc should be written in markdown format.

  2. 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]
---
  1. Place your markdown file in the directory /htxsg.github.io/docs/_docs/.

  2. 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

More Information

Join as Contributor

Sign Up and we will get back to you.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published