Skip to content

FSGpilot/frontend-styleguide

Repository files navigation

Repository for the documentation site for the Frontend styleguide - version 2.0.0

This repo includes code and documentation for the Frontend Styleguide. This styleguide is based on U.S. Web Design Standards.

The documentation site can be found here.

The components project can be found here.

Running locally

The Style Guide documentation is built using Jekyll for the file framework, gulp for task management, and the node module for the Standards.

Before you start

You will need to have the following installed on your machine before following the commands below:

  1. Ruby v2.2.2+, Installation guides
  2. Node v4.2.3+, Installation guides
  3. Bundler v1.12.3+, Installation guides

Building the documentation with gulp

Some parts of the documentation are built using gulp.

To work on the site, switch to your local copy of the repository in terminal then run the following command to install project dependencies:

npm install

Now that all of your dependencies are installed, you can run your local server by running the following command:

npm start

Go to 127.0.0.1:4000 in your browser — you should be viewing a local instance.

Here are a few other utility commands you may find useful:

  • npm run clean: Cleans out copied-over dependency assets.

  • npm run lint: Runs eslint and sass-lint against JavaScript and Sass files.

  • npm test: Runs npm run lint and can also be used to run any tests.

  • npm run watch: Runs a series of commands that watches for any changes in both the Standards node module and the root level asset folders in this repo.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published