Skip to content

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

Draft
longnd wants to merge 1 commit into
developfrom
feature/styleguide-add-on
Draft

Add an add-on to document & generate the style guide#124
longnd wants to merge 1 commit into
developfrom
feature/styleguide-add-on

Conversation

@longnd

@longnd longnd commented Sep 21, 2021

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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