pandafeeder / yargs.github.io

the yargs.js.org website.

Home Page:http://yargs.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#yargs.js.org

Build Status

www for Yargs, your favourite CLI option parser

Setup

This site is built with jekyll. To get started ensure you have ruby. Then:

  1. Install bundler.
$ [sudo] gem install bundler
  1. cd into this repository

  2. Install the dependencies.

$ bundle install
  1. Run jekyll:
$ bundle exec jekyll serve
  1. Make changes && view them on http://localhost:4000

Running Tests

We use html-proofer to validate the HTML structure of the site generated by jekyll. To run tests:

bundle exec htmlproof ./_site --only-4xx --check-favicon --check-html

Directory structure:

Jekyll compiles directories in this repo to its own _site directory. You will see it when you run jekyll serve locally. Page files can be written in either .html or .md.

_includes/ -- These are you header/footer/head. They are then included in our basic layout.

docs/ -- Our docs page. Currently running using Flatdoc.

community/ -- Our community page. It is to be built out.

css/main.scss -- basic sass variables used accross site

_sass/ -- sass layouts and other files.

js/ -- our basic js. They are not automatically compiled, and need to be included under _includes/head.html

_posts/ -- blog posts.

License

ISC

About

the yargs.js.org website.

http://yargs.js.org

License:ISC License


Languages

Language:CSS 46.1%Language:HTML 45.2%Language:Ruby 8.4%Language:JavaScript 0.4%