jannikbuschke / gatsby-antd-docs

A gatsby starter for a technical documentation website
https://www.jannikbuschke.de/gatsby-antd-docs/
MIT License
68 stars 21 forks source link

Strategies for working on this template/boilerplate project while also working on concrete/specific instances #10

Open jannikbuschke opened 5 years ago

jannikbuschke commented 5 years ago

Does anyone have a good setup to "simultaneously" work on a specific website while also contributing to this repository?

Currently I am experimenting with multiple git remotes/upstreams. I.e. origin is a specific project while upstream is this repo. In the specific project I probably mostly just work in the /contents/ markdown files, while when I do something somewhere else I would need to figure out if this is something for everyone and then add it to the upstream project.

wagnerjt commented 5 years ago

Ahh I see. If you forked the templates project to start it out, you could have your upstream target be this template. In your case, it makes sense that origin is the site that you are adding content to.

So if you make changes to your core template, components, styling, etc, you could just merge or cherry pick those commits back and push to your upstream.

I'm not doing it personally since I have removed a number of dependencies and unused files. But I might just do it :)