dxw / playbook

How we do things at dxw
https://playbook.dxw.com
Other
40 stars 49 forks source link

Share code between playbook and accessibility manual #1338

Open yndajas opened 4 months ago

yndajas commented 4 months ago

This is an exploratory issue. Can we share code between the playbook and accessibility manual? This would help us maintain feature parity between the two sites

Git submodules are an option, but not one that many developers enjoy working with!

We might want to share the contents of the following folders, while allowing for customisation (e.g. to have a different colour scheme between the two sites; to use a Jekyll variable to populate the site name):

We could also share these, as well as some of the root folder config files:

Some of this would be duplicated, but copying some YAML but not all of it from other files might be painful:

This would close #1337, https://github.com/dxw/accessibility-manual/issues/143, https://github.com/dxw/accessibility-manual/issues/144, and https://github.com/dxw/accessibility-manual/issues/145


Note that we are open to exploring new platforms for the playbook in future, so we should be mindful of not overengineering a solution to the duplication and parity problem if it ends up being a short term one