Giter Site home page Giter Site logo

ohrite / style-guide Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pivotalexperimental/style-guide

0.0 2.0 0.0 2.39 MB

A mountable Rails engine where you curate and view your site's visual elements.

Home Page: http://swivel.herokuapp.com/style-guide

License: MIT License

Ruby 13.34% JavaScript 24.20% CSS 62.45% Shell 0.01%

style-guide's Introduction

Style Guide Build Status Dependency Status Code Climate

Style Guide is a mountable Rails engine where you curate and view your site's visual elements.

Tutorials on important topics, such as creating your own Style Guide sections, writing documentation for visual elements and more can be found in the Style Guide wiki.

Features

  • Simple: just directories of partials
  • Responsive: see how everything looks on a mobile device
  • Live: file changes are presented immediately when using LiveReload
  • Documentation-aware: each partial can be documented with an i18n scope

Anti-Features

  • Not a Layout Guide: visual elements should not be composed
  • Not a linting tool: no warnings or errors are displayed
  • Curated, not magic: providing fake data for partials is not covered

Example

You can see an example of Style Guide at swivel's automatically-deployed testing instance: http://swivel.herokuapp.com

Installation

The simplest way to install Style Guide is to use Bundler.

Add Style Guide to your Gemfile:

group :development do
  gem 'style-guide'
end

Then, use Bundler to install the gem and its dependencies:

$ bundle install

Last, run the Rails generator to configure your app:

$ rails g style_guide:install

The generator will install guard-livereload and rack-livereload.

Consult the Style Guide wiki for more information about what the generator does.

Contributing

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it. This is important because breaking your feature in a future version unintentionally is sad.
  • Issue a pull request. Bonus points for topic branches.

Authors

  • Doc Ritezel
  • Ofri Afek

Contributors

  • Rob Head
  • Can Berk Güder
  • Dennis Schmidt

Special Thanks

License

See LICENSE for more information.

style-guide's People

Contributors

ohrite avatar pivotalcommon avatar

Watchers

 avatar James Cloos 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.