This is the repository that contains the content for blogs located at https://developer.mypurecloud.com/blog/. New Blogs are accepted through pull requests.
- Fork this repository to your own github account.
- Create a new folder for your article following the pattern YYYY-MM-DD-title
- Create a index.html.markdown file in your new folder and write your article in this file. See below for required properties at the start of the file.
- Create an author bio (see below).
- Run locally to make sure formatting looks correct (Optional but recommended)
- Submit a pull request back to origin master
- Blog posts must be related to PureCloud in some way
- No private/sensitive/NDA-required information; All content will be visible publicly on the internet.
- The target audience for the blog is prospective and existing PureCloud customers with an entry-level to expert technical background. All blog posts should be at least somewhat technical in nature.
- If appropriate, try to include 1-3 images to make the blog post more visually appealing.
- Keep it professional; lighthearted humor is fine, but no cursing, politics, or NSFW content.
- Don't use h1 headers in your article, the title is inserted as a h1 and any section headers below that should start at h2 (markdown ##)
- Code blocks should be surrounded by ~~~ unlike the backticks used in Github Markdown
- Images can be included in your article folder and included in markdown using ~~~~~~
Each index.html.markdown file starts off with a couple required parameters which contain metadata about the article such as:
---
title: article
date: YYYY-MM-DD
tags: tag1, tag2
author: joe@example.com
---
Where
Parameter | Description |
---|---|
title | Article title |
date | YYYY-MM-DD formatted date, this date should match the date specified in the containing folder. This should be the current date or earlier. |
tags | comma separated list of tags that apply to the article |
author | The email address of the author |
Author bios are injected to the bottom of the analytics page. To add your author bio, edit data/authors.yml the valid properties that you can use are.
Parameter | Description |
---|---|
(required) Email address of the author | |
name | (required) Author name |
title | (optional) Job title of the author |
company | (optional) Company of the author |
(optional) Author's twitter handle (exclude the @) | |
bio | (required) Author bio describing who they are and what qualifications they have to be a SME. |
To run locally, you first need Ruby installed as well as Bundler.
- Pull the repo locally,
cd
into the directory - Run
bundle install
to grab all the needed ruby gems. - Run
startServer.sh
orbundle exec middleman server
. This will start a web app running on port 4567 using the same markdown engine that is used a build time. There will not be any css styling with this local site as we store all those assets in a different repository.