I suggest to add gulp-styledown to radix :
https://www.npmjs.com/package/gulp-styledown

It allows to generate a documentation for Front-end developers :

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mehdi.najeddine created an issue. See original summary.

mehdi.najeddine’s picture

Title: Genearate Styleguide » Generate Styleguide
mehdi.najeddine’s picture

FileSize
1.27 KB

I tried to make a patch.

mehdi.najeddine’s picture

Need also to add "gulp-styledown": "0.0.2" in package.json

mehdi.najeddine’s picture

Status: Active » Needs review
shadcn’s picture

Thanks @mehdi.najeddine. I'll take a look at this.

I worked on a styleguide generator a few months back. You can take a look at the example here: https://github.com/arshad/radix_styleguide_example

mehdi.najeddine’s picture

Thank you @arshadcn, it's great !
I prefer to use gulp-styledown than styleguide but it's the same.
tell me if need something to change.

shadcn’s picture

Status: Needs review » Closed (outdated)

Closing this as outdated. Feel free to reopen if not. Thank you.

donquixote’s picture

Status: Closed (outdated) » Active
Related issues: +#2698005: Living styleguide

A style guide is still a desirable thing to have in Radix sub-themes. No reason why this should be considered outdated.
I am also reopening #2698005: Living styleguide which seems to have the same or a similar purpose. We can then decide which of them is a duplicate, if any.

Radix has moved from gulp to laravel-mix, so whatever was done in the example probably needs updating or rethinking.