Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 :
Comment | File | Size | Author |
---|---|---|---|
#3 | styleguide.patch | 1.27 KB | mehdi.najeddine |
Capture d’écran 2017-08-13 à 21.17.38.png | 129.06 KB | mehdi.najeddine |
Comments
Comment #2
mehdi.najeddine CreditAttribution: mehdi.najeddine commentedComment #3
mehdi.najeddine CreditAttribution: mehdi.najeddine commentedI tried to make a patch.
Comment #4
mehdi.najeddine CreditAttribution: mehdi.najeddine commentedNeed also to add "gulp-styledown": "0.0.2" in package.json
Comment #5
mehdi.najeddine CreditAttribution: mehdi.najeddine commentedComment #6
shadcn CreditAttribution: shadcn at Chapter Three commentedThanks @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
Comment #7
mehdi.najeddine CreditAttribution: mehdi.najeddine commentedThank 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.
Comment #8
shadcn CreditAttribution: shadcn at Chapter Three commentedClosing this as outdated. Feel free to reopen if not. Thank you.
Comment #9
donquixote CreditAttribution: donquixote commentedA 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.