Skip to content

lottec/AlfieBrooks.github.io

Repository files navigation

Sky Developers Portal

A developers portal, in the open. For developers at Sky (past, present and future) and by developers at Sky.

So, you want to write a blog post?

Great! You really should and it's easy to do. Don't get put off if you've never done this sort of thing before.

You'll need to do a little bit of work with GitHub as our approval process uses the standard GitHub pull request process.

Getting Started

For those familiar with git and github pull requests, skip forward to installing Jekyll.

gem install jekyll
  • Run jekyll from within your cloned project
jekyll serve

Steps to write a blog post

  • Posts can be viewed either internally or externally. All external posts can be viewed from an internal source, but internal posts cannot be viewed from an external source.

  • To create a new internal post, create a file in the internal/_posts directory. To create a new external post, create a file in the external/_posts directory. Each file should take the format YYYY-MM-DD-.markdown. As an example “2015-04-13-hello-world”

  • Open the file and include the following header

---
layout: post
title:  “title”
date:   YYYY-MM-DD HH:MM:SS
author: First Last
categories: blog category
image: a link to an image to be used
excerpt: “An excerpt you want to appear in the blog summary screen”
---

An example is as follows:-

---
layout: post
title:  "Sky at Google I/O"
date:   2015-05-12 08:52:19
author: Donald Knuth
categories: conferences
image: images/test.png
excerpt: "Sky are attending Google I/O - here's what we're planning to see any why"
---
  • Write your awesome post using standard markup. See the examples or documentation. If you're running Jekyll, the site will automatically update on saving your post.

  • Add, commit and push your post

  • Create a pull request into master. Then wait for it to be merged. It will automatically appear on developers.sky.com once merged.

  • Posts that are destined for external viewing will likely take longer to be reviewed, as the post will go through an approval process to ensure it conforms against the guidelines.

A quick note on images

Images can either be served from an external location (in which case, include the full url). Alternatively, add them to the “images/blogs” directory. They’ll then appear in images/blogs/

Steps to create an event

  • Create your talk in the event.json file, ensuring you follow the chronological order (earliest first). If you're running Jekyll, the site will automatically update on saving your post.

  • Your event should follow the following format:

"title": "The title of your event",
"link": "A link to your event page / talk",
"date": "The date range of your event",
"image": "A thumbnail image for your event that will appear in the carousel, preferably in the ratio 16:9",
"banner": "A banner image for your event that displays above the carousel when your tile is the primary focus",
"description": "A description of your event that appears inside the panel. This should be written in HTML inside these quotes"

A quick note on images

Images can either be served from an external location (in which case, include the full url). Alternatively, add them to the “images/events/{banner|logo}" directory. They’ll then appear in images/events/{banner|logo}/

Steps to post a talk we've given

  • Create your event in the talk.json file, ensuring you follow the chronological order (latest first). If your event also still appears in 'events.json', please remove it. If you're running Jekyll, the site will automatically update on saving your post.

  • Your talk should follow the following format:

"title": "The title of your talk",
"author": "The speaker at your talk",
"link": "A link (if available) to the talk website",
"date": "The date of your talk",
"description": "A description of your talk that appears inside the panel. This should be written in HTML inside these quotes",
"videoType": "The type of your video. Use 'youtube' or '{other provider}'
"video": "YouTube: Please include only the link provided with your 'emdeded' code. You do not need to provide the iframe information. Other Provider: Please provide the embedded code for your video, with the following styling: "style='width:100%;height:515px'"",
"image": "A thumbnail image for your talk that will appear in the tile, preferably in the ratio 16:9"

A quick note on images

Images can either be served from an external location (in which case, include the full url). Alternatively, add them to the “images/events/logo" directory. They’ll then appear in images/events/logo/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published