npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

yuidoc-ember

v0.0.3

Published

Generates documentation using YUIDoc comments from the application or addon

Downloads

4

Readme

Yuidoc-Ember

This is an ember-cli addon inspired from ember-cli-yuidoc. This addon generates html documentation by using YUIDoc.

For reference to the comment syntax of YUIDoc. Please visit YUIDoc - JavaScript Documentation Tool page.

Installation

The addon is built using [email protected]. To install the addon just run ember install yuidoc-ember.

Make sure two files yuidoc.json and yuiserver.json files are generated in your root folder and if not present run ember g yuidoc-ember for generating them.

Running the ember g yuidoc-ember would overwrite the files to have default values.

Usage

The addon only generates docs when ember is running in development or test mode depending on the options provided in yuidoc.json

Generating docs

The generation of doc is enabled by default for development and test.

To disable the generation of docs in either of the environment go to yuidoc.json file present in the application's root folder and remove the environment type from options.enabledEnvironments array.

To disable the generation of doc totally, remove the property options.enabledEnvironments from yuidoc.json file

To see the full list of available options that can be included in the options hash of yuidoc.json to mainpulate the generation of docs click here

Hosting the docs

The hosting of the docs can only be done when ember development or test server is running. The generated docs by default would be generated and hosted on http://127.0.0.1:4462. By default the docs are hosted for both development and test environments.

The hosting of the docs can be stopped for a particular environment by removing the environment type value from the options.hostDocsFor array of yuiserver.json file present in the application root directory. The hosting can be entirely stopped by emptying or removing the property options.hostDocsFor from yuiserver.json file.

By default the port where the docs would be hosted on http://127.0.0.1 is 4462.

{
  "name": "application name",
  "version": "1.2.3",
  "options": {
    // Remove the environment type for disabling the hosting of docs in that environment from "hostDocsFor"
    // Removing the property itself would stop hosting the docs in both development and test environment
    "hostDocsFor": ["development", "test"], 
    "port": 4462 //port where the docs would be generated, To change the port, update this property.
  }
}