All Projects → aigis-styleguide → Aigis

aigis-styleguide / Aigis

CSS Styleguide Generator

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Aigis

Javascript Style Guide
Airbnb JavaScript 스타일 가이드
Stars: ✭ 132 (-46.34%)
Mutual labels:  style-guide
Style Guide
📘 Rules of Play @ RIDI
Stars: ✭ 187 (-23.98%)
Mutual labels:  style-guide
Stylemark
Generate interactive style guides from Markdown.
Stars: ✭ 217 (-11.79%)
Mutual labels:  style-guide
Style Guide
🎨 Brainly Front-End Style Guide
Stars: ✭ 139 (-43.5%)
Mutual labels:  style-guide
Ue4 Style Guide
An attempt to make Unreal Engine 4 projects more consistent
Stars: ✭ 2,656 (+979.67%)
Mutual labels:  style-guide
Rails Style Guide
📗 Russian Version: A community-driven Rails 3 & 4 & 5 style guide.
Stars: ✭ 189 (-23.17%)
Mutual labels:  style-guide
Clean Go Article
A reference for the Go community that covers the fundamentals of writing clean code and discusses concrete refactoring examples specific to Go.
Stars: ✭ 1,911 (+676.83%)
Mutual labels:  style-guide
Livingcss
Parse comments in your CSS to generate a living style guide using Markdown, Handlebars, Polymer, and Prism syntax highlighter.
Stars: ✭ 237 (-3.66%)
Mutual labels:  style-guide
Eslint Config Standard
ESLint Config for JavaScript Standard Style
Stars: ✭ 2,229 (+806.1%)
Mutual labels:  style-guide
Stylify Me
Website style analyzer for designers. This is the service part that does the analyzation etc.
Stars: ✭ 210 (-14.63%)
Mutual labels:  style-guide
Styleguide Generators
An overview of automatic living styleguide generators
Stars: ✭ 1,902 (+673.17%)
Mutual labels:  style-guide
Guidelines.spatie.be
The guidelines used at our company
Stars: ✭ 169 (-31.3%)
Mutual labels:  style-guide
Style
The tidyverse style guide for R code
Stars: ✭ 201 (-18.29%)
Mutual labels:  style-guide
React Redux Typescript Guide
The complete guide to static typing in "React & Redux" apps using TypeScript
Stars: ✭ 11,621 (+4623.98%)
Mutual labels:  style-guide
Codelyzer
Static analysis for Angular projects.
Stars: ✭ 2,436 (+890.24%)
Mutual labels:  style-guide
Ruby Style Guide
Shopify’s Ruby Style Guide
Stars: ✭ 127 (-48.37%)
Mutual labels:  style-guide
Frontend Nanodegree Styleguide Zh
优达学城(Udacity)前端样式指南
Stars: ✭ 188 (-23.58%)
Mutual labels:  style-guide
Write Readable Javascript Code
📖 All about writing maintainable JavaScript
Stars: ✭ 244 (-0.81%)
Mutual labels:  style-guide
Ios Style
Guidelines for iOS development in use at Spotify
Stars: ✭ 233 (-5.28%)
Mutual labels:  style-guide
Codestyle
JavaScript and TypeScript Style Guide
Stars: ✭ 207 (-15.85%)
Mutual labels:  style-guide

⚠️ This project is no longer maintained. ⚠️

However you can use aigis to generate styleguide.

aigis

Aigis is a Node.js package that parses comments in your CSS and auto-generate a style guide.

See the Full-documents aigis-styleguide.github.io/aigis/docs/ (This documents was generated by aigis. 🔗source

Installation

$ npm install --save-dev node-aigis

You can verify node-aigis was installed correctly by running:

$ ./node_modules/.bin/aigis -v
$ 1.x.x

Config file & HTML Templates

aigis require "Config file" & "HTML Templates".

aigis init

This will create an aigis_config.yml file (more on this below)

$ ./node_modules/.bin/aigis init
Created the following files and directories:
  aigis_config.yml
  aigis_assets
  template_ejs

Choose Template Engine

You can choose The following Template engines for generating style guide.

  • EJS(ejs
  • Jade(jade
  • Handlebars(hbs

When you run aigis init, add --engine option.

e.g) choose jade

$ ./node_modules/.bin/aigis init --engine jade

Config file

After aigis init, edit aigis_config.yml. You have to write relative path to your source files on source.

source:
  - ./lib/css
  - ./style.css

Initially, the configuration file contains source: aigis_assets, You can run aigis run then generate sample style guide.

Adding comments

Write following code on CSS comment block (/* ~ */)

It's easy to add Comments. For example.

---
name: base button
category: module/button
---

## This is base button

* Base button style.
* Use `a` or `button` tag.

```html
<a class="btn">Button</a>
```

Running aigis

You're finally ready to generate a style guide!

$ ./node_modules/.bin/aigis run -c ./aigis_config.yml

Then you get following output.

sample

More

See the documents

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].