Socket
Socket
Sign inDemoInstall

ember-ted-docs

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-ted-docs

The default blueprint for ember-cli addons.


Version published
Maintainers
2
Created
Source

Ember TED Docs

Components for writing docs sites for your open-source projects at TED.

Demo

Requirements

This is an Ember addon, so it assumes you'll be creating your docs site as an Ember app.

Documenting an Ember addon

You already have an Ember app under /tests/dummy, so you can just use that for your docs site. There's also a great addon that makes it easy to deploy this app to GitHub Pages.

Documenting another project

You'll be making a new Ember app for your docs. Install Ember CLI if you haven't already. Then, from your project's repo, check out an orphaned branch and create an Ember appj

git checkout --orphan docs
git clean -fd  # this removes the working files in your directory
ember init

and you're ready to go!

Installation

Install the following addons:

ember install ember-cli-sass
bower install --save bootstrap-sass
ember install ember-ted-docs

and import Bootstrap and TED docs' styles (you may need to rename app.css to app.scss:

<!-- tests/dummy/app/styles/app.scss -->
@import 'bower_components/bootstrap-sass/assets/stylesheets/bootstrap';
@import 'ember-ted-docs/styles';

Now ember s and develop your docs using the components below.

Usage

In your template you can now use the <ted-page-header> component:

{{ted-page-header
  subheading='My'
  slim-heading='Awesome'
  strong-heading='Library'
  byline='The best, most amazing thing to happen to anyone, anywhere'
  github='http://github.com/tedconf/ember-ted-docs'}}

and here's what you get:

Demo

Now, go forth and document!

Keywords

FAQs

Package last updated on 28 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc