Simplify the generator. Reduce to 1 variation

Created on 21 December 2022, over 1 year ago
Updated 13 July 2023, 12 months ago

Problem/Motivation

Currently making changes to the generator is very time consuming and even tough it is great having multiple options, the users of the generator only use the starter variant.

The demo variation is also used on a demo website, but the approach on how this demo theme is built should be revised, probably by leveraging the css variables, something for a later date.

Existing structure:
BASE β†’ MINIMAL
BASE β†’ MINIMAL β†’ STARTER
BASE β†’ MINIMAL β†’ STARTER β†’ FLEX
BASE β†’ MINIMAL β†’ STARTER β†’ FLEX β†’ DEMO

Proposed resolution

Simplify the structure to have only STARTER

The way this would be accomplished is quite straight forward:
* Move and overwrite STARTER files on top of MINIMAL
* Move and overwrite MINIMAL files on top of BASE
* Rename BASE to STARTER

* Move and overwrite DEMO on top of FLEX
* Rename FLEX to demo

* Move any features from DEMO that are relevant to keep into STARTER

* Clean up /scripts/generate-theme.php to remove the options for minimal, flex and demo

* Update the rocketship d.o page to remove the options for minimal, flex and demo

Outcome

This change will provide us with a simpler code base that will allow us a faster iteration and evolution of the rocketship theme.
This could justify a version 4.x of the theme

Warning

This is a major change, so any other ongoing work will need to be adjusted once this change is in place

✨ Feature request
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡΅πŸ‡ΉPortugal Jolidog

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024