Coder Social home page Coder Social logo

mockra / ember-community-versions Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mixonic/ember-community-versions

0.0 2.0 0.0 92 KB

Version compatibility information for Ember community resources

Home Page: http://mixonic.github.io/ember-community-versions/

HTML 30.98% CSS 69.02%

ember-community-versions's Introduction

Web content never expires. A blog post written in 2011 will live on in search engine results for years.

Ember.js, the JavaScript framework for ambitious apps, has already been around for several years. This means the Internet is littered with content and posts that were accurate at the time, but have since been obsoleted.

To ensure old content gets properly flagged, with no effort needed by the author, we've created a GitHub-driven badge service. See the user-friendly website for more details on the general idea.

Updating a badge

Badges are stored as Jekyll posts. For example, the badge for this blog post:

Is stored at:

Versioning informations is store in the YAML front-matter of that post:

---
layout: post
url: http://madhatted.com/2015/5/14/ember-js-2-0-preview-with-canary
title: "Previewing Ember 2.0 on Canary"
date: 2015-05-13
start_version: 1.13
end_version: 2.0 # end_version is optional
---

To update the badge (as seen the blog post at madhatted.com), open a PR changing the YAML front-matter.

Creating a badge

To create and embed a badge, first author a Jekyll post with the version information as exists. Most badges are likely to be for current content, and thus may only have a start_version property.

To embed your badge, use the filename to determine the badge URL. For example this filename:

_posts/2015-05-13-previewing-ember-2-0-on-canary.md

Is used as a badge with the following markup:

<iframe
  width="178" height="24" style="border:0px"
  src="http://mixonic.github.io/ember-community-versions/2015/05/13/previewing-ember-2-0-on-canary.html">
</iframe>

Please help ensure your own blog posts are correctly flagged by add a badge when you publish.

Linking to a URL that does not exist, such as before your PR with the new badge is merged, will simply result in a blank space. As soon as the PR is merged and GitHub pages updates, the badge will appear.

ember-community-versions's People

Contributors

mixonic avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.