Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an add-on to document & generate the style guide #124

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

longnd
Copy link
Contributor

@longnd longnd commented Sep 21, 2021

What happened

This PR create a new Styleguide add-on for the web project. It will integrate the KSS-node package to document and generate the living style guide.

Insight

  • Define a new KSS-node package in package.json
  • Define a new script in package.json to generate the style guide
    styleguide.generate": "kss --config .kss-config.json
    
  • Generate the configuration file at assets/.kss-config.json
  • Edit the endpoint.ex file to allow the webserver to server the priv/static/styleguide directory as the style guide will be generated and stored there.

Proof Of Work

Screen Shot 2021-09-20 at 22 35 53

@andyduong1920
Copy link
Member

Hi @longnd will we continue on this addon 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants